Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.19-rc8 43 lines 906 B view raw
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2023-2024 Intel Corporation 4 */ 5 6#ifndef _XE_GT_SRIOV_PF_H_ 7#define _XE_GT_SRIOV_PF_H_ 8 9struct xe_gt; 10 11#ifdef CONFIG_PCI_IOV 12int xe_gt_sriov_pf_init_early(struct xe_gt *gt); 13int xe_gt_sriov_pf_init(struct xe_gt *gt); 14int xe_gt_sriov_pf_wait_ready(struct xe_gt *gt); 15void xe_gt_sriov_pf_init_hw(struct xe_gt *gt); 16void xe_gt_sriov_pf_sanitize_hw(struct xe_gt *gt, unsigned int vfid); 17void xe_gt_sriov_pf_stop_prepare(struct xe_gt *gt); 18void xe_gt_sriov_pf_restart(struct xe_gt *gt); 19#else 20static inline int xe_gt_sriov_pf_init_early(struct xe_gt *gt) 21{ 22 return 0; 23} 24 25static inline int xe_gt_sriov_pf_init(struct xe_gt *gt) 26{ 27 return 0; 28} 29 30static inline void xe_gt_sriov_pf_init_hw(struct xe_gt *gt) 31{ 32} 33 34static inline void xe_gt_sriov_pf_stop_prepare(struct xe_gt *gt) 35{ 36} 37 38static inline void xe_gt_sriov_pf_restart(struct xe_gt *gt) 39{ 40} 41#endif 42 43#endif