Searched refs:rd_offs (Results 1 – 4 of 4) sorted by relevance
55 return rb_cnt(sub->wr_offs, sub->rd_offs, sub->compr_bytes); in aio_rb_cnt()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()1214 aiodma_rb_set_rp(sub, sub->rd_offs + start); in aiodma_rb_sync()1217 sub->rd_total += sub->rd_offs - sub->rd_org; in aiodma_rb_sync()1218 if (sub->rd_offs < sub->rd_org) in aiodma_rb_sync()[all …]
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()
257 u64 rd_offs; member
186 pos = bytes_to_frames(runtime, sub->rd_offs); in uniphier_aiodma_pointer()
Completed in 10 milliseconds