Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/sound/soc/
H 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()
186 if (platform_max == 1 && !strstr(kcontrol->id.name, " Volume")) in snd_soc_info_volsw()
193 uinfo->value.integer.max = platform_max - mc->min; in snd_soc_info_volsw()
320 if (mc->platform_max && ((int)val + min) > mc->platform_max) in snd_soc_put_volsw()
333 if (mc->platform_max && ((int)val2 + min) > mc->platform_max) in snd_soc_put_volsw()
433 if (mc->platform_max && val > mc->platform_max) in snd_soc_put_volsw_sx()
450 if (mc->platform_max && val2 > mc->platform_max) in snd_soc_put_volsw_sx()
[all …]
H A Dsoc-core.c3027 int platform_max; in snd_soc_info_multi_ext() local
3029 if (!mc->platform_max) in snd_soc_info_multi_ext()
3030 mc->platform_max = mc->max; in snd_soc_info_multi_ext()
3031 platform_max = mc->platform_max; in snd_soc_info_multi_ext()
3033 if (platform_max == 1 && !strnstr(kcontrol->id.name, " Volume", 30)) in snd_soc_info_multi_ext()
3040 uinfo->value.integer.max = platform_max; in snd_soc_info_multi_ext()
H A Dsoc-topology.c887 sm->platform_max = le32_to_cpu(mc->platform_max); in soc_tplg_dmixer_create()
1363 sm->platform_max = le32_to_cpu(mc->platform_max); in soc_tplg_dapm_widget_dmixer_create()
/OK3568_Linux_fs/kernel/include/sound/
H A Dsoc.h35 .rshift = shift_right, .max = xmax, .platform_max = xmax, \
40 .rshift = shift_right, .min = xmin, .max = xmax, .platform_max = xmax, \
46 {.reg = xreg, .max = xmax, .platform_max = xmax, .invert = xinvert})
50 .max = xmax, .platform_max = xmax, .invert = xinvert})
54 .max = xmax, .min = xmin, .platform_max = xmax, .sign_bit = xsign_bit, \
59 .min = xmin, .max = xmax, .platform_max = xmax, .invert = xinvert})
72 .platform_max = xmax, .invert = xinvert} }
103 .platform_max = xmax, .invert = xinvert} }
189 .min = xmin, .max = xmax, .platform_max = xmax, \
250 .count = xcount, .platform_max = xmax, .invert = xinvert} }
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/greybus/
H A Daudio_topology.c357 int platform_max, platform_min; in gbcodec_mixer_dapm_ctl_info() local
365 platform_max = le32_to_cpu(info->value.integer.max); in gbcodec_mixer_dapm_ctl_info()
368 if (platform_max == 1 && in gbcodec_mixer_dapm_ctl_info()
376 uinfo->value.integer.max = platform_max; in gbcodec_mixer_dapm_ctl_info()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/sound/
H A Dasoc.h395 __le32 platform_max; member
/OK3568_Linux_fs/kernel/include/uapi/sound/
H A Dasoc.h395 __le32 platform_max; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/sound/
H A Dasoc.h395 __le32 platform_max; member
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dcros_ec_codec.c214 control->platform_max = r.max_gain; in dmic_probe()