Searched refs:wr_offs (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.7.0/drivers/dma/ |
D | dma_iproc_pax_v1.c | 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() 546 idx, PAX_DMA_GET_CMPL_COUNT(wr_offs, rd_offs), pl_len); in peek_ring_cmpl() [all …]
|
D | dma_iproc_pax_v2.c | 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() 633 idx, PAX_DMA_GET_CMPL_COUNT(wr_offs, rd_offs), pl_len); in peek_ring_cmpl() [all …]
|