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 9 struct xe_gt; 10 11 #ifdef CONFIG_PCI_IOV 12 int xe_gt_sriov_pf_init_early(struct xe_gt *gt); 13 void xe_gt_sriov_pf_init_hw(struct xe_gt *gt); 14 #else 15 static inline int xe_gt_sriov_pf_init_early(struct xe_gt *gt) 16 { 17 return 0; 18 } 19 20 static inline void xe_gt_sriov_pf_init_hw(struct xe_gt *gt) 21 { 22 } 23 #endif 24 25 #endif 26