/linux/sound/soc/tegra/ |
H A D | tegra210_ahub.c | 716 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 …]
|
/linux/sound/hda/ |
H A D | hdac_sysfs.c | 82 * /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 …]
|
/linux/sound/soc/sdw_utils/ |
H A D | soc_sdw_utils.c | 71 .widgets = rt700_widgets, 91 .widgets = generic_jack_widgets, 111 .widgets = generic_jack_widgets, 131 .widgets = generic_jack_widgets, 144 .widgets = generic_spk_widgets, 185 .widgets = generic_jack_widgets, 226 .widgets = generic_spk_widgets, 246 .widgets = generic_spk_widgets, 265 .widgets = generic_spk_widgets, 284 .widgets = generic_spk_widgets, [all …]
|
/linux/sound/soc/sunxi/ |
H A D | sun8i-codec-analog.c | 234 * contexts, we need to manually link the above widgets to their 235 * stream widgets at the card level. 315 /* headphone specific controls, widgets, and routes */ 408 dev_err(dev, "Failed to add Headphone DAPM widgets: %d\n", ret); in sun8i_codec_add_headphone() 438 dev_err(dev, "Failed to add MBIAS DAPM widgets: %d\n", ret); in sun8i_codec_add_mbias() 459 dev_err(dev, "Failed to add Mic3 DAPM widgets: %d\n", ret); in sun8i_codec_add_hmic() 464 /* line in specific controls, widgets and rines */ 504 dev_err(dev, "Failed to add Line In DAPM widgets: %d\n", ret); in sun8i_codec_add_linein() 519 /* line out specific controls, widgets and routes */ 585 dev_err(dev, "Failed to add Line Out DAPM widgets: %d\n", ret); in sun8i_codec_add_lineout() [all …]
|
/linux/sound/soc/codecs/ |
H A D | audio-iio-aux.c | 124 static struct snd_soc_dapm_widget widgets[3]; variable 127 /* Be sure sizes are correct (need 3 widgets and 2 routes) */ 128 static_assert(ARRAY_SIZE(widgets) >= 3, "3 widgets are needed"); 150 widgets[0] = SND_SOC_DAPM_INPUT(input_name); in audio_iio_aux_add_dapms() 151 widgets[1] = SND_SOC_DAPM_OUTPUT(output_name); in audio_iio_aux_add_dapms() 152 widgets[2] = SND_SOC_DAPM_PGA(pga_name, SND_SOC_NOPM, 0, 0, NULL, 0); in audio_iio_aux_add_dapms() 153 ret = snd_soc_dapm_new_controls(dapm, widgets, 3); in audio_iio_aux_add_dapms()
|
H A D | hdac_hdmi.c | 1033 struct snd_soc_dapm_widget *widgets, in hdac_hdmi_add_pinmux_cvt_route() argument 1043 kc = widgets[mux_index].kcontrol_news; in hdac_hdmi_add_pinmux_cvt_route() 1047 widgets[mux_index].name, in hdac_hdmi_add_pinmux_cvt_route() 1049 widgets[j].name, NULL); in hdac_hdmi_add_pinmux_cvt_route() 1059 * Widgets are added in the below sequence 1060 * Converter widgets for num converters enumerated 1061 * Pin-port widgets for num ports for Pins enumerated 1062 * Pin-port mux widgets to represent connenction list of pin widget 1065 * Total widgets elements = num_cvt + (num_ports * 2); 1076 struct snd_soc_dapm_widget *widgets; in create_fill_widget_route_map() local [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | widgets.txt | 1 Widgets: 3 This mainly specifies audio off-codec DAPM widgets. 15 simple-audio-widgets =
|
H A D | sound-card-common.yaml | 20 ignore-suspend-widgets: 23 A list of audio sound widgets which are marked ignoring system suspend.
|
H A D | qcom,apq8016-sbc-sndcard.yaml | 51 widgets: 52 description: User specified audio sound widgets. 168 widgets =
|
H A D | samsung,odroid.yaml | 61 samsung,audio-widgets: 65 like headphones or speakers, for details see widgets.txt
|
/linux/drivers/staging/greybus/ |
H A D | audio_helper.c | 22 /* ...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()
|
H A D | audio_topology.c | 116 dev_warn(module->dev, "%s: missing in modules widgets list\n", name); in gbaudio_map_widgetname() 382 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_get() 431 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_put() 467 widget = wlist->widgets[wi]; in gbcodec_mixer_dapm_ctl_put() 712 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_enum_dapm_ctl_get() 759 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_enum_dapm_ctl_put() 834 widget = wlist->widgets[wi]; in gbcodec_enum_dapm_ctl_put() 1213 struct gb_audio_widget *widgets) in gbaudio_tplg_process_widgets() argument 1226 curr = widgets; in gbaudio_tplg_process_widgets() 1325 /* fetch no. of kcontrols, widgets & routes */ in gbaudio_tplg_process_header() [all …]
|
/linux/sound/soc/sof/ |
H A D | sof-audio.c | 155 * widget list and it needs to be set up before the widgets in the pipeline in sof_widget_setup_unlocked() 262 /* ignore routes involving virtual widgets in topology */ in sof_route_setup() 267 /* find route matching source and sink widgets */ in sof_route_setup() 306 * Set up connections between widgets in the sink/source paths based on direction. in sof_setup_pipeline_connections() 307 * Some non-SOF widgets exist in topology either for compatibility or for the in sof_setup_pipeline_connections() 346 * The above loop handles connections between widgets that belong to the DAPM widget list. in sof_setup_pipeline_connections() 429 /* unprepare all widgets in the sink paths */ in sof_unprepare_widgets_in_path() 475 /* prepare all widgets in the sink paths */ in sof_prepare_widgets_in_path() 501 * free all widgets in the sink path starting from the source widget 521 /* free all widgets in the sink paths even in case of error to keep use counts balanced */ in sof_free_widgets_in_path() [all …]
|
H A D | sof-audio.h | 172 * struct sof_ipc_tplg_widget_ops - IPC-specific ops for topology widgets 197 * @widget: Array of pointers to IPC-specific ops for widgets. This should always be of size 318 * @count: number of pipeline widgets in the @pipe_widgets array 333 struct snd_soc_dapm_widget_list *list; /* list of connected DAPM widgets */ 446 * loading, this flag is propagated to all the widgets belonging to the same pipeline. 465 * Widgets may have zero input or output pins, for example the tone widget has
|
/linux/sound/soc/ |
H A D | soc-dapm.c | 241 * Resets the cached number of inputs for the specified widget and all widgets 258 * Resets the cached number of outputs for the specified widget and all widgets 272 * for the widgets connected to a path 501 struct_size(new_wlist, widgets, n), in dapm_kcontrol_add_widget() 507 new_wlist->widgets[n - 1] = widget; in dapm_kcontrol_add_widget() 561 switch (dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->id) { in dapm_kcontrol_set_value() 590 return dapm_kcontrol_get_wlist(kcontrol)->widgets[0]; in snd_soc_dapm_kcontrol_widget() 605 return dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->dapm; in snd_soc_dapm_kcontrol_dapm() 664 struct list_head *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 …]
|
/linux/Documentation/sound/hd-audio/ |
H A D | realtek-pc-beep.rst | 7 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/sound/soc/fsl/ |
H A D | imx-rpmsg.c | 66 const char *widgets; in imx_rpmsg_late_probe() local 70 "ignore-suspend-widgets"); in imx_rpmsg_late_probe() 73 "ignore-suspend-widgets", in imx_rpmsg_late_probe() 74 i, &widgets); in imx_rpmsg_late_probe() 76 snd_soc_dapm_ignore_suspend(dapm, widgets); in imx_rpmsg_late_probe()
|
/linux/sound/soc/intel/boards/ |
H A D | sof_realtek_common.c | 198 dev_err(rtd->dev, "fail to add rt1011 widgets, ret %d\n", in rt1011_init() 223 * register speaker widgets "WL Ext Spk" and "WR Ext Spk" to in rt1011_init() 231 dev_err(rtd->dev, "fail to add rt1011 widgets, ret %d\n", in rt1011_init() 289 * use name prefix 'WL' and 'WR' for speaker widgets to in sof_rt1011_codec_conf() 352 dev_err(rtd->dev, "fail to add rt1015p widgets, ret %d\n", ret); in rt1015p_init() 492 dev_err(rtd->dev, "fail to add rt1015 widgets, ret %d\n", in speaker_codec_init_lr() 658 dev_err(rtd->dev, "fail to add rt1019p widgets, ret %d\n", ret); in rt1019p_init()
|
/linux/sound/soc/samsung/ |
H A D | lowland.c | 150 static const struct snd_soc_dapm_widget widgets[] = { variable 180 .dapm_widgets = widgets, 181 .num_dapm_widgets = ARRAY_SIZE(widgets),
|
H A D | tobermory.c | 133 static const struct snd_soc_dapm_widget widgets[] = { variable 215 .dapm_widgets = widgets, 216 .num_dapm_widgets = ARRAY_SIZE(widgets),
|
H A D | speyside.c | 267 static const struct snd_soc_dapm_widget widgets[] = { variable 319 .dapm_widgets = widgets, 320 .num_dapm_widgets = ARRAY_SIZE(widgets),
|
H A D | littlemill.c | 234 static const struct snd_soc_dapm_widget widgets[] = { variable 328 .dapm_widgets = widgets, 329 .num_dapm_widgets = ARRAY_SIZE(widgets),
|
/linux/include/sound/ |
H A D | soc-topology.h | 9 * algorithms, equalisers, DAIs, widgets, FE caps, BE caps, codec link caps etc. 96 * DAPM widget event handlers - used to map handlers onto widgets. 184 /* Binds event handlers to dynamic widgets */
|
H A D | soc-dapm.h | 300 /* generic widgets */ 595 /* dapm audio path between two widgets */ 600 * source (input) and sink (output) widgets 613 u32 connect:1; /* source and sink widgets are connected */ 616 u32 is_supply:1; /* At least one of the connected widgets is a supply */ 718 /* A list of widgets associated with an object, typically a snd_kcontrol */ 721 struct snd_soc_dapm_widget *widgets[] __counted_by(num_widgets); 726 (i) < list->num_widgets && (widget = list->widgets[i]); \ 786 * incoming or outgoing widgets 797 * incoming or outgoing widgets
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mq-zii-ultra-rmb3.dts | 20 simple-audio-card,widgets = 45 simple-audio-card,widgets =
|