| 1 | /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ |
| 2 | /* Copyright(c) 2021 Intel Corporation */ |
| 3 | #ifndef ADF_PFVF_VF_PROTO_H |
| 4 | #define ADF_PFVF_VF_PROTO_H |
| 5 | |
| 6 | #include <linux/types.h> |
| 7 | #include "adf_accel_devices.h" |
| 8 | |
| 9 | int adf_send_vf2pf_msg(struct adf_accel_dev *accel_dev, struct pfvf_message msg); |
| 10 | int adf_send_vf2pf_req(struct adf_accel_dev *accel_dev, struct pfvf_message msg, |
| 11 | struct pfvf_message *resp); |
| 12 | int adf_send_vf2pf_blkmsg_req(struct adf_accel_dev *accel_dev, u8 type, |
| 13 | u8 *buffer, unsigned int *buffer_len); |
| 14 | |
| 15 | int adf_enable_vf2pf_comms(struct adf_accel_dev *accel_dev); |
| 16 | |
| 17 | #endif /* ADF_PFVF_VF_PROTO_H */ |
| 18 | |