Searched refs:JOBR_DEPTH (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/caam/ |
H A 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, in caam_jr_init() [all...] |
H A D | intern.h | 17 #define JOBR_DEPTH (1 << CONFIG_CRYPTO_DEV_FSL_CAAM_RINGSIZE) macro
|
/kernel/linux/linux-6.6/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 21 * size (JOBR_DEPTH) and a THRESHOLD (reserved for the non-crypto-API 25 #define CRYPTO_ENGINE_MAX_QLEN (JOBR_DEPTH - THRESHOLD)
|
Completed in 4 milliseconds