Searched refs:OPEN_WRITE (Results 1 – 9 of 9) sorted by relevance
110 #define OPEN_WRITE PCM_ENABLE_OUTPUT macro111 #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()
199 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 …]
298 if (mode & OPEN_WRITE) { in DMAbuf_open()306 if (mode == OPEN_READ || (mode != OPEN_WRITE && (adev->flags & DMA_DUPLEX))) { in DMAbuf_open()309 if (mode & OPEN_WRITE) in DMAbuf_open()328 if (audio_devs[dev]->open_mode & OPEN_WRITE) in DMAbuf_reset()487 if (adev->open_mode & OPEN_WRITE) in DMAbuf_release()494 if (adev->open_mode & OPEN_WRITE) in DMAbuf_release()505 if (adev->open_mode & OPEN_WRITE) in DMAbuf_release()509 (adev->open_mode != OPEN_WRITE && in DMAbuf_release()1233 if (!(adev->open_mode & OPEN_WRITE)) in poll_output()
74 if (mode == OPEN_WRITE || mode == OPEN_READWRITE) in pas_midi_open()
231 #define AM_WRITE OPEN_WRITE
397 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()
69 ((mode & OPEN_READ) && (mode & OPEN_WRITE)); in sb_audio_open()104 && (devc->opened & OPEN_READ) && (devc->opened & OPEN_WRITE)) in sb_audio_close()
1001 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()
1395 if (mode == OPEN_WRITE) in sequencer_ioctl()