Home
last modified time | relevance | path

Searched refs:open_mode (Results 1 – 7 of 7) sorted by relevance

/sound/oss/
Daudio.c236 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 …]
Ddmabuf.c206 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 …]
Dwaveartist.c101 int open_mode; member
140 int open_mode; member
386 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 …]
Dpas2_pcm.c43 static int open_mode; variable
223 open_mode = mode; in pas_audio_open()
334 state &= open_mode; in pas_audio_trigger()
Dad1848.c75 int open_mode; member
108 int open_mode; member
979 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 …]
Ddev_table.h106 int open_mode; member
216 int open_mode; member
Dswarm_cs4297a.c313 fmode_t open_mode; member
2392 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()