Home
last modified time | relevance | path

Searched full:widgets (Results 1 – 25 of 457) sorted by relevance

12345678910>>...19

/kernel/linux/linux-6.6/sound/soc/tegra/
Dtegra210_ahub.c716 WIDGETS("ADMAIF1", t210_admaif1_tx),
717 WIDGETS("ADMAIF2", t210_admaif2_tx),
718 WIDGETS("ADMAIF3", t210_admaif3_tx),
719 WIDGETS("ADMAIF4", t210_admaif4_tx),
720 WIDGETS("ADMAIF5", t210_admaif5_tx),
721 WIDGETS("ADMAIF6", t210_admaif6_tx),
722 WIDGETS("ADMAIF7", t210_admaif7_tx),
723 WIDGETS("ADMAIF8", t210_admaif8_tx),
724 WIDGETS("ADMAIF9", t210_admaif9_tx),
725 WIDGETS("ADMAIF10", t210_admaif10_tx),
[all …]
/kernel/linux/linux-6.6/Documentation/sound/soc/
Ddapm.rst54 widgets hereafter.
57 DAPM Widgets
60 Audio DAPM widgets fall into a number of types:-
87 Power or clock supply widget used by other widgets.
127 (Widgets are defined in include/sound/soc-dapm.h)
129 Widgets can be added to the sound card by any of the component driver types.
131 build a list of widgets of the codecs and machines DAPM widgets.
133 Most widgets have a name, register, shift and invert. Some widgets have extra
137 Stream Domain Widgets
140 Stream Widgets relate to the stream power domain and only consist of ADCs
[all …]
/kernel/linux/linux-5.10/Documentation/sound/soc/
Ddapm.rst54 widgets hereafter.
57 DAPM Widgets
60 Audio DAPM widgets fall into a number of types:-
87 Power or clock supply widget used by other widgets.
127 (Widgets are defined in include/sound/soc-dapm.h)
129 Widgets can be added to the sound card by any of the component driver types.
131 build a list of widgets of the codecs and machines DAPM widgets.
133 Most widgets have a name, register, shift and invert. Some widgets have extra
137 Stream Domain Widgets
140 Stream Widgets relate to the stream power domain and only consist of ADCs
[all …]
/kernel/linux/linux-5.10/sound/soc/tegra/
Dtegra210_ahub.c321 WIDGETS("ADMAIF1", t210_admaif1_tx),
322 WIDGETS("ADMAIF2", t210_admaif2_tx),
323 WIDGETS("ADMAIF3", t210_admaif3_tx),
324 WIDGETS("ADMAIF4", t210_admaif4_tx),
325 WIDGETS("ADMAIF5", t210_admaif5_tx),
326 WIDGETS("ADMAIF6", t210_admaif6_tx),
327 WIDGETS("ADMAIF7", t210_admaif7_tx),
328 WIDGETS("ADMAIF8", t210_admaif8_tx),
329 WIDGETS("ADMAIF9", t210_admaif9_tx),
330 WIDGETS("ADMAIF10", t210_admaif10_tx),
[all …]
/kernel/linux/linux-5.10/sound/hda/
Dhdac_sysfs.c82 * /sys/bus/hdaudioC0D0/widgets/04/caps
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()
373 tree->root = kobject_create_and_add("widgets", &codec->dev.kobj); 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()
[all …]
/kernel/linux/linux-6.6/sound/hda/
Dhdac_sysfs.c82 * /sys/bus/hdaudioC0D0/widgets/04/caps
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()
373 tree->root = kobject_create_and_add("widgets", &codec->dev.kobj); 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()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dwidgets.txt1 Widgets:
3 This mainly specifies audio off-codec DAPM widgets.
15 simple-audio-widgets =
Damlogic,axg-sound-card.txt11 - audio-widgets : Please refer to widgets.txt.
62 audio-widgets = "Line", "Lineout",
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dwidgets.txt1 Widgets:
3 This mainly specifies audio off-codec DAPM widgets.
15 simple-audio-widgets =
/kernel/linux/linux-6.6/sound/soc/sunxi/
Dsun8i-codec-analog.c235 * contexts, we need to manually link the above widgets to their
236 * stream widgets at the card level.
316 /* headphone specific controls, widgets, and routes */
409 dev_err(dev, "Failed to add Headphone DAPM widgets: %d\n", ret); in sun8i_codec_add_headphone()
439 dev_err(dev, "Failed to add MBIAS DAPM widgets: %d\n", ret); in sun8i_codec_add_mbias()
460 dev_err(dev, "Failed to add Mic3 DAPM widgets: %d\n", ret); in sun8i_codec_add_hmic()
465 /* line in specific controls, widgets and rines */
505 dev_err(dev, "Failed to add Line In DAPM widgets: %d\n", ret); in sun8i_codec_add_linein()
520 /* line out specific controls, widgets and routes */
586 dev_err(dev, "Failed to add Line Out DAPM widgets: %d\n", ret); in sun8i_codec_add_lineout()
[all …]
/kernel/linux/linux-5.10/sound/soc/sunxi/
Dsun8i-codec-analog.c235 * contexts, we need to manually link the above widgets to their
236 * stream widgets at the card level.
316 /* headphone specific controls, widgets, and routes */
409 dev_err(dev, "Failed to add Headphone DAPM widgets: %d\n", ret); in sun8i_codec_add_headphone()
439 dev_err(dev, "Failed to add MBIAS DAPM widgets: %d\n", ret); in sun8i_codec_add_mbias()
460 dev_err(dev, "Failed to add Mic3 DAPM widgets: %d\n", ret); in sun8i_codec_add_hmic()
465 /* line in specific controls, widgets and rines */
505 dev_err(dev, "Failed to add Line In DAPM widgets: %d\n", ret); in sun8i_codec_add_linein()
520 /* line out specific controls, widgets and routes */
586 dev_err(dev, "Failed to add Line Out DAPM widgets: %d\n", ret); in sun8i_codec_add_lineout()
[all …]
/kernel/linux/linux-6.6/sound/soc/intel/avs/boards/
Di2s_test.c81 struct snd_soc_dapm_widget **widgets, int *num_widgets) in avs_create_dapm_widgets() argument
102 *widgets = dw; in avs_create_dapm_widgets()
110 struct snd_soc_dapm_widget *widgets; in avs_i2s_test_probe() local
144 ret = avs_create_dapm_widgets(dev, ssp_port, &widgets, &num_widgets); in avs_i2s_test_probe()
146 dev_err(dev, "Failed to create dapm widgets: %d\n", ret); in avs_i2s_test_probe()
156 card->dapm_widgets = widgets; in avs_i2s_test_probe()
/kernel/linux/linux-6.6/sound/soc/codecs/
Daudio-iio-aux.c123 static struct snd_soc_dapm_widget widgets[3]; variable
126 /* Be sure sizes are correct (need 3 widgets and 2 routes) */
127 static_assert(ARRAY_SIZE(widgets) >= 3, "3 widgets are needed");
155 widgets[0] = SND_SOC_DAPM_INPUT(input_name); in audio_iio_aux_add_dapms()
156 widgets[1] = SND_SOC_DAPM_OUTPUT(output_name); in audio_iio_aux_add_dapms()
157 widgets[2] = SND_SOC_DAPM_PGA(pga_name, SND_SOC_NOPM, 0, 0, NULL, 0); in audio_iio_aux_add_dapms()
158 ret = snd_soc_dapm_new_controls(dapm, widgets, 3); in audio_iio_aux_add_dapms()
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()
1056 * Widgets are added in the below sequence
1057 * Converter widgets for num converters enumerated
1058 * Pin-port widgets for num ports for Pins enumerated
1059 * Pin-port mux widgets to represent connenction list of pin widget
1062 * Total widgets elements = num_cvt + (num_ports * 2);
1073 struct snd_soc_dapm_widget *widgets; in create_fill_widget_route_map() local
[all …]
/kernel/linux/linux-6.6/drivers/staging/greybus/
Daudio_helper.c22 /* ...find all widgets with the same stream and link them */ in gbaudio_dapm_link_dai_widget()
23 list_for_each_entry(w, &card->widgets, list) { in gbaudio_dapm_link_dai_widget()
65 list_for_each_entry(dai_w, &card->widgets, list) { in gbaudio_dapm_link_component_dai_widgets()
99 * source and sink widgets so that path is removed only once. in gbaudio_dapm_free_widget()
123 list_for_each_entry(tmp_w, &dapm->card->widgets, list) { in gbaudio_dapm_free_controls()
Daudio_topology.c122 dev_warn(module->dev, "%s: missing in modules widgets list\n", name); in gbaudio_map_widgetname()
388 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_get()
437 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_put()
473 widget = wlist->widgets[wi]; in gbcodec_mixer_dapm_ctl_put()
718 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_enum_dapm_ctl_get()
766 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_enum_dapm_ctl_put()
843 widget = wlist->widgets[wi]; in gbcodec_enum_dapm_ctl_put()
1222 struct gb_audio_widget *widgets) in gbaudio_tplg_process_widgets() argument
1235 curr = widgets; in gbaudio_tplg_process_widgets()
1334 /* fetch no. of kcontrols, widgets & routes */ in gbaudio_tplg_process_header()
[all …]
/kernel/linux/linux-5.10/drivers/staging/greybus/
Daudio_helper.c22 /* ...find all widgets with the same stream and link them */ in gbaudio_dapm_link_dai_widget()
23 list_for_each_entry(w, &card->widgets, list) { in gbaudio_dapm_link_dai_widget()
65 list_for_each_entry(dai_w, &card->widgets, list) { in gbaudio_dapm_link_component_dai_widgets()
99 * source and sink widgets so that path is removed only once. in gbaudio_dapm_free_widget()
122 list_for_each_entry_safe(w, next_w, &dapm->card->widgets, in gbaudio_dapm_free_controls()
Daudio_topology.c123 dev_warn(module->dev, "%s: missing in modules widgets list\n", name); in gbaudio_map_widgetname()
389 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_get()
438 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_put()
474 widget = wlist->widgets[wi]; in gbcodec_mixer_dapm_ctl_put()
719 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_enum_dapm_ctl_get()
767 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_enum_dapm_ctl_put()
844 widget = wlist->widgets[wi]; in gbcodec_enum_dapm_ctl_put()
1223 struct gb_audio_widget *widgets) in gbaudio_tplg_process_widgets() argument
1236 curr = widgets; in gbaudio_tplg_process_widgets()
1335 /* fetch no. of kcontrols, widgets & routes */ in gbaudio_tplg_process_header()
[all …]
/kernel/linux/linux-5.10/sound/soc/
Dsoc-dapm.c240 * Resets the cached number of inputs for the specified widget and all widgets
257 * Resets the cached number of outputs for the specified widget and all widgets
271 * for the widgets connected to a path
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()
663 wlist = &w->dapm->card->widgets; in dapm_wcache_lookup()
932 * prefix for widgets so cut the prefix off the in dapm_create_or_share_kcontrol()
[all …]
/kernel/linux/linux-6.6/sound/soc/sof/
Dsof-audio.c158 * widget list and it needs to be set up before the widgets in the pipeline in sof_widget_setup_unlocked()
265 /* ignore routes involving virtual widgets in topology */ in sof_route_setup()
270 /* find route matching source and sink widgets */ in sof_route_setup()
309 * Set up connections between widgets in the sink/source paths based on direction. in sof_setup_pipeline_connections()
310 * Some non-SOF widgets exist in topology either for compatibility or for the in sof_setup_pipeline_connections()
349 * The above loop handles connections between widgets that belong to the DAPM widget list. in sof_setup_pipeline_connections()
432 /* unprepare all widgets in the sink paths */ in sof_unprepare_widgets_in_path()
478 /* prepare all widgets in the sink paths */ in sof_prepare_widgets_in_path()
504 * free all widgets in the sink path starting from the source widget
524 /* free all widgets in the sink paths even in case of error to keep use counts balanced */ in sof_free_widgets_in_path()
[all …]
/kernel/linux/linux-6.6/sound/soc/
Dsoc-dapm.c240 * Resets the cached number of inputs for the specified widget and all widgets
257 * Resets the cached number of outputs for the specified widget and all widgets
271 * for the widgets connected to a path
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()
658 struct list_head *wlist = &w->dapm->card->widgets; in dapm_wcache_lookup()
926 * prefix for widgets so cut the prefix off the in dapm_create_or_share_kcontrol()
[all …]
/kernel/linux/linux-5.10/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()
1056 * Widgets are added in the below sequence
1057 * Converter widgets for num converters enumerated
1058 * Pin-port widgets for num ports for Pins enumerated
1059 * Pin-port mux widgets to represent connenction list of pin widget
1062 * Total widgets elements = num_cvt + (num_ports * 2);
1073 struct snd_soc_dapm_widget *widgets; in create_fill_widget_route_map() local
[all …]
/kernel/linux/linux-6.6/Documentation/sound/hd-audio/
Drealtek-pc-beep.rst7 route audio between pins but aren't themselves exposed as HDA widgets. As far
9 for codecs that don't have mixer widgets in their output paths. Why it's easier
35 by h and S bits. Does not affect the level of 1Ah exposed to other widgets.
39 by h and S bits. Does not affect the level of 1Ah exposed to other widgets.
90 and selector widgets.
/kernel/linux/linux-5.10/Documentation/sound/hd-audio/
Drealtek-pc-beep.rst7 route audio between pins but aren't themselves exposed as HDA widgets. As far
9 for codecs that don't have mixer widgets in their output paths. Why it's easier
35 by h and S bits. Does not affect the level of 1Ah exposed to other widgets.
39 by h and S bits. Does not affect the level of 1Ah exposed to other widgets.
90 and selector widgets.
/kernel/linux/linux-5.10/include/sound/
Dsoc-topology.h9 * algorithms, equalisers, DAIs, widgets, FE caps, BE caps, codec link caps etc.
99 * DAPM widget event handlers - used to map handlers onto widgets.
188 /* Widget removal - widgets also removed wth component API */
193 /* Binds event handlers to dynamic widgets */

12345678910>>...19