Home
last modified time | relevance | path

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

/linux-3.4.99/sound/oss/
Dsound_config.h110 #define OPEN_WRITE PCM_ENABLE_OUTPUT macro
111 #define OPEN_READWRITE (OPEN_READ|OPEN_WRITE)
116 OPEN_WRITE == (__force int)FMODE_WRITE) in translate_mode()
120 ((file->f_mode & FMODE_WRITE) ? OPEN_WRITE : 0); in translate_mode()
Daudio.c199 if (mode & OPEN_WRITE) in audio_release()
236 if (!(audio_devs[dev]->open_mode & OPEN_WRITE)) in audio_write()
387 if (!(audio_devs[dev]->open_mode & OPEN_WRITE)) in audio_ioctl()
397 if (!(audio_devs[dev]->open_mode & OPEN_WRITE)) in audio_ioctl()
429 if (!(audio_devs[dev]->open_mode & OPEN_WRITE)) in audio_ioctl()
494 if (audio_devs[dev]->open_mode & OPEN_WRITE) in audio_ioctl()
502 if (!(audio_devs[dev]->open_mode & OPEN_WRITE)) in audio_ioctl()
756 if (audio_devs[dev]->open_mode & OPEN_WRITE) in dma_ioctl()
760 if (audio_devs[dev]->open_mode != OPEN_WRITE || in dma_ioctl()
773 if (cmd == SNDCTL_DSP_GETOSPACE && !(audio_devs[dev]->open_mode & OPEN_WRITE)) in dma_ioctl()
[all …]
Ddmabuf.c297 if (mode & OPEN_WRITE) { in DMAbuf_open()
305 if (mode == OPEN_READ || (mode != OPEN_WRITE && (adev->flags & DMA_DUPLEX))) { in DMAbuf_open()
308 if (mode & OPEN_WRITE) in DMAbuf_open()
327 if (audio_devs[dev]->open_mode & OPEN_WRITE) in DMAbuf_reset()
486 if (adev->open_mode & OPEN_WRITE) in DMAbuf_release()
493 if (adev->open_mode & OPEN_WRITE) in DMAbuf_release()
504 if (adev->open_mode & OPEN_WRITE) in DMAbuf_release()
508 (adev->open_mode != OPEN_WRITE && in DMAbuf_release()
1232 if (!(adev->open_mode & OPEN_WRITE)) in poll_output()
Dpas2_midi.c74 if (mode == OPEN_WRITE || mode == OPEN_READWRITE) in pas_midi_open()
Ddev_table.h231 #define AM_WRITE OPEN_WRITE
Dwaveartist.c397 if (mode & OPEN_WRITE) in waveartist_open()
666 if (portc->open_mode & OPEN_WRITE) in waveartist_halt()
754 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.c1001 if (mode & OPEN_WRITE) in ad1848_open()
1317 if (bits & 0x01 && (portc->open_mode & OPEN_WRITE)) in ad1848_halt()
1416 if (portc->open_mode & OPEN_WRITE) in ad1848_trigger()
2251 if ((devc->open_mode & OPEN_WRITE) && (devc->audio_mode & PCM_ENABLE_OUTPUT) && in adintr()
Dsequencer.c1389 if (mode == OPEN_WRITE) in sequencer_ioctl()