Lines Matching refs:wr_offs
470 uint32_t wr_offs, rd_offs, ret = DMA_STATUS_COMPLETE; in process_cmpl_event() local
478 wr_offs = sys_read32(RM_RING_REG(pd, idx, in process_cmpl_event()
482 ring->curr.cmpl_rd_offs = wr_offs; in process_cmpl_event()
496 PAX_DMA_CMPL_DESC_SIZE * PAX_DMA_CURR_CMPL_IDX(wr_offs)); in process_cmpl_event()
499 idx, wr_offs, c->opq, c->rm_status, c->dma_status); in process_cmpl_event()
511 idx, wr_offs, c->rm_status); in process_cmpl_event()
529 uint32_t wr_offs, rd_offs, timeout = PAX_DMA_MAX_POLL_WAIT; in peek_ring_cmpl() local
537 wr_offs = sys_read32(RM_RING_REG(pd, idx, in peek_ring_cmpl()
539 if (PAX_DMA_GET_CMPL_COUNT(wr_offs, rd_offs) >= pl_len) { in peek_ring_cmpl()
547 idx, PAX_DMA_GET_CMPL_COUNT(wr_offs, rd_offs), pl_len); in peek_ring_cmpl()
549 LOG_ERR("WR_PTR:%x RD_PTR%x\n", wr_offs, rd_offs); in peek_ring_cmpl()