Home
last modified time | relevance | path

Searched refs:DATA_AVAIL (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/drivers/sound/
Dmidibuf.c59 #define DATA_AVAIL(q) (q->len) macro
73 if (DATA_AVAIL(q)) \
132 while (DATA_AVAIL(midi_out_buf[dev])) in midi_poll()
146 if (DATA_AVAIL(midi_out_buf[dev]) < 100) in midi_poll()
243 while (!signal_pending(current) && DATA_AVAIL(midi_out_buf[dev])) in MIDIbuf_release()
333 if (!DATA_AVAIL(midi_in_buf[dev])) { /* in MIDIbuf_read()
346 if (c == 0 && DATA_AVAIL(midi_in_buf[dev])) /* in MIDIbuf_read()
350 n = DATA_AVAIL(midi_in_buf[dev]); in MIDIbuf_read()
413 if (DATA_AVAIL(midi_in_buf[dev])) in MIDIbuf_poll()
437 return DATA_AVAIL (midi_in_buf[dev]); in MIDIbuf_avail()