Searched refs:num_widgets (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/sound/soc/codecs/
H A Duda134x.c484 unsigned num_widgets; uda134x_soc_probe() local
523 num_widgets = ARRAY_SIZE(uda1341_dapm_widgets); uda134x_soc_probe()
526 num_widgets = ARRAY_SIZE(uda1340_dapm_widgets); uda134x_soc_probe()
529 ret = snd_soc_dapm_new_controls(&codec->dapm, widgets, num_widgets); uda134x_soc_probe()
/linux-4.1.27/sound/soc/
H A Dsoc-core.c3215 int i, j, num_widgets, ret; snd_soc_of_parse_audio_simple_widgets() local
3217 num_widgets = of_property_count_strings(np, propname); snd_soc_of_parse_audio_simple_widgets()
3218 if (num_widgets < 0) { snd_soc_of_parse_audio_simple_widgets()
3223 if (num_widgets & 1) { snd_soc_of_parse_audio_simple_widgets()
3229 num_widgets /= 2; snd_soc_of_parse_audio_simple_widgets()
3230 if (!num_widgets) { snd_soc_of_parse_audio_simple_widgets()
3236 widgets = devm_kcalloc(card->dev, num_widgets, sizeof(*widgets), snd_soc_of_parse_audio_simple_widgets()
3244 for (i = 0; i < num_widgets; i++) { snd_soc_of_parse_audio_simple_widgets()
3283 card->num_of_dapm_widgets = num_widgets; snd_soc_of_parse_audio_simple_widgets()
H A Dsoc-dapm.c385 n = data->wlist->num_widgets + 1; dapm_kcontrol_add_widget()
395 new_wlist->num_widgets = n; dapm_kcontrol_add_widget()
909 for (i = 0; i < wlist->num_widgets; i++) { dapm_list_add_widget()
915 wlistentries = wlist->num_widgets + 1; dapm_list_add_widget()
928 w->name, wlist->num_widgets); dapm_list_add_widget()
930 wlist->widgets[wlist->num_widgets] = w; dapm_list_add_widget()
931 wlist->num_widgets++; dapm_list_add_widget()
1476 for (wi = 0; wi < wlist->num_widgets; wi++) { dapm_widget_update()
1496 for (wi = 0; wi < wlist->num_widgets; wi++) { dapm_widget_update()
H A Dsoc-pcm.c1225 for (i = 0; i < list->num_widgets; i++) { widget_in_list()
1305 for (i = 0; i < list->num_widgets; i++) { dpcm_add_paths()
/linux-4.1.27/include/sound/
H A Dsoc-dapm.h616 int num_widgets; member in struct:snd_soc_dapm_widget_list

Completed in 182 milliseconds