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

/linux-4.4.14/sound/oss/
H A Dmidibuf.c58 #define DATA_AVAIL(q) (q->len) macro
72 if (DATA_AVAIL(q)) \
129 while (DATA_AVAIL(midi_out_buf[dev])) midi_poll()
143 if (DATA_AVAIL(midi_out_buf[dev]) < 100) midi_poll()
236 !DATA_AVAIL(midi_out_buf[dev])); MIDIbuf_release()
320 if (!DATA_AVAIL(midi_in_buf[dev])) { /* MIDIbuf_read()
328 DATA_AVAIL(midi_in_buf[dev]), MIDIbuf_read()
334 if (c == 0 && DATA_AVAIL(midi_in_buf[dev])) /* MIDIbuf_read()
338 n = DATA_AVAIL(midi_in_buf[dev]); MIDIbuf_read()
406 if (DATA_AVAIL(midi_in_buf[dev])) MIDIbuf_poll()
421 return DATA_AVAIL (midi_in_buf[dev]); MIDIbuf_avail()
/linux-4.4.14/sound/isa/sb/
H A Dsb8_midi.c46 inb(SBP(chip, DATA_AVAIL)); /* ack interrupt */ snd_sb8dsp_midi_interrupt()
52 if (inb(SBP(chip, DATA_AVAIL)) & 0x80) { snd_sb8dsp_midi_interrupt()
H A Dsb_common.c64 if (inb(SBP(chip, DATA_AVAIL)) & 0x80) { snd_sbdsp_get_byte()
85 if (inb(SBP(chip, DATA_AVAIL)) & 0x80) { snd_sbdsp_reset()
/linux-4.4.14/sound/isa/es1688/
H A Des1688_lib.c59 if (inb(ES1688P(chip, DATA_AVAIL)) & 0x80) snd_es1688_dsp_get_byte()
61 snd_printd("es1688 get byte failed: 0x%lx = 0x%x!!!\n", ES1688P(chip, DATA_AVAIL), inb(ES1688P(chip, DATA_AVAIL))); snd_es1688_dsp_get_byte()
111 for (i = 0; i < 1000 && !(inb(ES1688P(chip, DATA_AVAIL)) & 0x80); i++); snd_es1688_reset()
152 if (inb(ES1688P(chip, DATA_AVAIL)) & 0x80) { snd_es1688_probe()
499 inb(ES1688P(chip, DATA_AVAIL)); /* ack interrupt */ snd_es1688_interrupt()
/linux-4.4.14/include/sound/
H A Dsb.h282 inb(SBP(chip, DATA_AVAIL)); snd_sb_ack_8bit()

Completed in 264 milliseconds