Home
last modified time | relevance | path

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

/linux-6.1.9/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()
395 u32 avail_min; member
428 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; member
529 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()
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()
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; member
3139 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 …]
Drawmidi.c100 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()
Dpcm_lib.c203 } 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()
Dpcm.c433 snd_iprintf(buffer, "avail_min: %lu\n", runtime->control->avail_min); in snd_pcm_substream_proc_sw_params_read()
/linux-6.1.9/tools/include/uapi/sound/
Dasound.h429 snd_pcm_uframes_t avail_min; /* min avail frames for wakeup */ member
529 snd_pcm_uframes_t avail_min; /* RW: min available frames for wakeup */ member
576 snd_pcm_uframes_t avail_min; /* RW: min available frames for wakeup */ member
759 size_t avail_min; /* minimum avail bytes for wakeup */ member
/linux-6.1.9/include/uapi/sound/
Dasound.h429 snd_pcm_uframes_t avail_min; /* min avail frames for wakeup */ member
529 snd_pcm_uframes_t avail_min; /* RW: min available frames for wakeup */ member
576 snd_pcm_uframes_t avail_min; /* RW: min available frames for wakeup */ member
759 size_t avail_min; /* minimum avail bytes for wakeup */ member
/linux-6.1.9/include/sound/
Drawmidi.h61 size_t avail_min; /* min avail for wakeup */ member
Dpcm.h853 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()
/linux-6.1.9/sound/core/seq/
Dseq_midi.c181 params.avail_min = 1; in midisynth_subscribe()
224 params.avail_min = 1; in midisynth_use()
/linux-6.1.9/sound/core/oss/
Dpcm_oss.c1023 sw_params->avail_min = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? in snd_pcm_oss_change_params_locked()