Searched refs:rd_point (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.15/drivers/scsi/hisi_sas/ |
| D | hisi_sas_v1_hw.c | 1501 u32 rd_point = cq->rd_point, wr_point; in cq_interrupt_v1_hw() local 1508 while (rd_point != wr_point) { in cq_interrupt_v1_hw() 1513 complete_hdr = &complete_queue[rd_point]; in cq_interrupt_v1_hw() 1523 slot->cmplt_queue_slot = rd_point; in cq_interrupt_v1_hw() 1527 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_interrupt_v1_hw() 1528 rd_point = 0; in cq_interrupt_v1_hw() 1532 cq->rd_point = rd_point; in cq_interrupt_v1_hw() 1533 hisi_sas_write32(hisi_hba, COMPL_Q_0_RD_PTR + (0x14 * queue), rd_point); in cq_interrupt_v1_hw()
|
| 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()
|
| D | hisi_sas_v3_hw.c | 2347 u32 rd_point = cq->rd_point, wr_point; in cq_thread_v3_hw() local 2355 while (rd_point != wr_point) { in cq_thread_v3_hw() 2361 complete_hdr = &complete_queue[rd_point]; in cq_thread_v3_hw() 2367 slot->cmplt_queue_slot = rd_point; in cq_thread_v3_hw() 2373 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_thread_v3_hw() 2374 rd_point = 0; in cq_thread_v3_hw() 2378 cq->rd_point = rd_point; in cq_thread_v3_hw() 2379 hisi_sas_write32(hisi_hba, COMPL_Q_0_RD_PTR + (0x14 * queue), rd_point); in cq_thread_v3_hw()
|
| D | hisi_sas.h | 206 int rd_point; member
|
| D | hisi_sas_main.c | 2340 cq->rd_point = 0; in hisi_sas_init_mem()
|