Lines Matching refs:wr_ptr
165 u32 rd_ptr, wr_ptr; in coda_kfifo_sync_to_device_full() local
169 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_full()
170 coda_write(dev, wr_ptr, CODA_REG_BIT_WR_PTR(ctx->reg_idx)); in coda_kfifo_sync_to_device_full()
177 u32 wr_ptr; in coda_kfifo_sync_to_device_write() local
179 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_write()
180 coda_write(dev, wr_ptr, CODA_REG_BIT_WR_PTR(ctx->reg_idx)); in coda_kfifo_sync_to_device_write()
1630 u32 wr_ptr, start_ptr; in coda_finish_encode() local
1645 wr_ptr = coda_read(dev, CODA_REG_BIT_WR_PTR(ctx->reg_idx)); in coda_finish_encode()
1650 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, wr_ptr - start_ptr + in coda_finish_encode()
1655 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, wr_ptr - start_ptr); in coda_finish_encode()
1658 coda_dbg(1, ctx, "frame size = %u\n", wr_ptr - start_ptr); in coda_finish_encode()