Searched refs:dbuf_depth (Results 1 – 1 of 1) sorted by relevance
174 u32 dbuf_depth; in mei_dma_ring_read() local185 dbuf_depth = dev->dr_dscr[DMA_DSCR_DEVICE].size >> 2; in mei_dma_ring_read()186 rd_idx = READ_ONCE(ctrl->dbuf_rd_idx) & (dbuf_depth - 1); in mei_dma_ring_read()193 if (rd_idx + slots > dbuf_depth) { in mei_dma_ring_read()194 buf += mei_dma_copy_from(dev, buf, rd_idx, dbuf_depth - rd_idx); in mei_dma_ring_read()195 rem = slots - (dbuf_depth - rd_idx); in mei_dma_ring_read()