Home
last modified time | relevance | path

Searched refs:open_mode (Results 1 – 8 of 8) 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.c205 dmap->open_mode = mode; in open_dmap()
314 adev->open_mode = mode; in DMAbuf_open()
328 if (audio_devs[dev]->open_mode & OPEN_WRITE) in DMAbuf_reset()
331 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
385 if (portc->open_mode || (devc->open_mode & mode)) { in waveartist_open()
391 devc->open_mode |= mode; in waveartist_open()
392 portc->open_mode = mode; in waveartist_open()
416 devc->open_mode &= ~portc->open_mode; in waveartist_close()
417 portc->open_mode = 0; in waveartist_close()
666 if (portc->open_mode & OPEN_WRITE) in waveartist_halt()
669 if (portc->open_mode & OPEN_READ) in waveartist_halt()
747 if (portc->open_mode & OPEN_READ && in waveartist_trigger()
[all …]
Dpas2_pcm.c47 static int open_mode; variable
233 open_mode = mode; in pas_audio_open()
350 state &= open_mode; in pas_audio_trigger()
Dad1848.c77 int open_mode; member
110 int open_mode; member
981 if (portc->open_mode || (devc->open_mode & mode)) in ad1848_open()
994 devc->open_mode |= mode; in ad1848_open()
995 portc->open_mode = mode; in ad1848_open()
1027 devc->open_mode &= ~portc->open_mode; in ad1848_close()
1028 portc->open_mode = 0; in ad1848_close()
1317 if (bits & 0x01 && (portc->open_mode & OPEN_WRITE)) in ad1848_halt()
1320 if (bits & 0x02 && (portc->open_mode & OPEN_READ)) in ad1848_halt()
1409 if (portc->open_mode & OPEN_READ) in ad1848_trigger()
[all …]
Ddev_table.h106 int open_mode; member
216 int open_mode; member
Dswarm_cs4297a.c311 fmode_t open_mode; member
2390 s->open_mode &= ~FMODE_WRITE; in cs4297a_release()
2399 s->open_mode &= ~FMODE_READ; in cs4297a_release()
2449 while (s->open_mode & FMODE_WRITE) { in cs4297a_locked_open()
2466 while (s->open_mode & FMODE_READ) { in cs4297a_locked_open()
2481 s->open_mode |= file->f_mode & (FMODE_READ | FMODE_WRITE); in cs4297a_locked_open()
Dvwsnd.c1513 fmode_t open_mode; member
2938 while (devc->open_mode & file->f_mode) { in vwsnd_audio_open()
2953 devc->open_mode |= file->f_mode & (FMODE_READ | FMODE_WRITE); in vwsnd_audio_open()
3037 devc->open_mode &= ~file->f_mode; in vwsnd_audio_release()
3394 devc->open_mode = 0; in attach_vwsnd()