summaryrefslogtreecommitdiff
path: root/include/linux/pds/pds_auxbus.h
blob: 214ef12302d056afb2660eebecc7af48263ec2f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright(c) 2023 Advanced Micro Devices, Inc */

#ifndef _PDSC_AUXBUS_H_
#define _PDSC_AUXBUS_H_

#include <linux/auxiliary_bus.h>

struct pds_auxiliary_dev {
	struct auxiliary_device aux_dev;
	struct pci_dev *vf_pdev;
	u16 client_id;
};

int pds_client_adminq_cmd(struct pds_auxiliary_dev *padev,
			  union pds_core_adminq_cmd *req,
			  size_t req_len,
			  union pds_core_adminq_comp *resp,
			  u64 flags);
#endif /* _PDSC_AUXBUS_H_ */