Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/scsi/hisi_sas/
H A Dhisi_sas_v1_hw.c1499 u32 rd_point = cq->rd_point, wr_point; in cq_interrupt_v1_hw() local
1506 while (rd_point != wr_point) { in cq_interrupt_v1_hw()
1511 complete_hdr = &complete_queue[rd_point]; in cq_interrupt_v1_hw()
1521 slot->cmplt_queue_slot = rd_point; in cq_interrupt_v1_hw()
1525 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_interrupt_v1_hw()
1526 rd_point = 0; in cq_interrupt_v1_hw()
1530 cq->rd_point = rd_point; in cq_interrupt_v1_hw()
1531 hisi_sas_write32(hisi_hba, COMPL_Q_0_RD_PTR + (0x14 * queue), rd_point); in cq_interrupt_v1_hw()
H A Dhisi_sas_v2_hw.c3116 u32 rd_point = cq->rd_point, wr_point, dev_id; in cq_thread_v2_hw() local
3127 while (rd_point != wr_point) { in cq_thread_v2_hw()
3131 complete_hdr = &complete_queue[rd_point]; in cq_thread_v2_hw()
3155 slot->cmplt_queue_slot = rd_point; in cq_thread_v2_hw()
3167 slot->cmplt_queue_slot = rd_point; in cq_thread_v2_hw()
3172 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_thread_v2_hw()
3173 rd_point = 0; in cq_thread_v2_hw()
3177 cq->rd_point = rd_point; in cq_thread_v2_hw()
3178 hisi_sas_write32(hisi_hba, COMPL_Q_0_RD_PTR + (0x14 * queue), rd_point); in cq_thread_v2_hw()
H A Dhisi_sas_v3_hw.c2327 u32 rd_point = cq->rd_point, wr_point; in cq_thread_v3_hw() local
2335 while (rd_point != wr_point) { in cq_thread_v3_hw()
2341 complete_hdr = &complete_queue[rd_point]; in cq_thread_v3_hw()
2347 slot->cmplt_queue_slot = rd_point; in cq_thread_v3_hw()
2353 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_thread_v3_hw()
2354 rd_point = 0; in cq_thread_v3_hw()
2358 cq->rd_point = rd_point; in cq_thread_v3_hw()
2359 hisi_sas_write32(hisi_hba, COMPL_Q_0_RD_PTR + (0x14 * queue), rd_point); in cq_thread_v3_hw()
H A Dhisi_sas.h188 int rd_point; member
H A Dhisi_sas_main.c2295 cq->rd_point = 0; in hisi_sas_init_mem()