aiodma_rb_set_rp
aiodma_rb_set_rp(sub, start);
aiodma_rb_set_rp(sub, end - period);
aiodma_rb_set_rp(sub, sub->rd_offs + start);