Lines Matching refs:CAAM_CMD_SZ
16 #define CAAM_CMD_SZ sizeof(u32) macro
20 #define CAAM_DESC_BYTES_MAX (CAAM_CMD_SZ * MAX_CAAM_DESCSIZE)
21 #define __DESC_JOB_IO_LEN(n) (CAAM_CMD_SZ * 5 + (n) * 3)
51 #define MAX_SDLEN ((CAAM_DESC_BYTES_MAX - DESC_JOB_IO_LEN_MIN) / CAAM_CMD_SZ)
91 return desc_len(desc) * CAAM_CMD_SZ; in desc_bytes()
118 u32 pdb_len = (pdb_bytes + CAAM_CMD_SZ - 1) / CAAM_CMD_SZ; in init_sh_desc_pdb()
132 u32 pdb_len = (pdb_bytes + CAAM_CMD_SZ - 1) / CAAM_CMD_SZ; in init_job_desc_pdb()
150 CAAM_PTR_SZ / CAAM_CMD_SZ); in append_ptr()
171 (len + CAAM_CMD_SZ - 1) / CAAM_CMD_SZ); in append_data()
440 APPEND_MATH(op, desc, dest, src_0, src_1, CAAM_CMD_SZ); \
467 APPEND_MATH(op, desc, dest, src_0, src_1, CAAM_CMD_SZ * 2 | \
582 words = (ALIGN(adata->keylen_pad, CAAM_CMD_SZ) - in append_proto_dkp()
583 CAAM_PTR_SZ) / CAAM_CMD_SZ; in append_proto_dkp()
590 words = (ALIGN(adata->keylen_pad, CAAM_CMD_SZ) - in append_proto_dkp()
591 ALIGN(adata->keylen, CAAM_CMD_SZ)) / in append_proto_dkp()
592 CAAM_CMD_SZ; in append_proto_dkp()