Home
last modified time | relevance | path

Searched refs:platform_max (Results 1 – 7 of 7) sorted by relevance

/linux/sound/soc/
H A Dsoc-ops.c184 if (mc->platform_max && mc->platform_max < max) in snd_soc_info_volsw()
185 max = mc->platform_max; in snd_soc_info_volsw()
226 if (mc->platform_max) in snd_soc_info_volsw_sx()
227 max = mc->platform_max; in snd_soc_info_volsw_sx()
340 if (mc->platform_max && ((int)val + min) > mc->platform_max) in snd_soc_put_volsw()
353 if (mc->platform_max && ((int)val2 + min) > mc->platform_max) in snd_soc_put_volsw()
454 if (mc->platform_max && val > mc->platform_max) in snd_soc_put_volsw_sx()
470 if (mc->platform_max && val2 > mc->platform_max) in snd_soc_put_volsw_sx()
506 int platform_max; in snd_soc_info_volsw_range() local
509 if (!mc->platform_max) in snd_soc_info_volsw_range()
[all …]
H A Dsoc-topology.c680 sm->platform_max = le32_to_cpu(mc->platform_max); in soc_tplg_control_dmixer_create()
/linux/sound/soc/sof/
H A Dcontrol.c53 int platform_max; in snd_sof_volume_info() local
55 if (!sm->platform_max) in snd_sof_volume_info()
56 sm->platform_max = sm->max; in snd_sof_volume_info()
57 platform_max = sm->platform_max; in snd_sof_volume_info()
59 if (platform_max == 1 && !strstr(kcontrol->id.name, " Volume")) in snd_sof_volume_info()
66 uinfo->value.integer.max = platform_max - sm->min; in snd_sof_volume_info()
/linux/drivers/staging/greybus/
H A Daudio_topology.c350 int platform_max, platform_min; in gbcodec_mixer_dapm_ctl_info() local
358 platform_max = le32_to_cpu(info->value.integer.max); in gbcodec_mixer_dapm_ctl_info()
361 if (platform_max == 1 && in gbcodec_mixer_dapm_ctl_info()
369 uinfo->value.integer.max = platform_max; in gbcodec_mixer_dapm_ctl_info()
/linux/include/uapi/sound/
H A Dasoc.h397 __le32 platform_max; member
/linux/sound/soc/codecs/
H A Dcros_ec_codec.c214 control->platform_max = r.max_gain; in dmic_probe()
/linux/include/sound/
H A Dsoc.h1254 int min, max, platform_max; member