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 …]
208 dmap->open_mode = mode; in open_dmap()317 adev->open_mode = mode; in DMAbuf_open()331 if (audio_devs[dev]->open_mode & OPEN_WRITE) in DMAbuf_reset()334 if (audio_devs[dev]->open_mode & OPEN_READ) in DMAbuf_reset()489 if (adev->open_mode & OPEN_WRITE) in DMAbuf_release()492 if (adev->open_mode & OPEN_READ){ in DMAbuf_release()496 if (adev->open_mode & OPEN_WRITE) in DMAbuf_release()507 if (adev->open_mode & OPEN_WRITE) in DMAbuf_release()510 if (adev->open_mode == OPEN_READ || in DMAbuf_release()511 (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; member974 if (portc->open_mode || (devc->open_mode & mode)) in ad1848_open()987 devc->open_mode |= mode; in ad1848_open()988 portc->open_mode = mode; in ad1848_open()1018 devc->open_mode &= ~portc->open_mode; in ad1848_close()1019 portc->open_mode = 0; in ad1848_close()1308 if (bits & 0x01 && (portc->open_mode & OPEN_WRITE)) in ad1848_halt()1311 if (bits & 0x02 && (portc->open_mode & OPEN_READ)) in ad1848_halt()1400 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()