Searched refs:JOBR_DEPTH (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/crypto/caam/ |
H A D | jr.c | 282 for (i = 0; CIRC_CNT(head, tail + i, JOBR_DEPTH) >= 1; i++) { in caam_jr_dequeue() 283 sw_idx = (tail + i) & (JOBR_DEPTH - 1); in caam_jr_dequeue() 290 BUG_ON(CIRC_CNT(head, tail + i, JOBR_DEPTH) <= 0); in caam_jr_dequeue() 320 (JOBR_DEPTH - 1); in caam_jr_dequeue() 329 tail = (tail + 1) & (JOBR_DEPTH - 1); in caam_jr_dequeue() 330 } while (CIRC_CNT(head, tail, JOBR_DEPTH) >= 1 && in caam_jr_dequeue() 449 CIRC_SPACE(head, tail, JOBR_DEPTH) <= 0) { in caam_jr_enqueue() 479 jrp->head = (head + 1) & (JOBR_DEPTH - 1); in caam_jr_enqueue() 508 wr_reg32(&jrp->rregs->inpring_size, JOBR_DEPTH); in caam_jr_init_hw() 509 wr_reg32(&jrp->rregs->outring_size, JOBR_DEPTH); in caam_jr_init_hw() [all …]
|
H A D | intern.h | 17 #define JOBR_DEPTH (1 << CONFIG_CRYPTO_DEV_FSL_CAAM_RINGSIZE) macro 25 #define CRYPTO_ENGINE_MAX_QLEN (JOBR_DEPTH - THRESHOLD)
|