/sound/hda/ |
D | hdac_sysfs.c | 322 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/ |
D | bytcht_nocodec.c | 20 static const struct snd_soc_dapm_widget widgets[] = { variable 159 .dapm_widgets = widgets, 160 .num_dapm_widgets = ARRAY_SIZE(widgets),
|
D | sof_da7219_max98373.c | 79 static const struct snd_soc_dapm_widget widgets[] = { variable 370 .dapm_widgets = widgets, 371 .num_dapm_widgets = ARRAY_SIZE(widgets),
|
D | bxt_da7219_max98357a.c | 656 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/ |
D | lowland.c | 143 static struct snd_soc_dapm_widget widgets[] = { variable 172 .dapm_widgets = widgets, 173 .num_dapm_widgets = ARRAY_SIZE(widgets),
|
D | tobermory.c | 133 static struct snd_soc_dapm_widget widgets[] = { variable 215 .dapm_widgets = widgets, 216 .num_dapm_widgets = ARRAY_SIZE(widgets),
|
D | speyside.c | 264 static struct snd_soc_dapm_widget widgets[] = { variable 316 .dapm_widgets = widgets, 317 .num_dapm_widgets = ARRAY_SIZE(widgets),
|
D | littlemill.c | 231 static struct snd_soc_dapm_widget widgets[] = { variable 312 .dapm_widgets = widgets, 313 .num_dapm_widgets = ARRAY_SIZE(widgets),
|
/sound/soc/codecs/ |
D | hdac_hdmi.c | 1025 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 …]
|
D | uda134x.c | 452 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()
|
D | wm8960.c | 504 list_for_each_entry(w, &component->card->widgets, list) { in wm8960_add_widgets()
|
/sound/soc/ |
D | soc-dapm.c | 495 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 …]
|
D | soc-core.c | 2328 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/ |
D | sst-atom-controls.c | 1497 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/ |
D | skl-topology.c | 3007 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()
|