Home
last modified time | relevance | path

Searched refs:f_flags (Results 1 – 19 of 19) sorted by relevance

/sound/core/seq/oss/
Dseq_oss_init.c299 if ((file->f_flags & O_ACCMODE) != O_RDONLY) in translate_mode()
301 if ((file->f_flags & O_ACCMODE) != O_WRONLY) in translate_mode()
303 if (file->f_flags & O_NONBLOCK) in translate_mode()
/sound/oss/
Daudio.c252 if ((err = DMAbuf_getwrbuffer(dev, &dma_buf, &buf_size, !!(file->f_flags & O_NONBLOCK))) < 0) in audio_write()
255 if ((file->f_flags & O_NONBLOCK) && err == -EAGAIN) in audio_write()
326 if ((buf_no = DMAbuf_getrdbuffer(dev, &dmabuf, &l, !!(file->f_flags & O_NONBLOCK))) < 0) in audio_read()
335 if ((file->f_flags & O_NONBLOCK) && buf_no == -EAGAIN) in audio_read()
437 file->f_flags |= O_NONBLOCK; in audio_ioctl()
Dmidibuf.c279 if (file->f_flags & O_NONBLOCK) { in MIDIbuf_write()
323 if (file->f_flags & O_NONBLOCK) { in MIDIbuf_read()
Dsequencer.c100 if (file->f_flags & O_NONBLOCK) { in sequencer_read()
305 if (!seq_queue(event_rec, (file->f_flags & (O_NONBLOCK) ? 1 : 0))) in sequencer_write()
312 if (!processed && (file->f_flags & O_NONBLOCK)) in sequencer_write()
1131 if (mode != OPEN_READ && !(file->f_flags & O_NONBLOCK)) in sequencer_release()
Dswarm_cs4297a.c1743 if (file->f_flags & O_NONBLOCK) in cs4297a_read()
1839 if (file->f_flags & O_NONBLOCK) in cs4297a_write()
2227 file->f_flags |= O_NONBLOCK; in cs4297a_ioctl()
2388 drain_dac(s, file->f_flags & O_NONBLOCK); in cs4297a_release()
2397 drain_adc(s, file->f_flags & O_NONBLOCK); in cs4297a_release()
2452 if (file->f_flags & O_NONBLOCK) { in cs4297a_locked_open()
2469 if (file->f_flags & O_NONBLOCK) { in cs4297a_locked_open()
Dmsnd_pinnacle.c783 dev.play_ndelay = (file->f_flags & O_NDELAY) ? 1 : 0; in dev_open()
789 dev.rec_ndelay = (file->f_flags & O_NDELAY) ? 1 : 0; in dev_open()
/sound/core/
Drawmidi.c373 if ((file->f_flags & O_APPEND) && !(file->f_flags & O_NONBLOCK)) in snd_rawmidi_open()
405 if ((file->f_flags & O_APPEND) || maj == SOUND_MAJOR) /* OSS emul? */ in snd_rawmidi_open()
420 if (file->f_flags & O_NONBLOCK) { in snd_rawmidi_open()
1015 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { in snd_rawmidi_read()
1319 if (file->f_flags & O_NONBLOCK) { in snd_rawmidi_write()
1343 if ((size_t)count1 < count && (file->f_flags & O_NONBLOCK)) in snd_rawmidi_write()
1347 if (file->f_flags & O_DSYNC) { in snd_rawmidi_write()
Dpcm_native.c1509 int f_flags) in snd_pcm_pre_prepare() argument
1517 substream->f_flags = f_flags; in snd_pcm_pre_prepare()
1555 int f_flags; in snd_pcm_prepare() local
1558 f_flags = file->f_flags; in snd_pcm_prepare()
1560 f_flags = substream->f_flags; in snd_pcm_prepare()
1565 substream, f_flags); in snd_pcm_prepare()
1674 if (file->f_flags & O_NONBLOCK) in snd_pcm_drain()
1676 } else if (substream->f_flags & O_NONBLOCK) in snd_pcm_drain()
2376 if (file->f_flags & O_NONBLOCK) { in snd_pcm_open()
Dinfo.c262 mode = file->f_flags & O_ACCMODE; in snd_info_entry_open()
293 entry->c.ops->release(entry, file->f_flags & O_ACCMODE, in snd_info_entry_release()
Dpcm.c949 if (file->f_flags & O_APPEND) { in snd_pcm_attach_substream()
1008 substream->f_flags = file->f_flags; in snd_pcm_attach_substream()
Dcompress_offload.c99 if ((f->f_flags & O_ACCMODE) == O_WRONLY) in snd_compr_open()
101 else if ((f->f_flags & O_ACCMODE) == O_RDONLY) in snd_compr_open()
Dpcm_lib.c2137 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_pcm_lib_write()
2200 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_pcm_lib_writev()
2349 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_pcm_lib_read()
2408 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_pcm_lib_readv()
Dhwdep.c123 if (file->f_flags & O_NONBLOCK) { in snd_hwdep_open()
Dinit.c340 if ((file->f_flags & FASYNC) && df->disconnected_f_op->fasync) in snd_disconnect_release()
Dcontrol.c1580 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { in snd_ctl_read()
Dtimer.c1973 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { in snd_timer_user_read()
/sound/core/oss/
Dpcm_oss.c1461 else if ((substream->f_flags & O_NONBLOCK) != 0) { in snd_pcm_oss_write1()
1476 if ((substream->f_flags & O_NONBLOCK) != 0 && in snd_pcm_oss_write1()
1760 saved_f_flags = substream->f_flags; in snd_pcm_oss_sync()
1761 substream->f_flags &= ~O_NONBLOCK; in snd_pcm_oss_sync()
1763 substream->f_flags = saved_f_flags; in snd_pcm_oss_sync()
2042 file->f_flags |= O_NONBLOCK; in snd_pcm_oss_nonblock()
2400 substream->f_flags |= O_NONBLOCK; in snd_pcm_oss_init_substream()
2402 substream->f_flags &= ~O_NONBLOCK; in snd_pcm_oss_init_substream()
2462 file->f_flags &= ~O_APPEND; in snd_pcm_oss_open_file()
2549 nonblock = !!(file->f_flags & O_NONBLOCK); in snd_pcm_oss_open()
[all …]
/sound/oss/dmasound/
Ddmasound_core.c719 if (file->f_flags & O_NONBLOCK) in sq_open2()
748 sq->non_blocking = file->f_flags & O_NONBLOCK; in sq_open2()
/sound/core/seq/
Dseq_clientmgr.c422 nonblock = (file->f_flags & O_NONBLOCK) || result > 0; in snd_seq_read()
1072 !(file->f_flags & O_NONBLOCK), in snd_seq_write()