xref: /linux/include/linux/pds/pds_auxbus.h (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2023 Advanced Micro Devices, Inc */
3 
4 #ifndef _PDSC_AUXBUS_H_
5 #define _PDSC_AUXBUS_H_
6 
7 #include <linux/auxiliary_bus.h>
8 
9 struct pds_auxiliary_dev {
10 	struct auxiliary_device aux_dev;
11 	struct pci_dev *vf_pdev;
12 	u16 client_id;
13 };
14 
15 int pds_client_adminq_cmd(struct pds_auxiliary_dev *padev,
16 			  union pds_core_adminq_cmd *req,
17 			  size_t req_len,
18 			  union pds_core_adminq_comp *resp,
19 			  u64 flags);
20 #endif /* _PDSC_AUXBUS_H_ */
21