Home
last modified time | relevance | path

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

/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas.h34 #define HISI_SAS_QUEUE_SLOTS 4096 macro
41 #define HISI_SAS_MAX_COMMANDS (HISI_SAS_QUEUE_SLOTS)
H A Dhisi_sas_v3_hw.c717 HISI_SAS_QUEUE_SLOTS); in init_reg_v3_hw()
727 HISI_SAS_QUEUE_SLOTS); in init_reg_v3_hw()
1133 wp = (s2->dlvry_queue_slot + 1) % HISI_SAS_QUEUE_SLOTS; in start_delivery_v3_hw()
2448 completed = (wr_point + HISI_SAS_QUEUE_SLOTS - rd_point) % HISI_SAS_QUEUE_SLOTS; in complete_v3_hw()
2489 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in complete_v3_hw()
3432 HISI_SAS_QUEUE_SLOTS * queue_entry_size); in debugfs_snapshot_cq_reg_v3_hw()
3448 for (j = 0; j < HISI_SAS_QUEUE_SLOTS; j++) in debugfs_snapshot_dq_reg_v3_hw()
3667 for (slot = 0; slot < HISI_SAS_QUEUE_SLOTS; slot++) in debugfs_cq_v3_hw_show()
3690 for (slot = 0; slot < HISI_SAS_QUEUE_SLOTS; slot++) in debugfs_dq_v3_hw_show()
4572 sz = hw->complete_hdr_size * HISI_SAS_QUEUE_SLOTS; in debugfs_alloc_v3_hw()
[all …]
H A Dhisi_sas_v1_hw.c711 HISI_SAS_QUEUE_SLOTS); in init_reg_v1_hw()
723 HISI_SAS_QUEUE_SLOTS); in init_reg_v1_hw()
884 wp = (s2->dlvry_queue_slot + 1) % HISI_SAS_QUEUE_SLOTS; in start_delivery_v1_hw()
1514 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_interrupt_v1_hw()
H A Dhisi_sas_main.c410 dq->wr_point = (dq->wr_point + 1) % HISI_SAS_QUEUE_SLOTS; in hisi_sas_task_deliver()
2147 for (j = 0; j < HISI_SAS_QUEUE_SLOTS; j++) in hisi_sas_init_mem()
2152 s = hisi_hba->hw->complete_hdr_size * HISI_SAS_QUEUE_SLOTS; in hisi_sas_init_mem()
2209 s = sizeof(struct hisi_sas_cmd_hdr) * HISI_SAS_QUEUE_SLOTS; in hisi_sas_alloc()
2217 s = hisi_hba->hw->complete_hdr_size * HISI_SAS_QUEUE_SLOTS; in hisi_sas_alloc()
H A Dhisi_sas_v2_hw.c1280 HISI_SAS_QUEUE_SLOTS); in init_reg_v2_hw()
1290 HISI_SAS_QUEUE_SLOTS); in init_reg_v2_hw()
1667 wp = (s2->dlvry_queue_slot + 1) % HISI_SAS_QUEUE_SLOTS; in start_delivery_v2_hw()
3174 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_thread_v2_hw()