Home
last modified time | relevance | path

Searched refs:QUEUE_SIZE_VAL (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/dma/ptdma/
H A Dptdma.h94 #define QUEUE_SIZE_VAL ((ffs(CMD_Q_LEN) - 2) & \ macro
96 #define Q_PTR_MASK (2 << (QUEUE_SIZE_VAL + 5) - 1)
H A Dptdma-dev.c242 cmd_q->qcontrol |= FIELD_PREP(CMD_Q_SIZE, QUEUE_SIZE_VAL); in pt_core_init()
/openbmc/linux/drivers/crypto/ccp/
H A Dccp-dev.h103 #define QUEUE_SIZE_VAL ((ffs(COMMANDS_PER_QUEUE) - 2) & \ macro
105 #define Q_PTR_MASK (2 << (QUEUE_SIZE_VAL + 5) - 1)
H A Dccp-dev-v5.c917 cmd_q->qcontrol |= QUEUE_SIZE_VAL << CMD5_Q_SHIFT; in ccp5_init()