Skip to contentSkip to conversation

crypto: Intel QAT driver driver framework

RFC PATCH In review Tadeusz Struk 1 participant 1 message Jun 3, 2014 Crypto API

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/4 crypto: Intel QAT driver driver framework

This patch adds a common infractructure that will be used by all QAT devices.

---
 drivers/crypto/qat/qat_common/Makefile             |   11 +
 drivers/crypto/qat/qat_common/adf_accel_devices.h  |  204 ++++
 drivers/crypto/qat/qat_common/adf_accel_engine.c   |  168 ++++
 drivers/crypto/qat/qat_common/adf_aer.c            |  258 +++++
 drivers/crypto/qat/qat_common/adf_cfg.c            |  359 +++++++
 drivers/crypto/qat/qat_common/adf_cfg.h            |   87 ++
 drivers/crypto/qat/qat_common/adf_cfg_common.h     |  100 ++
 drivers/crypto/qat/qat_common/adf_cfg_strings.h    |   83 ++
 drivers/crypto/qat/qat_common/adf_cfg_user.h       |   94 ++
 drivers/crypto/qat/qat_common/adf_common_drv.h     |  192 ++++
 drivers/crypto/qat/qat_common/adf_ctl_drv.c        |  490 ++++++++++
 drivers/crypto/qat/qat_common/adf_dev_mgr.c        |  215 ++++
 drivers/crypto/qat/qat_common/adf_init.c           |  388 ++++++++
 drivers/crypto/qat/qat_common/adf_transport.c      |  565 +++++++++++
 drivers/crypto/qat/qat_common/adf_transport.h      |   63 ++
 .../qat/qat_common/adf_transport_access_macros.h   |  160 +++
 .../crypto/qat/qat_common/adf_transport_debug.c    |  301 ++++++
 .../crypto/qat/qat_common/adf_transport_internal.h |  115 +++
 drivers/crypto/qat/qat_common/icp_qat_fw.h         |  316 ++++++
 .../crypto/qat/qat_common/icp_qat_fw_init_admin.h  |  131 +++
 drivers/crypto/qat/qat_common/icp_qat_fw_la.h      |  403 ++++++++
 drivers/crypto/qat/qat_common/icp_qat_hw.h         |  305 ++++++
 drivers/crypto/qat/qat_common/qat_algs.c           | 1033 ++++++++++++++++++++
 drivers/crypto/qat/qat_common/qat_crypto.c         |  284 ++++++
 drivers/crypto/qat/qat_common/qat_crypto.h         |   83 ++
 25 files changed, 6408 insertions(+)
 create mode 100644 drivers/crypto/qat/qat_common/Makefile
 create mode 100644 drivers/crypto/qat/qat_common/adf_accel_devices.h
 create mode 100644 drivers/crypto/qat/qat_common/adf_accel_engine.c
 create mode 100644 drivers/crypto/qat/qat_common/adf_aer.c
 create mode 100644 drivers/crypto/qat/qat_common/adf_cfg.c
 create mode 100644 drivers/crypto/qat/qat_common/adf_cfg.h
 create mode 100644 drivers/crypto/qat/qat_common/adf_cfg_common.h
 create mode 100644 drivers/crypto/qat/qat_common/adf_cfg_strings.h
 create mode 100644 drivers/crypto/qat/qat_common/adf_cfg_user.h
 create mode 100644 drivers/crypto/qat/qat_common/adf_common_drv.h
 create mode 100644 drivers/crypto/qat/qat_common/adf_ctl_drv.c
 create mode 100644 drivers/crypto/qat/qat_common/adf_dev_mgr.c
 create mode 100644 drivers/crypto/qat/qat_common/adf_init.c
 create mode 100644 drivers/crypto/qat/qat_common/adf_transport.c
 create mode 100644 drivers/crypto/qat/qat_common/adf_transport.h
 create mode 100644 drivers/crypto/qat/qat_common/adf_transport_access_macros.h
 create mode 100644 drivers/crypto/qat/qat_common/adf_transport_debug.c
 create mode 100644 drivers/crypto/qat/qat_common/adf_transport_internal.h
 create mode 100644 drivers/crypto/qat/qat_common/icp_qat_fw.h
 create mode 100644 drivers/crypto/qat/qat_common/icp_qat_fw_init_admin.h
 create mode 100644 drivers/crypto/qat/qat_common/icp_qat_fw_la.h
 create mode 100644 drivers/crypto/qat/qat_common/icp_qat_hw.h
 create mode 100644 drivers/crypto/qat/qat_common/qat_algs.c
 create mode 100644 drivers/crypto/qat/qat_common/qat_crypto.c
 create mode 100644 drivers/crypto/qat/qat_common/qat_crypto.h
