Searched refs:rd_offs (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/sound/soc/uniphier/ |
D | aio-core.c | 55 return rb_cnt(sub->wr_offs, sub->rd_offs, sub->compr_bytes); in aio_rb_cnt() 60 return rb_cnt_to_end(sub->wr_offs, sub->rd_offs, sub->compr_bytes); in aio_rbt_cnt_to_end() 65 return rb_space(sub->wr_offs, sub->rd_offs, sub->compr_bytes); in aio_rb_space() 70 return rb_space_to_end(sub->wr_offs, sub->rd_offs, sub->compr_bytes); in aio_rb_space_to_end() 1178 sub->rd_offs = 0; in aiodma_rb_set_buffer() 1192 sub->rd_offs = aiodma_rb_get_rp(sub) - start; in aiodma_rb_sync() 1198 sub->wr_offs = sub->rd_offs - period; in aiodma_rb_sync() 1199 if (sub->rd_offs < period) in aiodma_rb_sync() 1210 sub->rd_offs = sub->wr_offs - period; in aiodma_rb_sync() 1212 sub->rd_offs += size; in aiodma_rb_sync() [all …]
|
D | aio-compress.c | 267 pos = sub->rd_offs; in uniphier_aio_compr_pointer() 352 dma_addr_t dmapos = sub->compr_addr + sub->rd_offs; in uniphier_aio_compr_copy() 357 ret = copy_to_user(buf, sub->compr_area + sub->rd_offs, s); in uniphier_aio_compr_copy() 373 sub->rd_offs += s; in uniphier_aio_compr_copy() 374 if (sub->rd_offs >= sub->compr_bytes) in uniphier_aio_compr_copy() 375 sub->rd_offs -= sub->compr_bytes; in uniphier_aio_compr_copy()
|
D | aio.h | 257 u64 rd_offs; member
|
D | aio-dma.c | 186 pos = bytes_to_frames(runtime, sub->rd_offs); in uniphier_aiodma_pointer()
|