/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 160 .dapm_widgets = widgets, 161 .num_dapm_widgets = ARRAY_SIZE(widgets),
|
/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 | littlemill.c | 231 static struct snd_soc_dapm_widget widgets[] = { variable 312 .dapm_widgets = widgets, 313 .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),
|
/sound/soc/codecs/ |
D | hdac_hdmi.c | 1031 struct snd_soc_dapm_widget *widgets, in hdac_hdmi_add_pinmux_cvt_route() argument 1041 kc = widgets[mux_index].kcontrol_news; in hdac_hdmi_add_pinmux_cvt_route() 1045 widgets[mux_index].name, in hdac_hdmi_add_pinmux_cvt_route() 1047 widgets[j].name, NULL); in hdac_hdmi_add_pinmux_cvt_route() 1074 struct snd_soc_dapm_widget *widgets; in create_fill_widget_route_map() local 1087 widgets = devm_kzalloc(dapm->dev, (sizeof(*widgets) * in create_fill_widget_route_map() 1091 if (!widgets) in create_fill_widget_route_map() 1097 ret = hdac_hdmi_fill_widget_info(dapm->dev, &widgets[i], in create_fill_widget_route_map() 1111 ret = hdac_hdmi_fill_widget_info(dapm->dev, &widgets[i], in create_fill_widget_route_map() 1119 pin->ports[j].output_pin = widgets[i].name; in create_fill_widget_route_map() [all …]
|
D | uda134x.c | 451 const struct snd_soc_dapm_widget *widgets; in uda134x_soc_probe() local 476 widgets = uda1341_dapm_widgets; in uda134x_soc_probe() 479 widgets = uda1340_dapm_widgets; in uda134x_soc_probe() 483 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 | 305 list_for_each_entry(w, &card->widgets, list) { in dapm_mark_endpoints_dirty() 490 struct_size(new_wlist, widgets, n), in dapm_kcontrol_add_widget() 495 new_wlist->widgets[n - 1] = widget; in dapm_kcontrol_add_widget() 550 switch (dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->id) { in dapm_kcontrol_set_value() 579 return dapm_kcontrol_get_wlist(kcontrol)->widgets[0]; in snd_soc_dapm_kcontrol_widget() 594 return dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->dapm; in snd_soc_dapm_kcontrol_dapm() 606 list_for_each_entry(w, &card->widgets, list) { in dapm_reset() 659 wlist = &w->dapm->card->widgets; in dapm_wcache_lookup() 856 list_for_each_entry(w, &dapm->card->widgets, list) { in dapm_is_shared_kcontrol() 1129 struct list_head *widgets) in dapm_widget_list_create() argument [all …]
|
D | soc-core.c | 2430 INIT_LIST_HEAD(&card->widgets); in snd_soc_register_card() 3004 struct snd_soc_dapm_widget *widgets; in snd_soc_of_parse_audio_simple_widgets() local 3027 widgets = devm_kcalloc(card->dev, num_widgets, sizeof(*widgets), in snd_soc_of_parse_audio_simple_widgets() 3029 if (!widgets) { in snd_soc_of_parse_audio_simple_widgets() 3048 widgets[i] = simple_widgets[j]; in snd_soc_of_parse_audio_simple_widgets() 3070 widgets[i].name = wname; in snd_soc_of_parse_audio_simple_widgets() 3073 card->of_dapm_widgets = widgets; in snd_soc_of_parse_audio_simple_widgets()
|
D | soc-pcm.c | 1377 if (widget == list->widgets[i]) in widget_in_list() 1495 switch (list->widgets[i]->id) { in dpcm_add_paths() 1509 be = dpcm_get_be(card, list->widgets[i], stream); in dpcm_add_paths() 1512 list->widgets[i]->name); in dpcm_add_paths() 1528 list->widgets[i]->name); in dpcm_add_paths()
|
D | soc-topology.c | 2760 list_for_each_entry_safe(w, next_w, &dapm->card->widgets, list) { in snd_soc_tplg_widget_remove_all()
|
/sound/soc/intel/haswell/ |
D | sst-haswell-pcm.c | 1016 static const struct snd_soc_dapm_widget widgets[] = { variable 1128 .dapm_widgets = widgets, 1129 .num_dapm_widgets = ARRAY_SIZE(widgets),
|
/sound/soc/intel/atom/ |
D | sst-atom-controls.c | 1471 list_for_each_entry(w, &component->card->widgets, list) { in sst_fill_linked_widgets() 1487 list_for_each_entry(w, &component->card->widgets, list) { in sst_map_modules_to_pipe()
|
/sound/soc/intel/skylake/ |
D | skl-topology.c | 2978 list_for_each_entry(w, &card->widgets, list) { in skl_cleanup_resources() 3665 list_for_each_entry(w, &component->card->widgets, list) { in skl_tplg_create_pipe_widget_list()
|