Searched refs:HISI_SAS_QUEUE_SLOTS (Results 1 – 5 of 5) sorted by relevance
35 #define HISI_SAS_QUEUE_SLOTS 4096 macro42 #define HISI_SAS_MAX_COMMANDS (HISI_SAS_QUEUE_SLOTS)
711 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()1527 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_interrupt_v1_hw()
497 dq->wr_point = (dq->wr_point + 1) % HISI_SAS_QUEUE_SLOTS; in hisi_sas_task_prep()2006 dq->wr_point = (dq->wr_point + 1) % HISI_SAS_QUEUE_SLOTS; in hisi_sas_internal_abort_task_exec()2333 for (j = 0; j < HISI_SAS_QUEUE_SLOTS; j++) in hisi_sas_init_mem()2338 s = hisi_hba->hw->complete_hdr_size * HISI_SAS_QUEUE_SLOTS; in hisi_sas_init_mem()2394 s = sizeof(struct hisi_sas_cmd_hdr) * HISI_SAS_QUEUE_SLOTS; in hisi_sas_alloc()2402 s = hisi_hba->hw->complete_hdr_size * HISI_SAS_QUEUE_SLOTS; in hisi_sas_alloc()
671 HISI_SAS_QUEUE_SLOTS); in init_reg_v3_hw()681 HISI_SAS_QUEUE_SLOTS); in init_reg_v3_hw()1085 wp = (s2->dlvry_queue_slot + 1) % HISI_SAS_QUEUE_SLOTS; in start_delivery_v3_hw()2373 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_thread_v3_hw()3248 HISI_SAS_QUEUE_SLOTS * queue_entry_size); in debugfs_snapshot_cq_reg_v3_hw()3264 for (j = 0; j < HISI_SAS_QUEUE_SLOTS; j++) in debugfs_snapshot_dq_reg_v3_hw()3483 for (slot = 0; slot < HISI_SAS_QUEUE_SLOTS; slot++) in debugfs_cq_v3_hw_show()3506 for (slot = 0; slot < HISI_SAS_QUEUE_SLOTS; slot++) in debugfs_dq_v3_hw_show()4496 sz = hw->complete_hdr_size * HISI_SAS_QUEUE_SLOTS; in debugfs_alloc_v3_hw()4507 sz = sizeof(struct hisi_sas_cmd_hdr) * HISI_SAS_QUEUE_SLOTS; in debugfs_alloc_v3_hw()
1280 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()