Home
last modified time | relevance | path

Searched refs:num_widgets (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/sound/soc/sdw_utils/
Dsoc_sdw_utils.c72 .num_widgets = ARRAY_SIZE(rt700_widgets),
92 .num_widgets = ARRAY_SIZE(generic_jack_widgets),
112 .num_widgets = ARRAY_SIZE(generic_jack_widgets),
132 .num_widgets = ARRAY_SIZE(generic_jack_widgets),
145 .num_widgets = ARRAY_SIZE(generic_spk_widgets),
179 .num_widgets = ARRAY_SIZE(generic_jack_widgets),
213 .num_widgets = ARRAY_SIZE(generic_spk_widgets),
233 .num_widgets = ARRAY_SIZE(generic_spk_widgets),
252 .num_widgets = ARRAY_SIZE(generic_spk_widgets),
271 .num_widgets = ARRAY_SIZE(generic_spk_widgets),
[all …]
/linux-6.12.1/sound/soc/codecs/
Dcs530x.c728 int num_widgets; in cs530x_component_probe() local
741 num_widgets = ARRAY_SIZE(cs530x_in_sum_4ch_controls); in cs530x_component_probe()
744 num_widgets); in cs530x_component_probe()
751 num_widgets = ARRAY_SIZE(cs530x_in_5_to_8_controls); in cs530x_component_probe()
754 num_widgets); in cs530x_component_probe()
756 num_widgets = ARRAY_SIZE(cs530x_in_sum_8ch_controls); in cs530x_component_probe()
759 num_widgets); in cs530x_component_probe()
761 num_widgets = ARRAY_SIZE(cs530x_adc_ch58_dapm_widgets); in cs530x_component_probe()
763 num_widgets); in cs530x_component_probe()
Dlpass-wsa-macro.c2613 unsigned int num_widgets; in wsa_macro_component_probe() local
2637 num_widgets = ARRAY_SIZE(wsa_macro_dapm_widgets_v2_1); in wsa_macro_component_probe()
2644 num_widgets = ARRAY_SIZE(wsa_macro_dapm_widgets_v2_5); in wsa_macro_component_probe()
2650 return snd_soc_dapm_new_controls(dapm, widgets, num_widgets); in wsa_macro_component_probe()
Dlpass-rx-macro.c3612 unsigned int num_controls, num_widgets; in rx_macro_component_probe() local
3645 num_widgets = ARRAY_SIZE(rx_macro_def_dapm_widgets); in rx_macro_component_probe()
3654 num_widgets = ARRAY_SIZE(rx_macro_2_5_dapm_widgets); in rx_macro_component_probe()
3666 return snd_soc_dapm_new_controls(dapm, widgets, num_widgets); in rx_macro_component_probe()
/linux-6.12.1/sound/soc/fsl/
Dimx-rpmsg.c65 int i, num_widgets; in imx_rpmsg_late_probe() local
69 num_widgets = of_property_count_strings(data->card.dev->of_node, in imx_rpmsg_late_probe()
71 for (i = 0; i < num_widgets; i++) { in imx_rpmsg_late_probe()
/linux-6.12.1/sound/soc/
Dsoc-core.c2977 int i, j, num_widgets; in snd_soc_of_parse_audio_simple_widgets() local
2979 num_widgets = of_property_count_strings(np, propname); in snd_soc_of_parse_audio_simple_widgets()
2980 if (num_widgets < 0) { in snd_soc_of_parse_audio_simple_widgets()
2985 if (!num_widgets) { in snd_soc_of_parse_audio_simple_widgets()
2990 if (num_widgets & 1) { in snd_soc_of_parse_audio_simple_widgets()
2996 num_widgets /= 2; in snd_soc_of_parse_audio_simple_widgets()
2998 widgets = devm_kcalloc(card->dev, num_widgets, sizeof(*widgets), in snd_soc_of_parse_audio_simple_widgets()
3006 for (i = 0; i < num_widgets; i++) { in snd_soc_of_parse_audio_simple_widgets()
3045 card->num_of_dapm_widgets = num_widgets; in snd_soc_of_parse_audio_simple_widgets()
Dsoc-dapm.c496 n = data->wlist->num_widgets + 1; in dapm_kcontrol_add_widget()
506 new_wlist->num_widgets = n; in dapm_kcontrol_add_widget()
1150 (*list)->num_widgets = size; in dapm_widget_list_create()
1155 (*list)->num_widgets = i; in dapm_widget_list_create()
/linux-6.12.1/include/sound/
Dsoc_sdw_utils.h53 const int num_widgets; member
Dsoc-dapm.h720 int num_widgets; member
721 struct snd_soc_dapm_widget *widgets[] __counted_by(num_widgets);
726 (i) < list->num_widgets && (widget = list->widgets[i]); \
/linux-6.12.1/drivers/staging/greybus/
Daudio_topology.c466 for (wi = 0; wi < wlist->num_widgets; wi++) { in gbcodec_mixer_dapm_ctl_put()
833 for (wi = 0; wi < wlist->num_widgets; wi++) { in gbcodec_enum_dapm_ctl_put()
1327 module->num_dapm_widgets = tplg_data->num_widgets; in gbaudio_tplg_process_header()
/linux-6.12.1/include/linux/greybus/
Dgreybus_protocols.h2045 __u8 num_widgets; member