Searched refs:tail (Results 1 – 15 of 15) sorted by relevance
/sound/core/seq/ |
D | seq_prioq.c | 52 f->tail = NULL; in snd_seq_prioq_new() 150 if (f->tail && !prior) { in snd_seq_prioq_cell_in() 151 if (compare_timestamp(&cell->event, &f->tail->event)) { in snd_seq_prioq_cell_in() 153 f->tail->next = cell; in snd_seq_prioq_cell_in() 154 f->tail = cell; in snd_seq_prioq_cell_in() 196 f->tail = cell; in snd_seq_prioq_cell_in() 231 if (f->tail == cell) in snd_seq_prioq_cell_out() 232 f->tail = NULL; in snd_seq_prioq_cell_out() 294 if (cell == f->tail) in snd_seq_prioq_leave() 295 f->tail = cell->next; in snd_seq_prioq_leave() [all …]
|
D | seq_fifo.c | 43 f->tail = NULL; in snd_seq_fifo_new() 122 if (f->tail != NULL) in snd_seq_fifo_event_in() 123 f->tail->next = cell; in snd_seq_fifo_event_in() 124 f->tail = cell; in snd_seq_fifo_event_in() 151 if (f->tail == cell) in fifo_cell_out() 152 f->tail = NULL; in fifo_cell_out() 208 if (!f->tail) in snd_seq_fifo_cell_putback() 209 f->tail = cell; in snd_seq_fifo_cell_putback() 249 f->tail = NULL; in snd_seq_fifo_resize()
|
D | seq_memory.c | 315 struct snd_seq_event_cell *src, *tmp, *tail; in snd_seq_event_dup() local 323 tail = NULL; in snd_seq_event_dup() 335 if (tail) in snd_seq_event_dup() 336 tail->next = tmp; in snd_seq_event_dup() 337 tail = tmp; in snd_seq_event_dup()
|
D | seq_prioq.h | 16 struct snd_seq_event_cell *tail; /* pointer to tail of prioq */ member
|
D | seq_fifo.h | 18 struct snd_seq_event_cell *tail; /* pointer to tail of fifo */ member
|
/sound/isa/msnd/ |
D | msnd_midi.c | 72 u16 tail; in snd_msndmidi_input_drop() local 74 tail = readw(mpu->dev->MIDQ + JQS_wTail); in snd_msndmidi_input_drop() 75 writew(tail, mpu->dev->MIDQ + JQS_wHead); in snd_msndmidi_input_drop() 108 u16 head, tail, size; in snd_msndmidi_input_read() local 112 tail = readw(mpu->dev->MIDQ + JQS_wTail); in snd_msndmidi_input_read() 114 if (head > size || tail > size) in snd_msndmidi_input_read() 116 while (head != tail) { in snd_msndmidi_input_read()
|
D | msnd_pinnacle.c | 159 u16 head, tail, size; in snd_msnd_interrupt() local 166 tail = readw(chip->DSPQ + JQS_wTail); in snd_msnd_interrupt() 168 if (head > size || tail > size) in snd_msnd_interrupt() 170 while (head != tail) { in snd_msnd_interrupt()
|
/sound/core/seq/oss/ |
D | seq_oss_readq.c | 49 q->head = q->tail = 0; in snd_seq_oss_readq_new() 78 q->head = q->tail = 0; in snd_seq_oss_readq_clear() 151 memcpy(&q->q[q->tail], ev, sizeof(*ev)); in snd_seq_oss_readq_put_event() 152 q->tail = (q->tail + 1) % q->maxlen; in snd_seq_oss_readq_put_event() 184 (q->qlen > 0 || q->head == q->tail), in snd_seq_oss_readq_wait()
|
D | seq_oss_readq.h | 22 int head, tail; member
|
/sound/firewire/ |
D | amdtp-stream.h | 148 unsigned int tail; member 162 unsigned int tail; member
|
D | amdtp-stream.c | 500 unsigned int cycles = s->ctx_data.tx.cache.tail; in calculate_cached_cycle_count() 514 unsigned int cache_tail = s->ctx_data.tx.cache.tail; in cache_seq() 531 s->ctx_data.tx.cache.tail = cache_tail; in cache_seq() 537 unsigned int seq_tail = s->ctx_data.rx.seq.tail; in pool_ideal_seq_descs() 547 s->ctx_data.rx.seq.tail = (seq_tail + count) % seq_size; in pool_ideal_seq_descs() 558 unsigned int seq_tail = s->ctx_data.rx.seq.tail; in pool_replayed_seq() 567 s->ctx_data.rx.seq.tail = seq_tail; in pool_replayed_seq() 1619 s->ctx_data.tx.cache.tail = 0; in amdtp_stream_start() 1647 s->ctx_data.rx.seq.tail = 0; in amdtp_stream_start()
|
/sound/pci/ |
D | sis7019.c | 730 u16 tail = vperiod % period_size; in sis_prepare_timing_voice() local 733 if (tail && tail < quarter_period) { in sis_prepare_timing_voice() 736 tail = quarter_period - tail; in sis_prepare_timing_voice() 737 tail += loops - 1; in sis_prepare_timing_voice() 738 tail /= loops; in sis_prepare_timing_voice() 739 period_size -= tail; in sis_prepare_timing_voice()
|
/sound/firewire/motu/ |
D | amdtp-motu.c | 308 unsigned int cache_tail = cache->tail; in cache_event_offsets() 327 cache->tail = cache_tail; in cache_event_offsets()
|
D | motu.h | 45 unsigned int tail; member
|
D | motu-stream.c | 285 motu->cache.tail = 0; in snd_motu_stream_start_duplex()
|