Home
last modified time | relevance | path

Searched refs:HISI_SAS_QUEUE_SLOTS (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/scsi/hisi_sas/
Dhisi_sas_v1_hw.c722 HISI_SAS_QUEUE_SLOTS); in init_reg_v1_hw()
734 HISI_SAS_QUEUE_SLOTS); in init_reg_v1_hw()
892 if (r == (w+1) % HISI_SAS_QUEUE_SLOTS) { in get_free_slot_v1_hw()
897 dq->wr_point = (dq->wr_point + 1) % HISI_SAS_QUEUE_SLOTS; in get_free_slot_v1_hw()
926 wp = (s2->dlvry_queue_slot + 1) % HISI_SAS_QUEUE_SLOTS; in start_delivery_v1_hw()
1576 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_interrupt_v1_hw()
Dhisi_sas_v3_hw.c510 HISI_SAS_QUEUE_SLOTS); in init_reg_v3_hw()
520 HISI_SAS_QUEUE_SLOTS); in init_reg_v3_hw()
871 if (r == (w+1) % HISI_SAS_QUEUE_SLOTS) { in get_free_slot_v3_hw()
877 dq->wr_point = (dq->wr_point + 1) % HISI_SAS_QUEUE_SLOTS; in get_free_slot_v3_hw()
905 wp = (s2->dlvry_queue_slot + 1) % HISI_SAS_QUEUE_SLOTS; in start_delivery_v3_hw()
1812 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_tasklet_v3_hw()
Dhisi_sas.h32 #define HISI_SAS_QUEUE_SLOTS 512 macro
Dhisi_sas_v2_hw.c1274 HISI_SAS_QUEUE_SLOTS); in init_reg_v2_hw()
1284 HISI_SAS_QUEUE_SLOTS); in init_reg_v2_hw()
1653 if (r == (w+1) % HISI_SAS_QUEUE_SLOTS) { in get_free_slot_v2_hw()
1659 dq->wr_point = (dq->wr_point + 1) % HISI_SAS_QUEUE_SLOTS; in get_free_slot_v2_hw()
1688 wp = (s2->dlvry_queue_slot + 1) % HISI_SAS_QUEUE_SLOTS; in start_delivery_v2_hw()
3184 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_tasklet_v2_hw()
Dhisi_sas_main.c1971 s = sizeof(struct hisi_sas_cmd_hdr) * HISI_SAS_QUEUE_SLOTS; in hisi_sas_init_mem()
1975 s = hisi_hba->hw->complete_hdr_size * HISI_SAS_QUEUE_SLOTS; in hisi_sas_init_mem()
2030 s = sizeof(struct hisi_sas_cmd_hdr) * HISI_SAS_QUEUE_SLOTS; in hisi_sas_alloc()
2038 s = hisi_hba->hw->complete_hdr_size * HISI_SAS_QUEUE_SLOTS; in hisi_sas_alloc()