diff options
author | Horia Geant? <horia.geanta@nxp.com> | 2016-01-12 17:14:10 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-01-25 22:39:03 +0800 |
commit | 624144a7eb2c9abcf76722d29f983cdf9801bb2e (patch) | |
tree | d84f55d2225a6a40a7c63769a8da9b0f3266d9f4 /drivers/crypto/caam/regs.h | |
parent | ba171135bfa584096ca5ee42c9527777b7d48474 (diff) | |
download | blackbird-obmc-linux-624144a7eb2c9abcf76722d29f983cdf9801bb2e.tar.gz blackbird-obmc-linux-624144a7eb2c9abcf76722d29f983cdf9801bb2e.zip |
crypto: caam - enable LARGE_BURST for enhancing DMA transactions size
Increasing CAAM DMA engine transaction size either
-reduces the number of required transactions or
-adds the ability to transfer more data with same transaction count
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/regs.h')
-rw-r--r-- | drivers/crypto/caam/regs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/crypto/caam/regs.h b/drivers/crypto/caam/regs.h index a8a79975682f..0ba9c40597dc 100644 --- a/drivers/crypto/caam/regs.h +++ b/drivers/crypto/caam/regs.h @@ -455,7 +455,8 @@ struct caam_ctrl { #define MCFGR_AXIPIPE_MASK (0xf << MCFGR_AXIPIPE_SHIFT) #define MCFGR_AXIPRI 0x00000008 /* Assert AXI priority sideband */ -#define MCFGR_BURST_64 0x00000001 /* Max burst size */ +#define MCFGR_LARGE_BURST 0x00000004 /* 128/256-byte burst size */ +#define MCFGR_BURST_64 0x00000001 /* 64-byte burst size */ /* JRSTART register offsets */ #define JRSTART_JR0_START 0x00000001 /* Start Job ring 0 */ |