Searched refs:rd_point (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.4/drivers/scsi/hisi_sas/ |
| D | hisi_sas_v1_hw.c | 1500 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()
|
| D | hisi_sas_v2_hw.c | 3114 u32 rd_point = cq->rd_point, wr_point, dev_id; in cq_tasklet_v2_hw() local 3125 while (rd_point != wr_point) { in cq_tasklet_v2_hw() 3129 complete_hdr = &complete_queue[rd_point]; in cq_tasklet_v2_hw() 3153 slot->cmplt_queue_slot = rd_point; in cq_tasklet_v2_hw() 3165 slot->cmplt_queue_slot = rd_point; in cq_tasklet_v2_hw() 3170 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_tasklet_v2_hw() 3171 rd_point = 0; in cq_tasklet_v2_hw() 3175 cq->rd_point = rd_point; in cq_tasklet_v2_hw() 3176 hisi_sas_write32(hisi_hba, COMPL_Q_0_RD_PTR + (0x14 * queue), rd_point); in cq_tasklet_v2_hw()
|
| D | hisi_sas_v3_hw.c | 2299 u32 rd_point = cq->rd_point, wr_point; in cq_tasklet_v3_hw() local 2307 while (rd_point != wr_point) { in cq_tasklet_v3_hw() 2313 complete_hdr = &complete_queue[rd_point]; in cq_tasklet_v3_hw() 2319 slot->cmplt_queue_slot = rd_point; in cq_tasklet_v3_hw() 2325 if (++rd_point >= HISI_SAS_QUEUE_SLOTS) in cq_tasklet_v3_hw() 2326 rd_point = 0; in cq_tasklet_v3_hw() 2330 cq->rd_point = rd_point; in cq_tasklet_v3_hw() 2331 hisi_sas_write32(hisi_hba, COMPL_Q_0_RD_PTR + (0x14 * queue), rd_point); in cq_tasklet_v3_hw()
|
| D | hisi_sas.h | 182 int rd_point; member
|
| D | hisi_sas_main.c | 2279 cq->rd_point = 0; in hisi_sas_init_mem()
|