Home
last modified time | relevance | path

Searched refs:widgets (Results 1 – 15 of 15) sorted by relevance

/sound/hda/
Dhdac_sysfs.c322 struct hdac_widget_tree *tree = codec->widgets; in widget_tree_free()
335 codec->widgets = NULL; in widget_tree_free()
369 tree = codec->widgets = kzalloc(sizeof(*tree), GFP_KERNEL); in widget_tree_create()
405 if (codec->widgets) in hda_widget_sysfs_init()
432 if (!codec->widgets) in hda_widget_sysfs_reinit()
435 tree = kmemdup(codec->widgets, sizeof(*tree), GFP_KERNEL); in hda_widget_sysfs_reinit()
448 free_widget_node(codec->widgets->nodes[i], in hda_widget_sysfs_reinit()
459 codec->widgets->nodes[nid - codec->start_nid]; in hda_widget_sysfs_reinit()
463 kfree(codec->widgets->nodes); in hda_widget_sysfs_reinit()
464 kfree(codec->widgets); in hda_widget_sysfs_reinit()
[all …]
/sound/soc/intel/boards/
Dbytcht_nocodec.c20 static const struct snd_soc_dapm_widget widgets[] = { variable
159 .dapm_widgets = widgets,
160 .num_dapm_widgets = ARRAY_SIZE(widgets),
Dsof_da7219_max98373.c79 static const struct snd_soc_dapm_widget widgets[] = { variable
370 .dapm_widgets = widgets,
371 .num_dapm_widgets = ARRAY_SIZE(widgets),
Dbxt_da7219_max98357a.c656 const struct snd_soc_dapm_widget *widgets; in bxt_card_late_probe() local
665 widgets = max98357a_widgets; in bxt_card_late_probe()
673 widgets = max98390_widgets; in bxt_card_late_probe()
683 err = snd_soc_dapm_new_controls(&card->dapm, widgets, num_widgets); in bxt_card_late_probe()
/sound/soc/samsung/
Dlowland.c143 static struct snd_soc_dapm_widget widgets[] = { variable
172 .dapm_widgets = widgets,
173 .num_dapm_widgets = ARRAY_SIZE(widgets),
Dtobermory.c133 static struct snd_soc_dapm_widget widgets[] = { variable
215 .dapm_widgets = widgets,
216 .num_dapm_widgets = ARRAY_SIZE(widgets),
Dspeyside.c264 static struct snd_soc_dapm_widget widgets[] = { variable
316 .dapm_widgets = widgets,
317 .num_dapm_widgets = ARRAY_SIZE(widgets),
Dlittlemill.c231 static struct snd_soc_dapm_widget widgets[] = { variable
312 .dapm_widgets = widgets,
313 .num_dapm_widgets = ARRAY_SIZE(widgets),
/sound/soc/codecs/
Dhdac_hdmi.c1025 struct snd_soc_dapm_widget *widgets, in hdac_hdmi_add_pinmux_cvt_route() argument
1035 kc = widgets[mux_index].kcontrol_news; in hdac_hdmi_add_pinmux_cvt_route()
1039 widgets[mux_index].name, in hdac_hdmi_add_pinmux_cvt_route()
1041 widgets[j].name, NULL); in hdac_hdmi_add_pinmux_cvt_route()
1068 struct snd_soc_dapm_widget *widgets; in create_fill_widget_route_map() local
1081 widgets = devm_kzalloc(dapm->dev, (sizeof(*widgets) * in create_fill_widget_route_map()
1085 if (!widgets) in create_fill_widget_route_map()
1091 ret = hdac_hdmi_fill_widget_info(dapm->dev, &widgets[i], in create_fill_widget_route_map()
1105 ret = hdac_hdmi_fill_widget_info(dapm->dev, &widgets[i], in create_fill_widget_route_map()
1113 pin->ports[j].output_pin = widgets[i].name; in create_fill_widget_route_map()
[all …]
Duda134x.c452 const struct snd_soc_dapm_widget *widgets; in uda134x_soc_probe() local
477 widgets = uda1341_dapm_widgets; in uda134x_soc_probe()
480 widgets = uda1340_dapm_widgets; in uda134x_soc_probe()
484 ret = snd_soc_dapm_new_controls(dapm, widgets, num_widgets); in uda134x_soc_probe()
Dwm8960.c504 list_for_each_entry(w, &component->card->widgets, list) { in wm8960_add_widgets()
/sound/soc/
Dsoc-dapm.c495 struct_size(new_wlist, widgets, n), in dapm_kcontrol_add_widget()
500 new_wlist->widgets[n - 1] = widget; in dapm_kcontrol_add_widget()
555 switch (dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->id) { in dapm_kcontrol_set_value()
584 return dapm_kcontrol_get_wlist(kcontrol)->widgets[0]; in snd_soc_dapm_kcontrol_widget()
599 return dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->dapm; in snd_soc_dapm_kcontrol_dapm()
660 struct list_head *wlist = &w->dapm->card->widgets; in dapm_wcache_lookup()
1136 struct list_head *widgets) in dapm_widget_list_create() argument
1143 list_for_each(it, widgets) in dapm_widget_list_create()
1146 *list = kzalloc(struct_size(*list, widgets, size), GFP_KERNEL); in dapm_widget_list_create()
1150 list_for_each_entry(w, widgets, work_list) in dapm_widget_list_create()
[all …]
Dsoc-core.c2328 INIT_LIST_HEAD(&card->widgets); in snd_soc_register_card()
2775 struct snd_soc_dapm_widget *widgets; in snd_soc_of_parse_audio_simple_widgets() local
2798 widgets = devm_kcalloc(card->dev, num_widgets, sizeof(*widgets), in snd_soc_of_parse_audio_simple_widgets()
2800 if (!widgets) { in snd_soc_of_parse_audio_simple_widgets()
2819 widgets[i] = simple_widgets[j]; in snd_soc_of_parse_audio_simple_widgets()
2841 widgets[i].name = wname; in snd_soc_of_parse_audio_simple_widgets()
2844 card->of_dapm_widgets = widgets; in snd_soc_of_parse_audio_simple_widgets()
/sound/soc/intel/atom/
Dsst-atom-controls.c1497 list_for_each_entry(w, &component->card->widgets, list) { in sst_fill_linked_widgets()
1514 list_for_each_entry(w, &component->card->widgets, list) { in sst_map_modules_to_pipe()
/sound/soc/intel/skylake/
Dskl-topology.c3007 list_for_each_entry(w, &card->widgets, list) { in skl_cleanup_resources()
3702 list_for_each_entry(w, &component->card->widgets, list) { in skl_tplg_create_pipe_widget_list()