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.12-rc2 30 lines 550 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); 13void xe_gt_sriov_pf_init_hw(struct xe_gt *gt); 14void xe_gt_sriov_pf_restart(struct xe_gt *gt); 15#else 16static inline int xe_gt_sriov_pf_init_early(struct xe_gt *gt) 17{ 18 return 0; 19} 20 21static inline void xe_gt_sriov_pf_init_hw(struct xe_gt *gt) 22{ 23} 24 25static inline void xe_gt_sriov_pf_restart(struct xe_gt *gt) 26{ 27} 28#endif 29 30#endif