Searched refs:avail_min (Results 1 – 12 of 12) sorted by relevance
74 u32 avail_min; member97 get_user(params.avail_min, &src->avail_min) || in snd_pcm_ioctl_sw_params_compat()395 u32 avail_min; member428 get_user(scontrol.avail_min, &src->c.control.avail_min)) in snd_pcm_ioctl_sync_ptr_x32()447 control->avail_min = scontrol.avail_min; in snd_pcm_ioctl_sync_ptr_x32()449 scontrol.avail_min = control->avail_min; in snd_pcm_ioctl_sync_ptr_x32()466 put_user(scontrol.avail_min, &src->c.control.avail_min)) in snd_pcm_ioctl_sync_ptr_x32()491 __u32 avail_min; member529 control->avail_min = sync_cp->avail_min; in snd_pcm_ioctl_sync_ptr_buggy()531 sync_cp->avail_min = control->avail_min; in snd_pcm_ioctl_sync_ptr_buggy()
14 u32 avail_min; member28 get_user(params.avail_min, &src->avail_min) || in snd_rawmidi_ioctl_params_compat()
802 runtime->control->avail_min = runtime->period_size; in snd_pcm_hw_params()935 if (params->avail_min == 0) in snd_pcm_sw_params()952 runtime->control->avail_min = params->avail_min; in snd_pcm_sw_params()3065 control->avail_min = sync_ptr.c.control.avail_min; in snd_pcm_sync_ptr()3067 sync_ptr.c.control.avail_min = control->avail_min; in snd_pcm_sync_ptr()3094 u32 avail_min; member3139 get_user(scontrol.avail_min, &src->c.control.avail_min)) in snd_pcm_ioctl_sync_ptr_compat()3163 control->avail_min = scontrol.avail_min; in snd_pcm_ioctl_sync_ptr_compat()3165 scontrol.avail_min = control->avail_min; in snd_pcm_ioctl_sync_ptr_compat()3182 put_user(scontrol.avail_min, &src->c.control.avail_min)) in snd_pcm_ioctl_sync_ptr_compat()[all …]
100 return runtime->avail >= runtime->avail_min; in __snd_rawmidi_ready()119 return runtime->avail >= runtime->avail_min && in snd_rawmidi_ready_append()172 runtime->avail_min = 1; in snd_rawmidi_runtime_create()731 if (params->avail_min < 1 || params->avail_min > params->buffer_size) in resize_runtime_buffer()750 runtime->avail_min = params->avail_min; in resize_runtime_buffer()
203 } else if (avail >= runtime->control->avail_min) in snd_pcm_update_state()2227 runtime->twake = runtime->control->avail_min ? : 1; in __snd_pcm_lib_xfer()2259 runtime->control->avail_min ? : 1); in __snd_pcm_lib_xfer()
433 snd_iprintf(buffer, "avail_min: %lu\n", runtime->control->avail_min); in snd_pcm_substream_proc_sw_params_read()
429 snd_pcm_uframes_t avail_min; /* min avail frames for wakeup */ member529 snd_pcm_uframes_t avail_min; /* RW: min available frames for wakeup */ member576 snd_pcm_uframes_t avail_min; /* RW: min available frames for wakeup */ member759 size_t avail_min; /* minimum avail bytes for wakeup */ member
61 size_t avail_min; /* min avail for wakeup */ member
853 return snd_pcm_playback_avail(runtime) >= runtime->control->avail_min; in snd_pcm_playback_ready()867 return snd_pcm_capture_avail(runtime) >= runtime->control->avail_min; in snd_pcm_capture_ready()
181 params.avail_min = 1; in midisynth_subscribe()224 params.avail_min = 1; in midisynth_use()
1023 sw_params->avail_min = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? in snd_pcm_oss_change_params_locked()