Searched refs:dbuf_depth (Results 1 – 1 of 1) sorted by relevance
170 u32 dbuf_depth; in mei_dma_ring_read() local181 dbuf_depth = dev->dr_dscr[DMA_DSCR_DEVICE].size >> 2; in mei_dma_ring_read()182 rd_idx = READ_ONCE(ctrl->dbuf_rd_idx) & (dbuf_depth - 1); in mei_dma_ring_read()189 if (rd_idx + slots > dbuf_depth) { in mei_dma_ring_read()190 buf += mei_dma_copy_from(dev, buf, rd_idx, dbuf_depth - rd_idx); in mei_dma_ring_read()191 rem = slots - (dbuf_depth - rd_idx); in mei_dma_ring_read()