/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/avs/boards/ |
D | i2s_test.c | 83 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/ |
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 383 .dapm_widgets = widgets, 384 .num_dapm_widgets = ARRAY_SIZE(widgets),
|
D | bxt_da7219_max98357a.c | 669 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/ |
D | lowland.c | 144 static const struct snd_soc_dapm_widget widgets[] = { variable 173 .dapm_widgets = widgets, 174 .num_dapm_widgets = ARRAY_SIZE(widgets),
|
D | tobermory.c | 133 static const struct snd_soc_dapm_widget widgets[] = { variable 215 .dapm_widgets = widgets, 216 .num_dapm_widgets = ARRAY_SIZE(widgets),
|
D | speyside.c | 266 static const struct snd_soc_dapm_widget widgets[] = { variable 318 .dapm_widgets = widgets, 319 .num_dapm_widgets = ARRAY_SIZE(widgets),
|
D | littlemill.c | 231 static const 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 | 1030 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 …]
|
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 | 508 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 | 2302 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/ |
D | test-component.c | 518 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/ |
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 | 3009 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()
|