File Index
Files and directories
Sign in
FILE

adf_gen4_pfvf.h

File preview with syntax highlighting.

linux-6.19.14/drivers/crypto/intel/qat/qat_common/adf_gen4_pfvf.h C
 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#include "adf_common_drv.h"
 8
 9#ifdef CONFIG_PCI_IOV
10void adf_gen4_init_pf_pfvf_ops(struct adf_pfvf_ops *pfvf_ops);
11#else
12static inline void adf_gen4_init_pf_pfvf_ops(struct adf_pfvf_ops *pfvf_ops)
13{
14	pfvf_ops->enable_comms = adf_pfvf_comms_disabled;
15}
16#endif
17
18#endif /* ADF_GEN4_PFVF_H */
~/ Read-only file preview.