Lines Matching refs:qtail
169 dmap->qlen = dmap->qhead = dmap->qtail = dmap->user_counter = 0; in dma_init_buffers()
372 dmap->qlen = dmap->qhead = dmap->qtail = dmap->user_counter = 0; in dma_reset_output()
390 dmap->qlen = dmap->qhead = dmap->qtail = dmap->user_counter = 0; in dma_reset_input()
533 adev->d->start_input(dev, dmap->raw_buf_phys + dmap->qtail * dmap->fragment_size, in DMAbuf_activate_recording()
655 if (dmap->qtail == 0) in DMAbuf_get_buffer_pointer()
884 dmap->counts[dmap->qtail] = dmap->fragment_size; in DMAbuf_move_wrpointer()
885 dmap->qtail = (dmap->qtail + 1) % dmap->nbufs; in DMAbuf_move_wrpointer()
890 dmap->counts[dmap->qtail] = dmap->user_counter - ptr; in DMAbuf_move_wrpointer()
1013 dmap->qtail = (dmap->qtail + 1) % dmap->nbufs; in do_outputintr()
1065 dmap->qtail = (dmap->qtail + 1) % dmap->nbufs; in do_inputintr()
1066 if (dmap->qtail == 0) { /* Wrapped */ in do_inputintr()
1081 adev->d->start_input(dev, dmap->raw_buf_phys + dmap->qtail * dmap->fragment_size, in do_inputintr()
1093 dmap->qtail = (dmap->qtail + 1) % dmap->nbufs; in do_inputintr()
1096 dmap->qtail = (dmap->qtail + 1) % dmap->nbufs; in do_inputintr()
1097 if (dmap->qtail == 0) { /* Wrapped */ in do_inputintr()
1109 …adev->d->start_input(dev, dmap->raw_buf_phys + dmap->qtail * dmap->fragment_size, dmap->fragment_s… in do_inputintr()
1148 while (dmap->qtail != pos && ++n < dmap->nbufs) in DMAbuf_inputintr()