Lines Matching refs:RM_RING_REG

379 	sys_read32(RM_RING_REG(pd, idx, RING_NUM_REQ_RECV_LS));  in rm_ring_clear_stats()
380 sys_read32(RM_RING_REG(pd, idx, RING_NUM_REQ_RECV_MS)); in rm_ring_clear_stats()
381 sys_read32(RM_RING_REG(pd, idx, RING_NUM_REQ_TRANS_LS)); in rm_ring_clear_stats()
382 sys_read32(RM_RING_REG(pd, idx, RING_NUM_REQ_TRANS_MS)); in rm_ring_clear_stats()
383 sys_read32(RM_RING_REG(pd, idx, RING_NUM_REQ_OUTSTAND)); in rm_ring_clear_stats()
406 RM_RING_REG(pd, idx, RING_DOORBELL_BD_WRITE_COUNT)); in write_doorbell()
416 val = sys_read32(RM_RING_REG(pd, idx, RING_CONTROL)); in set_ring_active()
422 sys_write32(val, RM_RING_REG(pd, idx, RING_CONTROL)); in set_ring_active()
435 sys_read32(RM_RING_REG(pd, idx, RING_CMPL_WRITE_PTR)); in init_ring()
438 sys_write32(0x0, RM_RING_REG(pd, idx, RING_CONTROL)); in init_ring()
445 sys_write32(RING_CONTROL_FLUSH, RM_RING_REG(pd, idx, in init_ring()
448 if (sys_read32(RM_RING_REG(pd, idx, RING_FLUSH_DONE)) & RING_FLUSH_DONE_MASK) { in init_ring()
461 sys_write32(0x0, RM_RING_REG(pd, idx, RING_CONTROL)); in init_ring()
477 sys_write32(val, RM_RING_REG(pd, idx, RING_CMPL_WR_PTR_DDR_CONTROL)); in init_ring()
480 RM_RING_REG(pd, idx, RING_DISABLE_MSI_TIMEOUT)); in init_ring()
483 sys_write32((uint32_t)desc, RM_RING_REG(pd, idx, RING_BD_START_ADDR)); in init_ring()
484 sys_write32((uint32_t)cmpl, RM_RING_REG(pd, idx, RING_CMPL_START_ADDR)); in init_ring()
485 val = sys_read32(RM_RING_REG(pd, idx, RING_BD_READ_PTR)); in init_ring()
496 sys_write32(0x0, RM_RING_REG(pd, idx, in init_ring()
562 wr_offs = sys_read32(RM_RING_REG(pd, idx, in process_cmpl_event()
585 is_outstanding = sys_read32(RM_RING_REG(pd, idx, in process_cmpl_event()
624 wr_offs = sys_read32(RM_RING_REG(pd, idx, in peek_ring_cmpl()
658 sys_read32(RM_RING_REG(pd, idx, in rm_isr()
661 RM_RING_REG(pd, idx, in rm_isr()
709 sys_read32(RM_RING_REG(pd, r, RING_VER))); in dma_iproc_pax_init()
889 val = sys_read32(RM_RING_REG(pd, idx, in set_pkt_count()
893 sys_write32(val, RM_RING_REG(pd, idx, in set_pkt_count()