Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/sound/
Dsound_config.h111 #define OPEN_WRITE PCM_ENABLE_OUTPUT macro
112 #define OPEN_READWRITE (OPEN_READ|OPEN_WRITE)
114 #if OPEN_READ == FMODE_READ && OPEN_WRITE == FMODE_WRITE
126 ((file->f_mode & FMODE_WRITE) ? OPEN_WRITE : 0); in translate_mode()
Daudio.c198 if (mode & OPEN_WRITE) in audio_release()
238 if (!(audio_devs[dev]->open_mode & OPEN_WRITE)) in audio_write()
397 if (!(audio_devs[dev]->open_mode & OPEN_WRITE)) in audio_ioctl()
407 if (!(audio_devs[dev]->open_mode & OPEN_WRITE)) in audio_ioctl()
439 if (!(audio_devs[dev]->open_mode & OPEN_WRITE)) in audio_ioctl()
502 if (audio_devs[dev]->open_mode & OPEN_WRITE) in audio_ioctl()
510 if (!(audio_devs[dev]->open_mode & OPEN_WRITE)) in audio_ioctl()
765 if (audio_devs[dev]->open_mode & OPEN_WRITE) in dma_ioctl()
769 if (audio_devs[dev]->open_mode != OPEN_WRITE || in dma_ioctl()
782 if (cmd == SNDCTL_DSP_GETOSPACE && !(audio_devs[dev]->open_mode & OPEN_WRITE)) in dma_ioctl()
[all …]
Ddmabuf.c295 if (mode & OPEN_WRITE) { in DMAbuf_open()
303 if (mode == OPEN_READ || (mode != OPEN_WRITE && (adev->flags & DMA_DUPLEX))) { in DMAbuf_open()
306 if (mode & OPEN_WRITE) in DMAbuf_open()
325 if (audio_devs[dev]->open_mode & OPEN_WRITE) in DMAbuf_reset()
479 if (adev->open_mode & OPEN_WRITE) in DMAbuf_release()
484 if (adev->open_mode & OPEN_WRITE) in DMAbuf_release()
496 if (adev->open_mode & OPEN_WRITE) in DMAbuf_release()
500 (adev->open_mode != OPEN_WRITE && in DMAbuf_release()
1260 if (!(adev->open_mode & OPEN_WRITE)) in poll_output()
Dpas2_midi.c72 if (mode == OPEN_WRITE || mode == OPEN_READWRITE) in pas_midi_open()
Dnm256_audio.c1321 if (! ((mode & OPEN_READ) || (mode & OPEN_WRITE))) in nm256_audio_open()
1332 if ((mode & OPEN_WRITE) && (mode & OPEN_READ)) { in nm256_audio_open()
1334 mode = OPEN_WRITE; in nm256_audio_open()
1340 if (mode & OPEN_WRITE) { in nm256_audio_open()
Ddev_table.h228 #define AM_WRITE OPEN_WRITE
Dwaveartist.c404 if (mode & OPEN_WRITE) in waveartist_open()
673 if (portc->open_mode & OPEN_WRITE) in waveartist_halt()
761 if (portc->open_mode & OPEN_WRITE && in waveartist_trigger()
Dsb_audio.c69 ((mode & OPEN_READ) && (mode & OPEN_WRITE)); in sb_audio_open()
104 && (devc->opened & OPEN_READ) && (devc->opened & OPEN_WRITE)) in sb_audio_close()
Dad1848.c1011 if (mode & OPEN_WRITE) in ad1848_open()
1331 if (bits & 0x01 && (portc->open_mode & OPEN_WRITE)) in ad1848_halt()
1433 if (portc->open_mode & OPEN_WRITE) in ad1848_trigger()
2273 if ((devc->open_mode & OPEN_WRITE) && (devc->audio_mode & PCM_ENABLE_OUTPUT) && in adintr()
Dsequencer.c1402 if (mode == OPEN_WRITE) in sequencer_ioctl()
Dgus_wave.c2258 only_read_access = !(mode & OPEN_WRITE); in gus_audio_open()