Searched refs:qtail (Results 1 – 8 of 8) sorted by relevance
28 static volatile unsigned char qhead, qtail; variable87 qlen = qhead = qtail = 0; in pas_midi_open()163 tmp_queue[qtail] = midi_byte; in pas_midi_out()165 qtail++; in pas_midi_out()
34 static volatile unsigned char qhead, qtail; variable65 qlen = qhead = qtail = output_used = 0; in gus_midi_open()148 tmp_queue[qtail] = midi_byte; in gus_midi_out()150 qtail++; in gus_midi_out()
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()[all …]
71 static volatile int qhead = 0, qtail = 0, qlen = 0; variable352 memcpy(&queue[qtail * EV_SZ], note, EV_SZ); in seq_queue()354 qtail = (qtail + 1) % SEQ_MAX_QUEUE; in seq_queue()1256 qlen = qhead = qtail = 0; in seq_reset()
112 int qtail; member
160 p = dmap->qtail; in sync_output()891 if (cinfo.ptr < dmap_in->fragment_size && dmap_in->qtail != 0) in dma_ioctl()
93 card_mpuin->qtail = 0; in emu10k1_mpuin_open()190 card_mpuin->qtail = 0; in emu10k1_mpuin_start()319 while (card_mpuin->qhead != card_mpuin->qtail) { in emu10k1_mpuin_bh()348 idx = card_mpuin->qtail; in emu10k1_mpuin_irqhandler()362 card_mpuin->qtail = idx; in emu10k1_mpuin_irqhandler()
72 unsigned qhead, qtail; member