Searched refs:qtail (Results 1 – 6 of 6) sorted by relevance
31 static volatile unsigned char qhead, qtail; variable89 qlen = qhead = qtail = 0; in pas_midi_open()163 tmp_queue[qtail] = midi_byte; in pas_midi_out()165 qtail++; in pas_midi_out()
172 dmap->qlen = dmap->qhead = dmap->qtail = dmap->user_counter = 0; in dma_init_buffers()376 dmap->qlen = dmap->qhead = dmap->qtail = dmap->user_counter = 0; in dma_reset_output()393 dmap->qlen = dmap->qhead = dmap->qtail = dmap->user_counter = 0; in dma_reset_input()545 adev->d->start_input(dev, dmap->raw_buf_phys + dmap->qtail * dmap->fragment_size, in DMAbuf_activate_recording()664 if (dmap->qtail == 0) in DMAbuf_get_buffer_pointer()891 dmap->counts[dmap->qtail] = dmap->fragment_size; in DMAbuf_move_wrpointer()892 dmap->qtail = (dmap->qtail + 1) % dmap->nbufs; in DMAbuf_move_wrpointer()897 dmap->counts[dmap->qtail] = dmap->user_counter - ptr; in DMAbuf_move_wrpointer()1020 dmap->qtail = (dmap->qtail + 1) % dmap->nbufs; in do_outputintr()1072 dmap->qtail = (dmap->qtail + 1) % dmap->nbufs; in do_inputintr()[all …]
68 static volatile int qhead, qtail, qlen; variable352 memcpy(&queue[qtail * EV_SZ], note, EV_SZ); in seq_queue()354 qtail = (qtail + 1) % SEQ_MAX_QUEUE; in seq_queue()1236 qlen = qhead = qtail = 0; in seq_reset()
113 int qtail; member
161 p = dmap->qtail; in sync_output()891 if (cinfo.ptr < dmap_in->fragment_size && dmap_in->qtail != 0) in dma_ioctl()
68 int qtail; member1211 prev = tu->qtail == 0 ? tu->queue_size - 1 : tu->qtail - 1; in snd_timer_user_interrupt()1221 r = &tu->queue[tu->qtail++]; in snd_timer_user_interrupt()1222 tu->qtail %= tu->queue_size; in snd_timer_user_interrupt()1239 memcpy(&tu->tqueue[tu->qtail++], tread, sizeof(*tread)); in snd_timer_user_append_to_tqueue()1240 tu->qtail %= tu->queue_size; in snd_timer_user_append_to_tqueue()1307 prev = tu->qtail == 0 ? tu->queue_size - 1 : tu->qtail - 1; in snd_timer_user_tinterrupt()1619 tu->qhead = tu->qtail = tu->qused = 0; in snd_timer_user_tselect()1769 tu->qhead = tu->qtail = tu->qused = 0; in snd_timer_user_params()1784 tu->qtail++; in snd_timer_user_params()