Home
last modified time | relevance | path

Searched refs:JOBR_DEPTH (Results 1 – 2 of 2) sorted by relevance

/drivers/crypto/caam/
Djr.c223 for (i = 0; CIRC_CNT(head, tail + i, JOBR_DEPTH) >= 1; i++) { in caam_jr_dequeue()
224 sw_idx = (tail + i) & (JOBR_DEPTH - 1); in caam_jr_dequeue()
231 BUG_ON(CIRC_CNT(head, tail + i, JOBR_DEPTH) <= 0); in caam_jr_dequeue()
261 (JOBR_DEPTH - 1); in caam_jr_dequeue()
270 tail = (tail + 1) & (JOBR_DEPTH - 1); in caam_jr_dequeue()
271 } while (CIRC_CNT(head, tail, JOBR_DEPTH) >= 1 && in caam_jr_dequeue()
389 CIRC_SPACE(head, tail, JOBR_DEPTH) <= 0) { in caam_jr_enqueue()
411 jrp->head = (head + 1) & (JOBR_DEPTH - 1); in caam_jr_enqueue()
449 JOBR_DEPTH, &inpbusaddr, in caam_jr_init()
455 JOBR_DEPTH, &outbusaddr, in caam_jr_init()
[all …]
Dintern.h17 #define JOBR_DEPTH (1 << CONFIG_CRYPTO_DEV_FSL_CAAM_RINGSIZE) macro
25 #define CRYPTO_ENGINE_MAX_QLEN (JOBR_DEPTH - THRESHOLD)