Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/scsi/hisi_sas/
Dhisi_sas.h34 #define HISI_SAS_QUEUE_SLOTS 4096 macro
41 #define HISI_SAS_MAX_COMMANDS (HISI_SAS_QUEUE_SLOTS)
Dhisi_sas_v3_hw.c718 HISI_SAS_QUEUE_SLOTS); in init_reg_v3_hw()
728 HISI_SAS_QUEUE_SLOTS); in init_reg_v3_hw()
1134 wp = (s2->dlvry_queue_slot + 1) % HISI_SAS_QUEUE_SLOTS; in start_delivery_v3_hw()
2441 completed = (wr_point + HISI_SAS_QUEUE_SLOTS - rd_point) % HISI_SAS_QUEUE_SLOTS; in complete_v3_hw()
2482 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in complete_v3_hw()
3435 HISI_SAS_QUEUE_SLOTS * queue_entry_size); in debugfs_snapshot_cq_reg_v3_hw()
3451 for (j = 0; j < HISI_SAS_QUEUE_SLOTS; j++) in debugfs_snapshot_dq_reg_v3_hw()
3670 for (slot = 0; slot < HISI_SAS_QUEUE_SLOTS; slot++) in debugfs_cq_v3_hw_show()
3693 for (slot = 0; slot < HISI_SAS_QUEUE_SLOTS; slot++) in debugfs_dq_v3_hw_show()
4731 sz = hw->complete_hdr_size * HISI_SAS_QUEUE_SLOTS; in debugfs_alloc_v3_hw()
[all …]
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()
Dhisi_sas_main.c410 dq->wr_point = (dq->wr_point + 1) % HISI_SAS_QUEUE_SLOTS; in hisi_sas_task_deliver()
2127 for (j = 0; j < HISI_SAS_QUEUE_SLOTS; j++) in hisi_sas_init_mem()
2132 s = hisi_hba->hw->complete_hdr_size * HISI_SAS_QUEUE_SLOTS; in hisi_sas_init_mem()
2189 s = sizeof(struct hisi_sas_cmd_hdr) * HISI_SAS_QUEUE_SLOTS; in hisi_sas_alloc()
2197 s = hisi_hba->hw->complete_hdr_size * HISI_SAS_QUEUE_SLOTS; in hisi_sas_alloc()
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()