Home
last modified time | relevance | path

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

/linux/sound/soc/
A Dsoc-ops.c180 int platform_max; in snd_soc_info_volsw() local
182 if (!mc->platform_max) in snd_soc_info_volsw()
183 mc->platform_max = mc->max; in snd_soc_info_volsw()
184 platform_max = mc->platform_max; in snd_soc_info_volsw()
193 uinfo->value.integer.max = platform_max - mc->min; in snd_soc_info_volsw()
449 int platform_max; in snd_soc_info_volsw_range() local
452 if (!mc->platform_max) in snd_soc_info_volsw_range()
453 mc->platform_max = mc->max; in snd_soc_info_volsw_range()
454 platform_max = mc->platform_max; in snd_soc_info_volsw_range()
459 uinfo->value.integer.max = platform_max - min; in snd_soc_info_volsw_range()
[all …]
A Dsoc-topology.c811 sm->platform_max = le32_to_cpu(mc->platform_max); in soc_tplg_dmixer_create()
1249 sm->platform_max = le32_to_cpu(mc->platform_max); in soc_tplg_dapm_widget_dmixer_create()
/linux/sound/soc/sof/
A Dcontrol.c158 int platform_max; in snd_sof_volume_info() local
160 if (!sm->platform_max) in snd_sof_volume_info()
161 sm->platform_max = sm->max; in snd_sof_volume_info()
162 platform_max = sm->platform_max; in snd_sof_volume_info()
164 if (platform_max == 1 && !strstr(kcontrol->id.name, " Volume")) in snd_sof_volume_info()
171 uinfo->value.integer.max = platform_max - sm->min; in snd_sof_volume_info()
/linux/include/sound/
A Dsoc.h34 .rshift = shift_right, .max = xmax, .platform_max = xmax, \
39 .rshift = shift_right, .min = xmin, .max = xmax, .platform_max = xmax, \
45 {.reg = xreg, .max = xmax, .platform_max = xmax, .invert = xinvert})
49 .max = xmax, .platform_max = xmax, .invert = xinvert})
53 .max = xmax, .min = xmin, .platform_max = xmax, .sign_bit = xsign_bit, \
58 .min = xmin, .max = xmax, .platform_max = xmax, .invert = xinvert})
71 .platform_max = xmax, .invert = xinvert} }
102 .platform_max = xmax, .invert = xinvert} }
188 .min = xmin, .max = xmax, .platform_max = xmax, \
262 .platform_max = xmax, .invert = xinvert} }
[all …]
/linux/drivers/staging/greybus/
A Daudio_topology.c354 int platform_max, platform_min; in gbcodec_mixer_dapm_ctl_info() local
362 platform_max = le32_to_cpu(info->value.integer.max); in gbcodec_mixer_dapm_ctl_info()
365 if (platform_max == 1 && in gbcodec_mixer_dapm_ctl_info()
373 uinfo->value.integer.max = platform_max; in gbcodec_mixer_dapm_ctl_info()
/linux/include/uapi/sound/
A Dasoc.h401 __le32 platform_max; member
/linux/sound/soc/codecs/
A Dcros_ec_codec.c214 control->platform_max = r.max_gain; in dmic_probe()

Completed in 27 milliseconds