Searched refs:JOBR_DEPTH (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/crypto/caam/ |
D | jr.c | 222 for (i = 0; CIRC_CNT(head, tail + i, JOBR_DEPTH) >= 1; i++) { in caam_jr_dequeue() 223 sw_idx = (tail + i) & (JOBR_DEPTH - 1); in caam_jr_dequeue() 230 BUG_ON(CIRC_CNT(head, tail + i, JOBR_DEPTH) <= 0); in caam_jr_dequeue() 260 (JOBR_DEPTH - 1); in caam_jr_dequeue() 269 tail = (tail + 1) & (JOBR_DEPTH - 1); in caam_jr_dequeue() 270 } while (CIRC_CNT(head, tail, JOBR_DEPTH) >= 1 && in caam_jr_dequeue() 388 CIRC_SPACE(head, tail, JOBR_DEPTH) <= 0) { in caam_jr_enqueue() 410 jrp->head = (head + 1) & (JOBR_DEPTH - 1); in caam_jr_enqueue() 448 JOBR_DEPTH, &inpbusaddr, in caam_jr_init() 454 JOBR_DEPTH, &outbusaddr, in caam_jr_init() [all …]
|
D | intern.h | 17 #define JOBR_DEPTH (1 << CONFIG_CRYPTO_DEV_FSL_CAAM_RINGSIZE) macro
|