summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam/dpseci_cmd.h
diff options
context:
space:
mode:
authorAndrei Botila <andrei.botila@nxp.com>2020-06-03 11:47:04 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-06-18 10:19:45 +0300
commit060ce5037d5fe22fcb2102f4c3a3b942c9edbc9d (patch)
tree30f593c68e27ff09442a8e90d922bd593bf82c39 /drivers/crypto/caam/dpseci_cmd.h
parent7f94adf218d8810abe4d46ef97b17070ab6dff61 (diff)
downloadlinux-060ce5037d5fe22fcb2102f4c3a3b942c9edbc9d.tar.xz
crypto: caam/qi2 - add support for dpseci_reset()
Add support for dpseci_reset() command for DPSECI objects. For DPSECI DPAA2 objects with version lower than v5.4 reset command was broken in MC f/w. Signed-off-by: Andrei Botila <andrei.botila@nxp.com> Reviewed-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/dpseci_cmd.h')
-rw-r--r--drivers/crypto/caam/dpseci_cmd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/caam/dpseci_cmd.h b/drivers/crypto/caam/dpseci_cmd.h
index 6ab77ead6e3d..71a007c85adb 100644
--- a/drivers/crypto/caam/dpseci_cmd.h
+++ b/drivers/crypto/caam/dpseci_cmd.h
@@ -33,6 +33,7 @@
#define DPSECI_CMDID_ENABLE DPSECI_CMD_V1(0x002)
#define DPSECI_CMDID_DISABLE DPSECI_CMD_V1(0x003)
#define DPSECI_CMDID_GET_ATTR DPSECI_CMD_V1(0x004)
+#define DPSECI_CMDID_RESET DPSECI_CMD_V1(0x005)
#define DPSECI_CMDID_IS_ENABLED DPSECI_CMD_V1(0x006)
#define DPSECI_CMDID_SET_RX_QUEUE DPSECI_CMD_V1(0x194)