Searched refs:rd_point (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v1_hw.c | 1488 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 D | hisi_sas_v2_hw.c | 3118 u32 rd_point = cq->rd_point, wr_point, dev_id; in cq_thread_v2_hw() local 3129 while (rd_point != wr_point) { in cq_thread_v2_hw() 3133 complete_hdr = &complete_queue[rd_point]; in cq_thread_v2_hw() 3157 slot->cmplt_queue_slot = rd_point; in cq_thread_v2_hw() 3169 slot->cmplt_queue_slot = rd_point; in cq_thread_v2_hw() 3174 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_thread_v2_hw() 3175 rd_point = 0; in cq_thread_v2_hw() 3179 cq->rd_point = rd_point; in cq_thread_v2_hw() 3180 hisi_sas_write32(hisi_hba, COMPL_Q_0_RD_PTR + (0x14 * queue), rd_point); in cq_thread_v2_hw()
|
H A D | hisi_sas_v3_hw.c | 2439 u32 rd_point, wr_point; in complete_v3_hw() local 2443 rd_point = cq->rd_point; in complete_v3_hw() 2448 completed = (wr_point + HISI_SAS_QUEUE_SLOTS - rd_point) % HISI_SAS_QUEUE_SLOTS; in complete_v3_hw() 2450 while (rd_point != wr_point) { in complete_v3_hw() 2457 complete_hdr = &complete_queue[rd_point]; in complete_v3_hw() 2483 slot->cmplt_queue_slot = rd_point; in complete_v3_hw() 2489 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in complete_v3_hw() 2490 rd_point = 0; in complete_v3_hw() 2494 cq->rd_point = rd_point; in complete_v3_hw() 2495 hisi_sas_write32(hisi_hba, COMPL_Q_0_RD_PTR + (0x14 * queue), rd_point); in complete_v3_hw()
|
H A D | hisi_sas.h | 207 int rd_point; member
|
H A D | hisi_sas_main.c | 2154 cq->rd_point = 0; in hisi_sas_init_mem()
|