Lines Matching refs:counts
412 if (dmap->counts[dmap->qhead] == 0) in DMAbuf_launch_output()
413 dmap->counts[dmap->qhead] = dmap->fragment_size; in DMAbuf_launch_output()
416 dmap->counts[dmap->qhead], 1); in DMAbuf_launch_output()
592 *buf = &dmap->raw_buf[dmap->qhead * dmap->fragment_size + dmap->counts[dmap->qhead]]; in DMAbuf_getrdbuffer()
593 *len = dmap->fragment_size - dmap->counts[dmap->qhead]; in DMAbuf_getrdbuffer()
602 int p = dmap->counts[dmap->qhead] + c; in DMAbuf_rmchars()
612 dmap->counts[dmap->qhead] = 0; in DMAbuf_rmchars()
616 else dmap->counts[dmap->qhead] = p; in DMAbuf_rmchars()
884 dmap->counts[dmap->qtail] = dmap->fragment_size; in DMAbuf_move_wrpointer()
890 dmap->counts[dmap->qtail] = dmap->user_counter - ptr; in DMAbuf_move_wrpointer()
975 dmap->counts[dmap->qhead] = dmap->fragment_size; in do_outputintr()