Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / vdpa / pds / cmds.h
blob6b1bc33356b090319fd65bcf81ce4d3a21724f1b
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright(c) 2023 Advanced Micro Devices, Inc */
4 #ifndef _VDPA_CMDS_H_
5 #define _VDPA_CMDS_H_
7 int pds_vdpa_init_hw(struct pds_vdpa_device *pdsv);
9 int pds_vdpa_cmd_reset(struct pds_vdpa_device *pdsv);
10 int pds_vdpa_cmd_set_status(struct pds_vdpa_device *pdsv, u8 status);
11 int pds_vdpa_cmd_set_mac(struct pds_vdpa_device *pdsv, u8 *mac);
12 int pds_vdpa_cmd_set_max_vq_pairs(struct pds_vdpa_device *pdsv, u16 max_vqp);
13 int pds_vdpa_cmd_init_vq(struct pds_vdpa_device *pdsv, u16 qid, u16 invert_idx,
14 struct pds_vdpa_vq_info *vq_info);
15 int pds_vdpa_cmd_reset_vq(struct pds_vdpa_device *pdsv, u16 qid, u16 invert_idx,
16 struct pds_vdpa_vq_info *vq_info);
17 #endif /* _VDPA_CMDS_H_ */