brintos

brintos / linux-shallow public Read only

0
0
Text · 586 B · d1220e7 Raw
31 lines · c
1/* SPDX-License-Identifier: MIT */2/*3 * Copyright © 2023-2024 Intel Corporation4 */5 6#ifndef _XE_SRIOV_PF_H_7#define _XE_SRIOV_PF_H_8 9#include <linux/types.h>10 11struct drm_printer;12struct xe_device;13 14#ifdef CONFIG_PCI_IOV15bool xe_sriov_pf_readiness(struct xe_device *xe);16int xe_sriov_pf_init_early(struct xe_device *xe);17void xe_sriov_pf_print_vfs_summary(struct xe_device *xe, struct drm_printer *p);18#else19static inline bool xe_sriov_pf_readiness(struct xe_device *xe)20{21	return false;22}23 24static inline int xe_sriov_pf_init_early(struct xe_device *xe)25{26	return 0;27}28#endif29 30#endif31