Home
last modified time | relevance | path

Searched refs:widgets (Results 1 – 17 of 17) 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/avs/boards/
Di2s_test.c83 struct snd_soc_dapm_widget **widgets, int *num_widgets) in avs_create_dapm_widgets() argument
104 *widgets = dw; in avs_create_dapm_widgets()
112 struct snd_soc_dapm_widget *widgets; in avs_i2s_test_probe() local
146 ret = avs_create_dapm_widgets(dev, ssp_port, &widgets, &num_widgets); in avs_i2s_test_probe()
158 card->dapm_widgets = widgets; in avs_i2s_test_probe()
/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
383 .dapm_widgets = widgets,
384 .num_dapm_widgets = ARRAY_SIZE(widgets),
Dbxt_da7219_max98357a.c669 const struct snd_soc_dapm_widget *widgets; in bxt_card_late_probe() local
678 widgets = max98357a_widgets; in bxt_card_late_probe()
686 widgets = max98390_widgets; in bxt_card_late_probe()
696 err = snd_soc_dapm_new_controls(&card->dapm, widgets, num_widgets); in bxt_card_late_probe()
/sound/soc/samsung/
Dlowland.c144 static const struct snd_soc_dapm_widget widgets[] = { variable
173 .dapm_widgets = widgets,
174 .num_dapm_widgets = ARRAY_SIZE(widgets),
Dtobermory.c133 static const struct snd_soc_dapm_widget widgets[] = { variable
215 .dapm_widgets = widgets,
216 .num_dapm_widgets = ARRAY_SIZE(widgets),
Dspeyside.c266 static const struct snd_soc_dapm_widget widgets[] = { variable
318 .dapm_widgets = widgets,
319 .num_dapm_widgets = ARRAY_SIZE(widgets),
Dlittlemill.c231 static const struct snd_soc_dapm_widget widgets[] = { variable
312 .dapm_widgets = widgets,
313 .num_dapm_widgets = ARRAY_SIZE(widgets),
/sound/soc/codecs/
Dhdac_hdmi.c1030 struct snd_soc_dapm_widget *widgets, in hdac_hdmi_add_pinmux_cvt_route() argument
1040 kc = widgets[mux_index].kcontrol_news; in hdac_hdmi_add_pinmux_cvt_route()
1044 widgets[mux_index].name, in hdac_hdmi_add_pinmux_cvt_route()
1046 widgets[j].name, NULL); in hdac_hdmi_add_pinmux_cvt_route()
1073 struct snd_soc_dapm_widget *widgets; in create_fill_widget_route_map() local
1086 widgets = devm_kzalloc(dapm->dev, (sizeof(*widgets) * in create_fill_widget_route_map()
1090 if (!widgets) in create_fill_widget_route_map()
1096 ret = hdac_hdmi_fill_widget_info(dapm->dev, &widgets[i], in create_fill_widget_route_map()
1110 ret = hdac_hdmi_fill_widget_info(dapm->dev, &widgets[i], in create_fill_widget_route_map()
1118 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.c508 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.c2302 INIT_LIST_HEAD(&card->widgets); in snd_soc_register_card()
2752 struct snd_soc_dapm_widget *widgets; in snd_soc_of_parse_audio_simple_widgets() local
2775 widgets = devm_kcalloc(card->dev, num_widgets, sizeof(*widgets), in snd_soc_of_parse_audio_simple_widgets()
2777 if (!widgets) { in snd_soc_of_parse_audio_simple_widgets()
2796 widgets[i] = simple_widgets[j]; in snd_soc_of_parse_audio_simple_widgets()
2818 widgets[i].name = wname; in snd_soc_of_parse_audio_simple_widgets()
2821 card->of_dapm_widgets = widgets; in snd_soc_of_parse_audio_simple_widgets()
/sound/soc/generic/
Dtest-component.c518 static const struct snd_soc_dapm_widget widgets[] = { variable
575 cdriv->dapm_widgets = widgets; in test_driver_probe()
576 cdriv->num_dapm_widgets = ARRAY_SIZE(widgets); in test_driver_probe()
/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.c3009 list_for_each_entry(w, &card->widgets, list) { in skl_cleanup_resources()
3703 list_for_each_entry(w, &component->card->widgets, list) { in skl_tplg_create_pipe_widget_list()