Home
last modified time | relevance | path

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

/linux-2.6.39/sound/oss/
Dmidibuf.c58 #define DATA_AVAIL(q) (q->len) macro
72 if (DATA_AVAIL(q)) \
130 while (DATA_AVAIL(midi_out_buf[dev])) in midi_poll()
144 if (DATA_AVAIL(midi_out_buf[dev]) < 100) in midi_poll()
236 while (!signal_pending(current) && DATA_AVAIL(midi_out_buf[dev])) in MIDIbuf_release()
321 if (!DATA_AVAIL(midi_in_buf[dev])) { /* in MIDIbuf_read()
334 if (c == 0 && DATA_AVAIL(midi_in_buf[dev])) /* in MIDIbuf_read()
338 n = DATA_AVAIL(midi_in_buf[dev]); in MIDIbuf_read()
406 if (DATA_AVAIL(midi_in_buf[dev])) in MIDIbuf_poll()
421 return DATA_AVAIL (midi_in_buf[dev]); in MIDIbuf_avail()
/linux-2.6.39/sound/isa/sb/
Dsb_common.c63 if (inb(SBP(chip, DATA_AVAIL)) & 0x80) { in snd_sbdsp_get_byte()
84 if (inb(SBP(chip, DATA_AVAIL)) & 0x80) { in snd_sbdsp_reset()
Dsb8_midi.c46 inb(SBP(chip, DATA_AVAIL)); /* ack interrupt */ in snd_sb8dsp_midi_interrupt()
52 if (inb(SBP(chip, DATA_AVAIL)) & 0x80) { in snd_sb8dsp_midi_interrupt()
/linux-2.6.39/sound/isa/es1688/
Des1688_lib.c58 if (inb(ES1688P(chip, DATA_AVAIL)) & 0x80) in snd_es1688_dsp_get_byte()
60 …1688 get byte failed: 0x%lx = 0x%x!!!\n", ES1688P(chip, DATA_AVAIL), inb(ES1688P(chip, DATA_AVAIL)… in snd_es1688_dsp_get_byte()
110 for (i = 0; i < 1000 && !(inb(ES1688P(chip, DATA_AVAIL)) & 0x80); i++); in snd_es1688_reset()
151 if (inb(ES1688P(chip, DATA_AVAIL)) & 0x80) { in snd_es1688_probe()
498 inb(ES1688P(chip, DATA_AVAIL)); /* ack interrupt */ in snd_es1688_interrupt()
/linux-2.6.39/drivers/input/keyboard/
Dspear-keyboard.c46 #define DATA_AVAIL 0x2 macro
72 if (!(sts & DATA_AVAIL)) in spear_kbd_interrupt()
/linux-2.6.39/include/sound/
Dsb.h282 inb(SBP(chip, DATA_AVAIL)); in snd_sb_ack_8bit()