Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/
H A Dsoc-ops.c183 if (mc->platform_max && mc->platform_max < max) in snd_soc_info_volsw()
184 max = mc->platform_max; in snd_soc_info_volsw()
225 if (mc->platform_max) in snd_soc_info_volsw_sx()
226 max = mc->platform_max; in snd_soc_info_volsw_sx()
339 if (mc->platform_max && ((int)val + min) > mc->platform_max) in snd_soc_put_volsw()
352 if (mc->platform_max && ((int)val2 + min) > mc->platform_max) in snd_soc_put_volsw()
453 if (mc->platform_max && val > mc->platform_max) in snd_soc_put_volsw_sx()
469 if (mc->platform_max && val2 > mc->platform_max) in snd_soc_put_volsw_sx()
505 int platform_max; in snd_soc_info_volsw_range() local
508 if (!mc->platform_max) in snd_soc_info_volsw_range()
[all …]
H A Dsoc-topology.c756 sm->platform_max = le32_to_cpu(mc->platform_max); in soc_tplg_dmixer_create()
1135 sm->platform_max = le32_to_cpu(mc->platform_max); in soc_tplg_dapm_widget_dmixer_create()
/openbmc/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()
/openbmc/linux/drivers/staging/greybus/
H A Daudio_topology.c356 int platform_max, platform_min; in gbcodec_mixer_dapm_ctl_info() local
364 platform_max = le32_to_cpu(info->value.integer.max); in gbcodec_mixer_dapm_ctl_info()
367 if (platform_max == 1 && in gbcodec_mixer_dapm_ctl_info()
375 uinfo->value.integer.max = platform_max; in gbcodec_mixer_dapm_ctl_info()
/openbmc/linux/include/uapi/sound/
H A Dasoc.h397 __le32 platform_max; member
/openbmc/linux/sound/soc/codecs/
H A Dcros_ec_codec.c214 control->platform_max = r.max_gain; in dmic_probe()
/openbmc/linux/include/sound/
H A Dsoc.h1187 int min, max, platform_max; member