FILE
adf_pfvf_vf_msg.h
File preview with syntax highlighting.
linux-6.19.14/drivers/crypto/intel/qat/qat_common/adf_pfvf_vf_msg.h
1/* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ 2/* Copyright(c) 2021 Intel Corporation */ 3#ifndef ADF_PFVF_VF_MSG_H 4#define ADF_PFVF_VF_MSG_H 5 6#if defined(CONFIG_PCI_IOV) 7int adf_vf2pf_notify_init(struct adf_accel_dev *accel_dev); 8void adf_vf2pf_notify_shutdown(struct adf_accel_dev *accel_dev); 9void adf_vf2pf_notify_restart_complete(struct adf_accel_dev *accel_dev); 10int adf_vf2pf_request_version(struct adf_accel_dev *accel_dev); 11int adf_vf2pf_get_capabilities(struct adf_accel_dev *accel_dev); 12int adf_vf2pf_get_ring_to_svc(struct adf_accel_dev *accel_dev); 13#else 14static inline int adf_vf2pf_notify_init(struct adf_accel_dev *accel_dev) 15{ 16 return 0; 17} 18 19static inline void adf_vf2pf_notify_shutdown(struct adf_accel_dev *accel_dev) 20{ 21} 22#endif 23 24#endif /* ADF_PFVF_VF_MSG_H */
~/
Read-only file preview.