COMMANDS_PER_QUEUE 216 drivers/crypto/ccp/ccp-dev-v5.c n = head_idx + COMMANDS_PER_QUEUE - cmd_q->qidx - 1; COMMANDS_PER_QUEUE 218 drivers/crypto/ccp/ccp-dev-v5.c return n % COMMANDS_PER_QUEUE; /* Always one unused spot */ COMMANDS_PER_QUEUE 243 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->qidx = (cmd_q->qidx + 1) % COMMANDS_PER_QUEUE; COMMANDS_PER_QUEUE 817 drivers/crypto/ccp/ccp-dev-v5.c BUILD_BUG_ON(COMMANDS_PER_QUEUE > 128); COMMANDS_PER_QUEUE 103 drivers/crypto/ccp/ccp-dev.h #define QUEUE_SIZE_VAL ((ffs(COMMANDS_PER_QUEUE) - 2) & \ COMMANDS_PER_QUEUE 107 drivers/crypto/ccp/ccp-dev.h #define Q_SIZE(n) (COMMANDS_PER_QUEUE*(n))