xref: /linux/drivers/gpu/drm/xe/xe_sriov_pf_control.h (revision d30c1683aaecb93d2ab95685dc4300a33d3cea7a)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2025 Intel Corporation
4  */
5 
6 #ifndef _XE_SRIOV_PF_CONTROL_H_
7 #define _XE_SRIOV_PF_CONTROL_H_
8 
9 struct xe_device;
10 
11 int xe_sriov_pf_control_pause_vf(struct xe_device *xe, unsigned int vfid);
12 int xe_sriov_pf_control_resume_vf(struct xe_device *xe, unsigned int vfid);
13 int xe_sriov_pf_control_stop_vf(struct xe_device *xe, unsigned int vfid);
14 int xe_sriov_pf_control_reset_vf(struct xe_device *xe, unsigned int vfid);
15 int xe_sriov_pf_control_wait_flr(struct xe_device *xe, unsigned int vfid);
16 int xe_sriov_pf_control_sync_flr(struct xe_device *xe, unsigned int vfid);
17 int xe_sriov_pf_control_trigger_save_vf(struct xe_device *xe, unsigned int vfid);
18 int xe_sriov_pf_control_finish_save_vf(struct xe_device *xe, unsigned int vfid);
19 int xe_sriov_pf_control_trigger_restore_vf(struct xe_device *xe, unsigned int vfid);
20 int xe_sriov_pf_control_finish_restore_vf(struct xe_device *xe, unsigned int vfid);
21 
22 #endif
23