Lines Matching refs:wr_offs
554 uint32_t wr_offs, rd_offs, ret = 0; in process_cmpl_event() local
562 wr_offs = sys_read32(RM_RING_REG(pd, idx, in process_cmpl_event()
566 ring->curr.cmpl_rd_offs = wr_offs; in process_cmpl_event()
580 PAX_DMA_CMPL_DESC_SIZE * PAX_DMA_CURR_CMPL_IDX(wr_offs)); in process_cmpl_event()
583 idx, wr_offs, c->opq, c->rm_status, c->dma_status); in process_cmpl_event()
595 idx, wr_offs, c->rm_status); in process_cmpl_event()
616 uint32_t wr_offs, rd_offs, timeout = PAX_DMA_MAX_POLL_WAIT; in peek_ring_cmpl() local
624 wr_offs = sys_read32(RM_RING_REG(pd, idx, in peek_ring_cmpl()
626 if (PAX_DMA_GET_CMPL_COUNT(wr_offs, rd_offs) >= pl_len) { in peek_ring_cmpl()
634 idx, PAX_DMA_GET_CMPL_COUNT(wr_offs, rd_offs), pl_len); in peek_ring_cmpl()
636 LOG_ERR("WR_PTR:%x RD_PTR%x\n", wr_offs, rd_offs); in peek_ring_cmpl()