Home
last modified time | relevance | path

Searched refs:avail_min (Results 1 – 8 of 8) sorted by relevance

/sound/core/
Dpcm_compat.c97 u32 avail_min; member
131 get_user(params.avail_min, &src->avail_min) || in snd_pcm_ioctl_sw_params_compat()
373 u32 avail_min; member
405 get_user(scontrol.avail_min, &src->c.control.avail_min)) in snd_pcm_ioctl_sync_ptr_compat()
424 control->avail_min = scontrol.avail_min; in snd_pcm_ioctl_sync_ptr_compat()
426 scontrol.avail_min = control->avail_min; in snd_pcm_ioctl_sync_ptr_compat()
440 put_user(scontrol.avail_min, &src->c.control.avail_min)) in snd_pcm_ioctl_sync_ptr_compat()
Drawmidi_compat.c28 u32 avail_min; member
43 get_user(params.avail_min, &src->avail_min) || in snd_rawmidi_ioctl_params_compat()
Drawmidi.c84 return runtime->avail >= runtime->avail_min; in snd_rawmidi_ready()
91 return runtime->avail >= runtime->avail_min && in snd_rawmidi_ready_append()
115 runtime->avail_min = 1; in snd_rawmidi_runtime_create()
633 if (params->avail_min < 1 || params->avail_min > params->buffer_size) { in snd_rawmidi_output_params()
645 runtime->avail_min = params->avail_min; in snd_rawmidi_output_params()
660 if (params->avail_min < 1 || params->avail_min > params->buffer_size) { in snd_rawmidi_input_params()
671 runtime->avail_min = params->avail_min; in snd_rawmidi_input_params()
Dpcm_native.c453 runtime->control->avail_min = runtime->period_size; in snd_pcm_hw_params()
546 if (params->avail_min == 0) in snd_pcm_sw_params()
561 runtime->control->avail_min = params->avail_min; in snd_pcm_sw_params()
2528 control->avail_min = sync_ptr.c.control.avail_min; in snd_pcm_sync_ptr()
2530 sync_ptr.c.control.avail_min = control->avail_min; in snd_pcm_sync_ptr()
2979 if (avail >= runtime->control->avail_min) { in snd_pcm_playback_poll()
3018 if (avail >= runtime->control->avail_min) { in snd_pcm_capture_poll()
Dpcm_lib.c304 } else if (avail >= runtime->control->avail_min) in snd_pcm_update_state()
2009 runtime->twake = runtime->control->avail_min ? : 1; in snd_pcm_lib_write1()
2022 runtime->control->avail_min ? : 1); in snd_pcm_lib_write1()
2234 runtime->twake = runtime->control->avail_min ? : 1; in snd_pcm_lib_read1()
2252 runtime->control->avail_min ? : 1); in snd_pcm_lib_read1()
Dpcm.c429 snd_iprintf(buffer, "avail_min: %lu\n", runtime->control->avail_min); in snd_pcm_substream_proc_sw_params_read()
/sound/core/seq/
Dseq_midi.c197 params.avail_min = 1; in midisynth_subscribe()
238 params.avail_min = 1; in midisynth_use()
/sound/core/oss/
Dpcm_oss.c1003 sw_params->avail_min = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? in snd_pcm_oss_change_params()