diff options
author | Andrei Varvara <andrei.varvara@freescale.com> | 2013-05-28 03:37:08 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-05-28 03:37:08 -0400 |
commit | 590f9667a2307b24e9b56138d901dd2f228db6e0 (patch) | |
tree | 39474bb6ae2cceaa91408e946f41aa83b3b47157 /drivers/crypto/caam | |
parent | 1f50be97f630012e096968d79f5b2fbfebadaf81 (diff) |
crypto: caam - Add defines for CAAM commands
add defines for:
append load immediate command
setting SEQ LIODN equal to the Non-SEQ LIODN for the job
replace job descriptor command
Signed-off-by: Andrei Varvara <andrei.varvara@freescale.com>
Reviewed-by: Phillips Kim-R1AAHA <Kim.Phillips@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam')
-rw-r--r-- | drivers/crypto/caam/desc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/crypto/caam/desc.h b/drivers/crypto/caam/desc.h index 972ad145d76c..8214dc1c49e8 100644 --- a/drivers/crypto/caam/desc.h +++ b/drivers/crypto/caam/desc.h | |||
@@ -1608,4 +1608,13 @@ struct sec4_sg_entry { | |||
1608 | #define NFIFOENTRY_PLEN_SHIFT 0 | 1608 | #define NFIFOENTRY_PLEN_SHIFT 0 |
1609 | #define NFIFOENTRY_PLEN_MASK (0xFF << NFIFOENTRY_PLEN_SHIFT) | 1609 | #define NFIFOENTRY_PLEN_MASK (0xFF << NFIFOENTRY_PLEN_SHIFT) |
1610 | 1610 | ||
1611 | /* Append Load Immediate Command */ | ||
1612 | #define FD_CMD_APPEND_LOAD_IMMEDIATE 0x80000000 | ||
1613 | |||
1614 | /* Set SEQ LIODN equal to the Non-SEQ LIODN for the job */ | ||
1615 | #define FD_CMD_SET_SEQ_LIODN_EQUAL_NONSEQ_LIODN 0x40000000 | ||
1616 | |||
1617 | /* Frame Descriptor Command for Replacement Job Descriptor */ | ||
1618 | #define FD_CMD_REPLACE_JOB_DESC 0x20000000 | ||
1619 | |||
1611 | #endif /* DESC_H */ | 1620 | #endif /* DESC_H */ |