drivers/crypto/qat/qat_common/Makefile new file +11 -0
new file mode 100644
index 0000000..a0c21ea
@@ -0,0 +1,11 @@
+obj-$(CONFIG_CRYPTO_DEV_QAT) += intel_qat.o
+intel_qat-objs := adf_cfg.o \
+	adf_ctl_drv.o \
+	adf_dev_mgr.o \
+	adf_init.o \
+	adf_accel_engine.o \
+	adf_aer.o \
+	adf_transport.o \
+	adf_transport_debug.o \
+	qat_crypto.o \
+	qat_algs.o
drivers/crypto/qat/qat_common/adf_accel_devices.h new file +204 -0

204 lines not on this page · raw message

drivers/crypto/qat/qat_common/adf_accel_engine.c new file +168 -0

168 lines not on this page · raw message

drivers/crypto/qat/qat_common/adf_aer.c new file +258 -0

258 lines not on this page · raw message

drivers/crypto/qat/qat_common/adf_cfg.c new file +359 -0

359 lines not on this page · raw message

drivers/crypto/qat/qat_common/adf_cfg.h new file +87 -0

87 lines not on this page · raw message

drivers/crypto/qat/qat_common/adf_cfg_common.h new file +100 -0

100 lines not on this page · raw message

drivers/crypto/qat/qat_common/adf_cfg_strings.h new file +83 -0

83 lines not on this page · raw message

drivers/crypto/qat/qat_common/adf_cfg_user.h new file +94 -0

94 lines not on this page · raw message

drivers/crypto/qat/qat_common/adf_common_drv.h new file +192 -0

192 lines not on this page · raw message

drivers/crypto/qat/qat_common/adf_ctl_drv.c new file +490 -0

490 lines not on this page · raw message

drivers/crypto/qat/qat_common/adf_dev_mgr.c new file +215 -0

215 lines not on this page · raw message

drivers/crypto/qat/qat_common/adf_init.c new file +388 -0

388 lines not on this page · raw message

drivers/crypto/qat/qat_common/adf_transport.c new file +565 -0

351 lines not on this page · raw message

drivers/crypto/qat/qat_common/adf_transport.h new file +63 -0

63 lines not on this page · raw message

drivers/crypto/qat/qat_common/adf_transport_access_macros.h new file +160 -0

160 lines not on this page · raw message

drivers/crypto/qat/qat_common/adf_transport_debug.c new file +301 -0

301 lines not on this page · raw message

drivers/crypto/qat/qat_common/adf_transport_internal.h new file +115 -0

115 lines not on this page · raw message

drivers/crypto/qat/qat_common/icp_qat_fw.h new file +316 -0

316 lines not on this page · raw message

drivers/crypto/qat/qat_common/icp_qat_fw_init_admin.h new file +131 -0

131 lines not on this page · raw message

drivers/crypto/qat/qat_common/icp_qat_fw_la.h new file +403 -0

403 lines not on this page · raw message

drivers/crypto/qat/qat_common/icp_qat_hw.h new file +305 -0

305 lines not on this page · raw message

drivers/crypto/qat/qat_common/qat_algs.c new file +1033 -0

1,033 lines not on this page · raw message

drivers/crypto/qat/qat_common/qat_crypto.c new file +284 -0

284 lines not on this page · raw message

drivers/crypto/qat/qat_common/qat_crypto.h new file +83 -0

83 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.8.5.rc2.6.gc6f1b92.dirty

Part of the diff is not shown here. View the raw message.