Linux Audio

Check our new training course

Loading...
Note: File does not exist in v5.4.
 1/* SPDX-License-Identifier: MIT */
 2/*
 3 * Copyright © 2023-2024 Intel Corporation
 4 */
 5
 6#ifndef _XE_GT_SRIOV_VF_H_
 7#define _XE_GT_SRIOV_VF_H_
 8
 9#include <linux/types.h>
10
11struct drm_printer;
12struct xe_gt;
13struct xe_reg;
14
15int xe_gt_sriov_vf_bootstrap(struct xe_gt *gt);
16int xe_gt_sriov_vf_query_config(struct xe_gt *gt);
17int xe_gt_sriov_vf_connect(struct xe_gt *gt);
18int xe_gt_sriov_vf_query_runtime(struct xe_gt *gt);
19int xe_gt_sriov_vf_prepare_ggtt(struct xe_gt *gt);
20
21u32 xe_gt_sriov_vf_gmdid(struct xe_gt *gt);
22u16 xe_gt_sriov_vf_guc_ids(struct xe_gt *gt);
23u64 xe_gt_sriov_vf_lmem(struct xe_gt *gt);
24u32 xe_gt_sriov_vf_read32(struct xe_gt *gt, struct xe_reg reg);
25void xe_gt_sriov_vf_write32(struct xe_gt *gt, struct xe_reg reg, u32 val);
26
27void xe_gt_sriov_vf_print_config(struct xe_gt *gt, struct drm_printer *p);
28void xe_gt_sriov_vf_print_runtime(struct xe_gt *gt, struct drm_printer *p);
29void xe_gt_sriov_vf_print_version(struct xe_gt *gt, struct drm_printer *p);
30
31#endif