Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/scsi/hisi_sas/
Dhisi_sas_v1_hw.c1500 u32 rd_point = cq->rd_point, wr_point; in cq_interrupt_v1_hw() local
1507 while (rd_point != wr_point) { in cq_interrupt_v1_hw()
1512 complete_hdr = &complete_queue[rd_point]; in cq_interrupt_v1_hw()
1522 slot->cmplt_queue_slot = rd_point; in cq_interrupt_v1_hw()
1526 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_interrupt_v1_hw()
1527 rd_point = 0; in cq_interrupt_v1_hw()
1531 cq->rd_point = rd_point; in cq_interrupt_v1_hw()
1532 hisi_sas_write32(hisi_hba, COMPL_Q_0_RD_PTR + (0x14 * queue), rd_point); in cq_interrupt_v1_hw()
Dhisi_sas_v2_hw.c3117 u32 rd_point = cq->rd_point, wr_point, dev_id; in cq_thread_v2_hw() local
3128 while (rd_point != wr_point) { in cq_thread_v2_hw()
3132 complete_hdr = &complete_queue[rd_point]; in cq_thread_v2_hw()
3156 slot->cmplt_queue_slot = rd_point; in cq_thread_v2_hw()
3168 slot->cmplt_queue_slot = rd_point; in cq_thread_v2_hw()
3173 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_thread_v2_hw()
3174 rd_point = 0; in cq_thread_v2_hw()
3178 cq->rd_point = rd_point; in cq_thread_v2_hw()
3179 hisi_sas_write32(hisi_hba, COMPL_Q_0_RD_PTR + (0x14 * queue), rd_point); in cq_thread_v2_hw()
Dhisi_sas_v3_hw.c2328 u32 rd_point = cq->rd_point, wr_point; in cq_thread_v3_hw() local
2336 while (rd_point != wr_point) { in cq_thread_v3_hw()
2342 complete_hdr = &complete_queue[rd_point]; in cq_thread_v3_hw()
2348 slot->cmplt_queue_slot = rd_point; in cq_thread_v3_hw()
2354 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_thread_v3_hw()
2355 rd_point = 0; in cq_thread_v3_hw()
2359 cq->rd_point = rd_point; in cq_thread_v3_hw()
2360 hisi_sas_write32(hisi_hba, COMPL_Q_0_RD_PTR + (0x14 * queue), rd_point); in cq_thread_v3_hw()
Dhisi_sas.h188 int rd_point; member
Dhisi_sas_main.c2299 cq->rd_point = 0; in hisi_sas_init_mem()