Home
last modified time | relevance | path

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

123456789

/linux/sound/hda/
H A 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 …]
/linux/sound/soc/sunxi/
H A Dsun8i-codec-analog.c234 * 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/Documentation/devicetree/bindings/sound/
H A Dwidgets.txt1 Widgets:
3 This mainly specifies audio off-codec DAPM widgets.
15 simple-audio-widgets =
H A Dsound-card-common.yaml20 ignore-suspend-widgets:
23 A list of audio sound widgets which are marked ignoring system suspend.
H A Dqcom,apq8016-sbc-sndcard.yaml51 widgets:
52 description: User specified audio sound widgets.
168 widgets =
H A Dsamsung,odroid.yaml61 samsung,audio-widgets:
65 like headphones or speakers, for details see widgets.txt
H A Damlogic,axg-sound-card.yaml23 audio-widgets:
120 audio-widgets = "Line", "Lineout",
/linux/sound/soc/codecs/
H A Daudio-iio-aux.c124 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()
/linux/drivers/staging/greybus/
H A 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()
H A Daudio_topology.c116 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/Documentation/sound/hd-audio/
H A 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/sound/soc/intel/boards/
H A Dsof_realtek_common.c198 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()
H A Dsof_maxim_common.c250 dev_err(rtd->dev, "fail to add max98373 widgets, ret %d\n", in max_98373_spk_codec_init()
424 /* add widgets/controls/dapm for tweeter speakers */ in max_98390_init()
428 dev_err(rtd->dev, "unable to add tweeter dapm widgets, ret %d\n", in max_98390_init()
456 dev_err(rtd->dev, "fail to add max98390 woofer widgets, ret %d\n", in max_98390_init()
H A Dsof_da7219.c71 static const struct snd_soc_dapm_widget widgets[] = { variable
204 .dapm_widgets = widgets,
205 .num_dapm_widgets = ARRAY_SIZE(widgets),
H A Dsof_nuvoton_common.c42 dev_err(rtd->dev, "fail to add nau8318 widgets, ret %d\n", ret); in nau8318_init()
/linux/include/sound/
H A Dsoc-topology.h9 * 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 */
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mq-zii-ultra-rmb3.dts20 simple-audio-card,widgets =
45 simple-audio-card,widgets =
H A Dimx8mq-zii-ultra-zest.dts20 simple-audio-card,widgets =
/linux/arch/arm/boot/dts/allwinner/
H A Dsun8i-a33-olinuxino.dts192 /* Board level jack widgets */
193 simple-audio-card,widgets = "Microphone", "Microphone Jack",
/linux/arch/arm/boot/dts/ti/omap/
H A Dam3517-evm-ui.dtsi13 simple-audio-card,widgets =
43 simple-audio-card,widgets =
/linux/sound/soc/amd/acp/
H A Dacp-legacy-mach.c151 /* If widgets and controls are not set in specific callback, in acp_asoc_probe()
157 "Cannot configure widgets for card (%s): %d\n", in acp_asoc_probe()
/linux/arch/mips/include/asm/xtalk/
H A Dxwidget.h123 /* Known Xtalk Widgets */
201 * configuration registers is allowed. some widgets may allow 64-bits
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-wingtech-wt88047.dts222 * Provide widgets/pin-switches to allow enabling speaker and headphones
226 widgets =
H A Dmsm8916-longcheer-l8910.dts236 * Provide widgets/pin-switches to allow enabling speaker separately.
241 widgets =
/linux/sound/soc/generic/
H A Dtest-component.c509 static const struct snd_soc_dapm_widget widgets[] = { variable
565 cdriv->dapm_widgets = widgets; in test_driver_probe()
566 cdriv->num_dapm_widgets = ARRAY_SIZE(widgets); in test_driver_probe()

123456789