Searched refs:open_mode (Results 1 – 7 of 7) sorted by relevance
236 if (!(audio_devs[dev]->open_mode & OPEN_WRITE)) in audio_write()313 if (!(audio_devs[dev]->open_mode & OPEN_READ)) in audio_read()387 if (!(audio_devs[dev]->open_mode & OPEN_WRITE)) in audio_ioctl()397 if (!(audio_devs[dev]->open_mode & OPEN_WRITE)) in audio_ioctl()422 if (!(audio_devs[dev]->open_mode & OPEN_READ)) in audio_ioctl()429 if (!(audio_devs[dev]->open_mode & OPEN_WRITE)) in audio_ioctl()444 audio_devs[dev]->open_mode == OPEN_READWRITE) in audio_ioctl()487 if (audio_devs[dev]->open_mode != OPEN_READWRITE) in audio_ioctl()494 if (audio_devs[dev]->open_mode & OPEN_WRITE) in audio_ioctl()496 if (audio_devs[dev]->open_mode & OPEN_READ) in audio_ioctl()[all …]
206 dmap->open_mode = mode; in open_dmap()315 adev->open_mode = mode; in DMAbuf_open()329 if (audio_devs[dev]->open_mode & OPEN_WRITE) in DMAbuf_reset()332 if (audio_devs[dev]->open_mode & OPEN_READ) in DMAbuf_reset()487 if (adev->open_mode & OPEN_WRITE) in DMAbuf_release()490 if (adev->open_mode & OPEN_READ){ in DMAbuf_release()494 if (adev->open_mode & OPEN_WRITE) in DMAbuf_release()505 if (adev->open_mode & OPEN_WRITE) in DMAbuf_release()508 if (adev->open_mode == OPEN_READ || in DMAbuf_release()509 (adev->open_mode != OPEN_WRITE && in DMAbuf_release()[all …]
101 int open_mode; member140 int open_mode; member386 if (portc->open_mode || (devc->open_mode & mode)) { in waveartist_open()392 devc->open_mode |= mode; in waveartist_open()393 portc->open_mode = mode; in waveartist_open()419 devc->open_mode &= ~portc->open_mode; in waveartist_close()420 portc->open_mode = 0; in waveartist_close()678 if (portc->open_mode & OPEN_WRITE) in waveartist_halt()681 if (portc->open_mode & OPEN_READ) in waveartist_halt()763 if (portc->open_mode & OPEN_READ && in waveartist_trigger()[all …]
43 static int open_mode; variable223 open_mode = mode; in pas_audio_open()334 state &= open_mode; in pas_audio_trigger()
75 int open_mode; member108 int open_mode; member979 if (portc->open_mode || (devc->open_mode & mode)) in ad1848_open()992 devc->open_mode |= mode; in ad1848_open()993 portc->open_mode = mode; in ad1848_open()1023 devc->open_mode &= ~portc->open_mode; in ad1848_close()1024 portc->open_mode = 0; in ad1848_close()1313 if (bits & 0x01 && (portc->open_mode & OPEN_WRITE)) in ad1848_halt()1316 if (bits & 0x02 && (portc->open_mode & OPEN_READ)) in ad1848_halt()1405 if (portc->open_mode & OPEN_READ) in ad1848_trigger()[all …]
106 int open_mode; member216 int open_mode; member
313 fmode_t open_mode; member2392 s->open_mode &= ~FMODE_WRITE; in cs4297a_release()2401 s->open_mode &= ~FMODE_READ; in cs4297a_release()2451 while (s->open_mode & FMODE_WRITE) { in cs4297a_locked_open()2468 while (s->open_mode & FMODE_READ) { in cs4297a_locked_open()2483 s->open_mode |= file->f_mode & (FMODE_READ | FMODE_WRITE); in cs4297a_locked_open()