Home
last modified time | relevance | path

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

12345678

/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 …]
/linux-5.10/sound/soc/tegra/
Dtegra210_ahub.c318 WIDGETS("ADMAIF1", t210_admaif1_tx),
319 WIDGETS("ADMAIF2", t210_admaif2_tx),
320 WIDGETS("ADMAIF3", t210_admaif3_tx),
321 WIDGETS("ADMAIF4", t210_admaif4_tx),
322 WIDGETS("ADMAIF5", t210_admaif5_tx),
323 WIDGETS("ADMAIF6", t210_admaif6_tx),
324 WIDGETS("ADMAIF7", t210_admaif7_tx),
325 WIDGETS("ADMAIF8", t210_admaif8_tx),
326 WIDGETS("ADMAIF9", t210_admaif9_tx),
327 WIDGETS("ADMAIF10", t210_admaif10_tx),
[all …]
/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()
367 tree = codec->widgets = kzalloc(sizeof(*tree), GFP_KERNEL); in widget_tree_create()
371 tree->root = kobject_create_and_add("widgets", &codec->dev.kobj); in widget_tree_create()
403 if (codec->widgets) in hda_widget_sysfs_init()
430 if (!codec->widgets) in hda_widget_sysfs_reinit()
433 tree = kmemdup(codec->widgets, sizeof(*tree), GFP_KERNEL); in hda_widget_sysfs_reinit()
446 free_widget_node(codec->widgets->nodes[i], in hda_widget_sysfs_reinit()
457 codec->widgets->nodes[nid - codec->start_nid]; in hda_widget_sysfs_reinit()
[all …]
/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",
Dsimple-card.yaml87 widgets: schema
88 description: User specified audio sound widgets.
163 "^simple-audio-card,widgets$":
164 $ref: "#/definitions/widgets"
260 simple-audio-card,widgets =
330 simple-audio-card,widgets =
Dsamsung,odroid.yaml65 samsung,audio-widgets:
69 like headphones or speakers, for details see widgets.txt
/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 …]
/linux-5.10/drivers/staging/greybus/
Daudio_helper.c23 /* ...find all widgets with the same stream and link them */ in gbaudio_dapm_link_dai_widget()
24 list_for_each_entry(w, &card->widgets, list) { in gbaudio_dapm_link_dai_widget()
66 list_for_each_entry(dai_w, &card->widgets, list) { in gbaudio_dapm_link_component_dai_widgets()
100 * source and sink widgets so that path is removed only once. in gbaudio_dapm_free_widget()
127 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()
386 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_get()
435 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_put()
471 widget = wlist->widgets[wi]; in gbcodec_mixer_dapm_ctl_put()
714 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_enum_dapm_ctl_get()
762 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_enum_dapm_ctl_put()
839 widget = wlist->widgets[wi]; in gbcodec_enum_dapm_ctl_put()
1210 struct gb_audio_widget *widgets) in gbaudio_tplg_process_widgets() argument
1223 curr = widgets; in gbaudio_tplg_process_widgets()
1322 /* fetch no. of kcontrols, widgets & routes */ in gbaudio_tplg_process_header()
[all …]
/linux-5.10/sound/soc/
Dsoc-dapm.c238 * Resets the cached number of inputs for the specified widget and all widgets
255 * Resets the cached number of outputs for the specified widget and all widgets
269 * for the widgets connected to a path
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()
658 wlist = &w->dapm->card->widgets; in dapm_wcache_lookup()
927 * prefix for widgets so cut the prefix off the in dapm_create_or_share_kcontrol()
[all …]
/linux-5.10/sound/soc/codecs/
Dhdac_hdmi.c1025 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()
1051 * Widgets are added in the below sequence
1052 * Converter widgets for num converters enumerated
1053 * Pin-port widgets for num ports for Pins enumerated
1054 * Pin-port mux widgets to represent connenction list of pin widget
1057 * Total widgets elements = num_cvt + (num_ports * 2);
1068 struct snd_soc_dapm_widget *widgets; in create_fill_widget_route_map() local
[all …]
Duda134x.c396 /* Common DAPM widgets */
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()
/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.
/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 */
Dsoc-dapm.h257 /* generic widgets */
584 /* dapm audio path between two widgets */
589 * source (input) and sink (output) widgets
602 u32 connect:1; /* source and sink widgets are connected */
605 u32 is_supply:1; /* At least one of the connected widgets is a supply */
709 /* A list of widgets associated with an object, typically a snd_kcontrol */
712 struct snd_soc_dapm_widget *widgets[]; member
717 (i) < list->num_widgets && (widget = list->widgets[i]); \
777 * incoming or outgoing widgets
788 * incoming or outgoing widgets
/linux-5.10/sound/soc/samsung/
Dlowland.c143 static struct snd_soc_dapm_widget widgets[] = { variable
172 .dapm_widgets = widgets,
173 .num_dapm_widgets = ARRAY_SIZE(widgets),
Dtobermory.c133 static struct snd_soc_dapm_widget widgets[] = { variable
215 .dapm_widgets = widgets,
216 .num_dapm_widgets = ARRAY_SIZE(widgets),
Dlittlemill.c231 static struct snd_soc_dapm_widget widgets[] = { variable
312 .dapm_widgets = widgets,
313 .num_dapm_widgets = ARRAY_SIZE(widgets),
Dspeyside.c264 static struct snd_soc_dapm_widget widgets[] = { variable
316 .dapm_widgets = widgets,
317 .num_dapm_widgets = ARRAY_SIZE(widgets),
/linux-5.10/sound/soc/intel/boards/
Dbytcht_nocodec.c20 static const struct snd_soc_dapm_widget widgets[] = { variable
160 .dapm_widgets = widgets,
161 .num_dapm_widgets = ARRAY_SIZE(widgets),
Dsof_da7219_max98373.c79 static const struct snd_soc_dapm_widget widgets[] = { variable
370 .dapm_widgets = widgets,
371 .num_dapm_widgets = ARRAY_SIZE(widgets),
Dbxt_da7219_max98357a.c656 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()
685 dev_err(card->dev, "Fail to new widgets\n"); in bxt_card_late_probe()
/linux-5.10/arch/arm/boot/dts/
Dam3517-evm-ui.dtsi13 simple-audio-card,widgets =
43 simple-audio-card,widgets =
Dsun8i-a33-olinuxino.dts192 /* Board level jack widgets */
193 simple-audio-card,widgets = "Microphone", "Microphone Jack",

12345678