diff options
author | Horia Geantă <horia.geanta@nxp.com> | 2016-11-09 11:46:22 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-11-13 12:45:14 +0300 |
commit | e25ff92e8feb5ab3fb511aabeccc67304807366f (patch) | |
tree | df96035f6a15ceafaa7dfd317eae5f33db476f2b /drivers/crypto/caam/sg_sw_sec4.h | |
parent | 2b163b5bce04546da72617bfb6c8bf07a45c4b17 (diff) | |
download | linux-e25ff92e8feb5ab3fb511aabeccc67304807366f.tar.xz |
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/sg_sw_sec4.h')
-rw-r--r-- | drivers/crypto/caam/sg_sw_sec4.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/crypto/caam/sg_sw_sec4.h b/drivers/crypto/caam/sg_sw_sec4.h index 41cd5a356d05..6afa20c4a013 100644 --- a/drivers/crypto/caam/sg_sw_sec4.h +++ b/drivers/crypto/caam/sg_sw_sec4.h @@ -7,7 +7,11 @@ #include "regs.h" -struct sec4_sg_entry; +struct sec4_sg_entry { + u64 ptr; + u32 len; + u32 bpid_offset; +}; /* * convert single dma address to h/w link table format |