Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/elx/efct/
H A Defct_hw.h69 #define EFCT_HW_Q_HASH_SIZE 128 macro
400 struct efct_queue_hash cq_hash[EFCT_HW_Q_HASH_SIZE];
401 struct efct_queue_hash rq_hash[EFCT_HW_Q_HASH_SIZE];
402 struct efct_queue_hash wq_hash[EFCT_HW_Q_HASH_SIZE];
H A Defct_hw.c835 u32 hash_index = id & (EFCT_HW_Q_HASH_SIZE - 1); in efct_hw_queue_hash_add()
842 hash_index = (hash_index + 1) & (EFCT_HW_Q_HASH_SIZE - 1); in efct_hw_queue_hash_add()
989 EFCT_HW_MAX_NUM_CQ, EFCT_HW_Q_HASH_SIZE); in efct_hw_init()
993 EFCT_HW_MAX_NUM_RQ, EFCT_HW_Q_HASH_SIZE); in efct_hw_init()
997 EFCT_HW_MAX_NUM_WQ, EFCT_HW_Q_HASH_SIZE); in efct_hw_init()
2154 int i = id & (EFCT_HW_Q_HASH_SIZE - 1); in efct_hw_queue_hash_find()
2165 i = (i + 1) & (EFCT_HW_Q_HASH_SIZE - 1); in efct_hw_queue_hash_find()