Searched refs:COMMANDS_PER_QUEUE (Results 1 – 2 of 2) sorted by relevance
102 #define COMMANDS_PER_QUEUE 16 macro103 #define QUEUE_SIZE_VAL ((ffs(COMMANDS_PER_QUEUE) - 2) & \107 #define Q_SIZE(n) (COMMANDS_PER_QUEUE*(n))
216 n = head_idx + COMMANDS_PER_QUEUE - cmd_q->qidx - 1; in ccp5_get_free_slots()218 return n % COMMANDS_PER_QUEUE; /* Always one unused spot */ in ccp5_get_free_slots()243 cmd_q->qidx = (cmd_q->qidx + 1) % COMMANDS_PER_QUEUE; in ccp5_do_cmd()829 BUILD_BUG_ON(COMMANDS_PER_QUEUE > 128); in ccp5_init()