Home
last modified time | relevance | path

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

/linux-6.15/drivers/scsi/hisi_sas/
H A Dhisi_sas_v1_hw.c1488 u32 rd_point = cq->rd_point, wr_point; in cq_interrupt_v1_hw() local
1495 while (rd_point != wr_point) { in cq_interrupt_v1_hw()
1500 complete_hdr = &complete_queue[rd_point]; in cq_interrupt_v1_hw()
1510 slot->cmplt_queue_slot = rd_point; in cq_interrupt_v1_hw()
1514 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_interrupt_v1_hw()
1515 rd_point = 0; in cq_interrupt_v1_hw()
1519 cq->rd_point = rd_point; in cq_interrupt_v1_hw()
1520 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.c3121 u32 rd_point = cq->rd_point, wr_point, dev_id; in cq_thread_v2_hw() local
3132 while (rd_point != wr_point) { in cq_thread_v2_hw()
3136 complete_hdr = &complete_queue[rd_point]; in cq_thread_v2_hw()
3160 slot->cmplt_queue_slot = rd_point; in cq_thread_v2_hw()
3172 slot->cmplt_queue_slot = rd_point; in cq_thread_v2_hw()
3177 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_thread_v2_hw()
3178 rd_point = 0; in cq_thread_v2_hw()
3182 cq->rd_point = rd_point; in cq_thread_v2_hw()
3183 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.c2451 u32 rd_point, wr_point; in complete_v3_hw() local
2455 rd_point = cq->rd_point; in complete_v3_hw()
2460 completed = (wr_point + HISI_SAS_QUEUE_SLOTS - rd_point) % HISI_SAS_QUEUE_SLOTS; in complete_v3_hw()
2462 while (rd_point != wr_point) { in complete_v3_hw()
2469 complete_hdr = &complete_queue[rd_point]; in complete_v3_hw()
2495 slot->cmplt_queue_slot = rd_point; in complete_v3_hw()
2501 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in complete_v3_hw()
2502 rd_point = 0; in complete_v3_hw()
2506 cq->rd_point = rd_point; in complete_v3_hw()
2507 hisi_sas_write32(hisi_hba, COMPL_Q_0_RD_PTR + (0x14 * queue), rd_point); in complete_v3_hw()
H A Dhisi_sas.h206 int rd_point; member
H A Dhisi_sas_main.c2215 cq->rd_point = 0; in hisi_sas_init_mem()