• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */
2 /* Copyright(c) 2021 Intel Corporation */
3 #ifndef ADF_GEN4_PFVF_H
4 #define ADF_GEN4_PFVF_H
5 
6 #include "adf_accel_devices.h"
7 
8 #ifdef CONFIG_PCI_IOV
9 void adf_gen4_init_pf_pfvf_ops(struct adf_pfvf_ops *pfvf_ops);
10 #else
adf_gen4_init_pf_pfvf_ops(struct adf_pfvf_ops * pfvf_ops)11 static inline void adf_gen4_init_pf_pfvf_ops(struct adf_pfvf_ops *pfvf_ops)
12 {
13 	pfvf_ops->enable_comms = adf_pfvf_comms_disabled;
14 }
15 #endif
16 
17 #endif /* ADF_GEN4_PFVF_H */
18