Searched refs:OPEN_WRITE (Results 1 – 11 of 11) sorted by relevance
111 #define OPEN_WRITE PCM_ENABLE_OUTPUT macro112 #define OPEN_READWRITE (OPEN_READ|OPEN_WRITE)114 #if OPEN_READ == FMODE_READ && OPEN_WRITE == FMODE_WRITE126 ((file->f_mode & FMODE_WRITE) ? OPEN_WRITE : 0); in translate_mode()
198 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 …]
295 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()
72 if (mode == OPEN_WRITE || mode == OPEN_READWRITE) in pas_midi_open()
1321 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()
228 #define AM_WRITE OPEN_WRITE
404 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()
69 ((mode & OPEN_READ) && (mode & OPEN_WRITE)); in sb_audio_open()104 && (devc->opened & OPEN_READ) && (devc->opened & OPEN_WRITE)) in sb_audio_close()
1011 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()
1402 if (mode == OPEN_WRITE) in sequencer_ioctl()
2258 only_read_access = !(mode & OPEN_WRITE); in gus_audio_open()