Home
last modified time | relevance | path

Searched refs:widgets (Results 1 – 25 of 241) sorted by relevance

12345678910

/linux/Documentation/sound/soc/
H A Ddapm.rst19 DAPM is based on two basic elements, called widgets and routes:
23 * a **route** is an interconnection between widgets that exists when sound
28 the whole sound card, so some DAPM routes connect two widgets belonging to
75 Audio DAPM widgets fall into a number of types:
102 Power or clock supply widget used by other widgets.
146 build a list of widgets of the codecs and machines DAPM widgets.
148 Most widgets have a name, register, shift and invert. Some widgets have extra
159 Stream widgets have the following format:
168 e.g. stream widgets for HiFi playback and capture
174 e.g. stream widgets for AIF
[all …]
/linux/sound/soc/sdw_utils/
H A Dsoc_sdw_utils.c88 .widgets = lr_4spk_widgets,
106 .widgets = rt700_widgets,
127 .widgets = generic_jack_widgets,
148 .widgets = generic_jack_widgets,
169 .widgets = generic_jack_widgets,
183 .widgets = generic_spk_widgets,
226 .widgets = generic_jack_widgets,
270 .widgets = generic_spk_widgets,
292 .widgets = generic_spk_widgets,
313 .widgets = generic_spk_widgets,
[all …]
/linux/sound/hda/core/
H A Dsysfs.c322 struct hdac_widget_tree *tree = codec->widgets; in widget_tree_free()
335 codec->widgets = NULL; in widget_tree_free()
369 tree = codec->widgets = kzalloc_obj(*tree); in widget_tree_create()
404 if (codec->widgets) in hda_widget_sysfs_init()
431 if (!codec->widgets) in hda_widget_sysfs_reinit()
434 tree = kmemdup(codec->widgets, sizeof(*tree), GFP_KERNEL); in hda_widget_sysfs_reinit()
447 free_widget_node(codec->widgets->nodes[i], in hda_widget_sysfs_reinit()
458 codec->widgets->nodes[nid - codec->start_nid]; in hda_widget_sysfs_reinit()
462 kfree(codec->widgets->nodes); in hda_widget_sysfs_reinit()
463 kfree(codec->widgets); in hda_widget_sysfs_reinit()
[all …]
/linux/sound/soc/codecs/
H A Daudio-iio-aux.c124 static struct snd_soc_dapm_widget widgets[3]; variable
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 Dhdac_hdmi.c1034 struct snd_soc_dapm_widget *widgets, in hdac_hdmi_add_pinmux_cvt_route() argument
1044 kc = widgets[mux_index].kcontrol_news; in hdac_hdmi_add_pinmux_cvt_route()
1048 widgets[mux_index].name, in hdac_hdmi_add_pinmux_cvt_route()
1050 widgets[j].name, NULL); in hdac_hdmi_add_pinmux_cvt_route()
1079 struct snd_soc_dapm_widget *widgets; in create_fill_widget_route_map() local
1092 widgets = devm_kzalloc(dev, (sizeof(*widgets) * in create_fill_widget_route_map()
1096 if (!widgets) in create_fill_widget_route_map()
1102 ret = hdac_hdmi_fill_widget_info(dev, &widgets[i], in create_fill_widget_route_map()
1116 ret = hdac_hdmi_fill_widget_info(dev, &widgets[i], in create_fill_widget_route_map()
1124 pin->ports[j].output_pin = widgets[i].name; in create_fill_widget_route_map()
[all …]
/linux/sound/soc/intel/boards/
H A Dbytcht_nocodec.c20 static const struct snd_soc_dapm_widget widgets[] = { variable
155 .dapm_widgets = widgets,
156 .num_dapm_widgets = ARRAY_SIZE(widgets),
H A Dsof_da7219.c70 static const struct snd_soc_dapm_widget widgets[] = { variable
203 .dapm_widgets = widgets,
204 .num_dapm_widgets = ARRAY_SIZE(widgets),
/linux/sound/soc/samsung/
H A Dlowland.c150 static const struct snd_soc_dapm_widget widgets[] = { variable
180 .dapm_widgets = widgets,
181 .num_dapm_widgets = ARRAY_SIZE(widgets),
H A Dtobermory.c130 static const struct snd_soc_dapm_widget widgets[] = { variable
212 .dapm_widgets = widgets,
213 .num_dapm_widgets = ARRAY_SIZE(widgets),
H A Dlittlemill.c231 static const struct snd_soc_dapm_widget widgets[] = { variable
325 .dapm_widgets = widgets,
326 .num_dapm_widgets = ARRAY_SIZE(widgets),
H A Dspeyside.c274 static const struct snd_soc_dapm_widget widgets[] = { variable
326 .dapm_widgets = widgets,
327 .num_dapm_widgets = ARRAY_SIZE(widgets),
/linux/Documentation/devicetree/bindings/sound/
H A Dwidgets.txt3 This mainly specifies audio off-codec DAPM widgets.
15 simple-audio-widgets =
/linux/drivers/staging/greybus/
H A Daudio_helper.c23 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()
124 list_for_each_entry(tmp_w, &card->widgets, list) { in gbaudio_dapm_free_controls()
H A Daudio_topology.c382 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()
1353 struct gb_audio_widget *widgets; in gbaudio_tplg_parse_data() local
1378 widgets = (struct gb_audio_widget *)module->widget_offset; in gbaudio_tplg_parse_data()
[all …]
/linux/sound/soc/fsl/
H A Dimx-rpmsg.c66 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/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/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 =
H A Dimx95-19x19-evk-sof.dts42 widgets = "Headphone", "Headphones",
/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/generic/
H A Dtest-component.c520 static const struct snd_soc_dapm_widget widgets[] = { variable
576 cdriv->dapm_widgets = widgets; in test_driver_probe()
577 cdriv->num_dapm_widgets = ARRAY_SIZE(widgets); in test_driver_probe()
/linux/include/sound/
H A Dsdca_asoc.h31 struct snd_soc_dapm_widget *widgets,
/linux/sound/soc/
H A Dsoc-dapm.c850 struct_size(new_wlist, widgets, n), in dapm_kcontrol_add_widget()
856 new_wlist->widgets[n - 1] = widget; in dapm_kcontrol_add_widget()
910 switch (dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->id) { in dapm_kcontrol_set_value()
938 return dapm_kcontrol_get_wlist(kcontrol)->widgets[0]; in snd_soc_dapm_kcontrol_to_widget()
951 return dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->dapm; in snd_soc_dapm_kcontrol_to_dapm()
1017 struct list_head *wlist = &w->dapm->card->widgets; in dapm_wcache_lookup()
1428 struct list_head *widgets) in dapm_widget_list_create() argument
1435 list_for_each(it, widgets) in dapm_widget_list_create()
1438 *list = kzalloc_flex(**list, widgets, size); in dapm_widget_list_create()
1444 list_for_each_entry(w, widgets, work_list) in dapm_widget_list_create()
[all …]
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3588-rock-5b.dtsi12 widgets = "Microphone", "Mic Jack",
/linux/arch/arm/boot/dts/samsung/
H A Dexynos5422-odroidxu3-audio.dtsi18 samsung,audio-widgets =

12345678910