summaryrefslogtreecommitdiff
path: root/drivers/crypto/qat/qat_common/adf_transport.h
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2023-03-28 10:39:51 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2023-04-06 16:41:28 +0800
commita4b16dad46576ce08ecb660fc923d0857dcae107 (patch)
treec3f62f4cdbc8299f9a04f8c02778217a1526db8c /drivers/crypto/qat/qat_common/adf_transport.h
parent1bc7fdbf2677cc1866c025e5a393811ea8e25486 (diff)
crypto: qat - Move driver to drivers/crypto/intel/qat
With the growing number of Intel crypto drivers, it makes sense to group them all into a single drivers/crypto/intel/ directory. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat/qat_common/adf_transport.h')
-rw-r--r--drivers/crypto/qat/qat_common/adf_transport.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/crypto/qat/qat_common/adf_transport.h b/drivers/crypto/qat/qat_common/adf_transport.h
deleted file mode 100644
index e6ef6f9b7691..000000000000
--- a/drivers/crypto/qat/qat_common/adf_transport.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */
-/* Copyright(c) 2014 - 2020 Intel Corporation */
-#ifndef ADF_TRANSPORT_H
-#define ADF_TRANSPORT_H
-
-#include "adf_accel_devices.h"
-
-struct adf_etr_ring_data;
-
-typedef void (*adf_callback_fn)(void *resp_msg);
-
-int adf_create_ring(struct adf_accel_dev *accel_dev, const char *section,
- u32 bank_num, u32 num_mgs, u32 msg_size,
- const char *ring_name, adf_callback_fn callback,
- int poll_mode, struct adf_etr_ring_data **ring_ptr);
-
-bool adf_ring_nearly_full(struct adf_etr_ring_data *ring);
-int adf_send_message(struct adf_etr_ring_data *ring, u32 *msg);
-void adf_remove_ring(struct adf_etr_ring_data *ring);
-#endif