Home
last modified time | relevance | path

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

/sound/core/
Dpcm_compat.c74 u32 avail_min; member
97 get_user(params.avail_min, &src->avail_min) || in snd_pcm_ioctl_sw_params_compat()
399 u32 avail_min; member
432 get_user(scontrol.avail_min, &src->c.control.avail_min)) in snd_pcm_ioctl_sync_ptr_x32()
451 control->avail_min = scontrol.avail_min; in snd_pcm_ioctl_sync_ptr_x32()
453 scontrol.avail_min = control->avail_min; in snd_pcm_ioctl_sync_ptr_x32()
468 put_user(scontrol.avail_min, &src->c.control.avail_min)) in snd_pcm_ioctl_sync_ptr_x32()
493 __u32 avail_min; member
531 control->avail_min = sync_cp->avail_min; in snd_pcm_ioctl_sync_ptr_buggy()
533 sync_cp->avail_min = control->avail_min; in snd_pcm_ioctl_sync_ptr_buggy()
Drawmidi_compat.c14 u32 avail_min; member
28 get_user(params.avail_min, &src->avail_min) || in snd_rawmidi_ioctl_params_compat()
Dpcm_native.c802 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()
3059 control->avail_min = sync_ptr.c.control.avail_min; in snd_pcm_sync_ptr()
3061 sync_ptr.c.control.avail_min = control->avail_min; in snd_pcm_sync_ptr()
3086 u32 avail_min; member
3131 get_user(scontrol.avail_min, &src->c.control.avail_min)) in snd_pcm_ioctl_sync_ptr_compat()
3155 control->avail_min = scontrol.avail_min; in snd_pcm_ioctl_sync_ptr_compat()
3157 scontrol.avail_min = control->avail_min; in snd_pcm_ioctl_sync_ptr_compat()
3172 put_user(scontrol.avail_min, &src->c.control.avail_min)) in snd_pcm_ioctl_sync_ptr_compat()
[all …]
Drawmidi.c100 return runtime->avail >= runtime->avail_min; in __snd_rawmidi_ready()
120 return runtime->avail >= runtime->avail_min && in snd_rawmidi_ready_append()
157 runtime->avail_min = 1; in snd_rawmidi_runtime_create()
690 if (params->avail_min < 1 || params->avail_min > params->buffer_size) in resize_runtime_buffer()
709 runtime->avail_min = params->avail_min; in resize_runtime_buffer()
Dpcm_lib.c202 } else if (avail >= runtime->control->avail_min) in snd_pcm_update_state()
2211 runtime->twake = runtime->control->avail_min ? : 1; in __snd_pcm_lib_xfer()
2243 runtime->control->avail_min ? : 1); in __snd_pcm_lib_xfer()
Dpcm.c432 snd_iprintf(buffer, "avail_min: %lu\n", runtime->control->avail_min); in snd_pcm_substream_proc_sw_params_read()
/sound/core/seq/
Dseq_midi.c181 params.avail_min = 1; in midisynth_subscribe()
224 params.avail_min = 1; in midisynth_use()
/sound/core/oss/
Dpcm_oss.c1017 sw_params->avail_min = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? in snd_pcm_oss_change_params_locked()