summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/caam/desc.h
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2016-11-09 10:46:22 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-11-13 17:45:14 +0800
commite25ff92e8feb5ab3fb511aabeccc67304807366f (patch)
treedf96035f6a15ceafaa7dfd317eae5f33db476f2b /drivers/crypto/caam/desc.h
parent2b163b5bce04546da72617bfb6c8bf07a45c4b17 (diff)
downloadlinux-stable-e25ff92e8feb5ab3fb511aabeccc67304807366f.tar.gz
linux-stable-e25ff92e8feb5ab3fb511aabeccc67304807366f.tar.bz2
linux-stable-e25ff92e8feb5ab3fb511aabeccc67304807366f.zip
crypto: caam - move sec4_sg_entry to sg_sw_sec4.h
sec4_sg_entry structure is used only by helper functions in sg_sw_sec4.h. Since SEC HW S/G entries are to be manipulated only indirectly, via these functions, move sec4_sg_entry to the corresponding header. Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/desc.h')
-rw-r--r--drivers/crypto/caam/desc.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/crypto/caam/desc.h b/drivers/crypto/caam/desc.h
index 61059abef737..2e6766a1573f 100644
--- a/drivers/crypto/caam/desc.h
+++ b/drivers/crypto/caam/desc.h
@@ -22,12 +22,6 @@
#define SEC4_SG_LEN_MASK 0x3fffffff /* Excludes EXT and FINAL */
#define SEC4_SG_OFFSET_MASK 0x00001fff
-struct sec4_sg_entry {
- u64 ptr;
- u32 len;
- u32 bpid_offset;
-};
-
/* Max size of any CAAM descriptor in 32-bit words, inclusive of header */
#define MAX_CAAM_DESCSIZE 64