aiodma_rb_set_wp
aiodma_rb_set_wp(sub, end - period);
aiodma_rb_set_wp(sub, start);
aiodma_rb_set_wp(sub, sub->wr_offs + start);