Home
last modified time | relevance | path

Searched refs:widget (Results 1 – 25 of 60) sorted by relevance

123

/linux-6.12.1/arch/mips/sgi-ip30/
Dip30-xtalk.c18 #define IP30_SWIN_BASE(widget) \ argument
19 (0x0000000010000000 | (((unsigned long)(widget)) << 24))
21 #define IP30_RAW_SWIN_BASE(widget) (IO_BASE + IP30_SWIN_BASE(widget)) argument
39 static void bridge_platform_create(int widget, int masterwid) in bridge_platform_create() argument
49 pr_warn("xtalk:%x bridge create out of memory\n", widget); in bridge_platform_create()
54 IP30_SWIN_BASE(widget)); in bridge_platform_create()
57 w1_res.start = IP30_SWIN_BASE(widget) + in bridge_platform_create()
64 pr_warn("xtalk:%x bridge create out of memory\n", widget); in bridge_platform_create()
68 pr_warn("xtalk:%x bridge failed to add platform resources.\n", widget); in bridge_platform_create()
72 pr_warn("xtalk:%x bridge failed to add platform data.\n", widget); in bridge_platform_create()
[all …]
/linux-6.12.1/sound/soc/sof/
Dsof-audio.c16 static bool is_virtual_widget(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in is_virtual_widget() argument
19 switch (widget->id) { in is_virtual_widget()
23 dev_dbg(sdev->dev, "%s: %s is a virtual widget\n", func, widget->name); in is_virtual_widget()
30 static void sof_reset_route_setup_status(struct snd_sof_dev *sdev, struct snd_sof_widget *widget) in sof_reset_route_setup_status() argument
36 if (sroute->src_widget == widget || sroute->sink_widget == widget) { in sof_reset_route_setup_status()
75 swidget->widget->name); in sof_widget_free_unlocked()
97 i, swidget->widget->name); in sof_widget_free_unlocked()
117 dev_dbg(sdev->dev, "widget %s freed\n", swidget->widget->name); in sof_widget_free_unlocked()
162 dev_err(sdev->dev, "No pipeline set for %s\n", swidget->widget->name); in sof_widget_setup_unlocked()
178 i, swidget->widget->name); in sof_widget_setup_unlocked()
[all …]
Dipc4-topology.c285 swidget->widget->name, ret); in sof_ipc4_get_audio_fmt()
289 dev_dbg(scomp->dev, "widget %s: is_pages: %d\n", swidget->widget->name, in sof_ipc4_get_audio_fmt()
308 dev_dbg(scomp->dev, "Input audio formats for %s\n", swidget->widget->name); in sof_ipc4_get_audio_fmt()
331 dev_dbg(scomp->dev, "Output audio formats for %s\n", swidget->widget->name); in sof_ipc4_get_audio_fmt()
372 swidget->widget->name, &swidget->uuid); in sof_ipc4_widget_set_module_info()
481 dev_dbg(scomp->dev, "Updating IPC structure for %s\n", swidget->widget->name); in sof_ipc4_widget_setup_pcm()
504 dev_dbg(scomp->dev, "host copier '%s' node_type %u\n", swidget->widget->name, node_type); in sof_ipc4_widget_setup_pcm()
605 dev_dbg(scomp->dev, "Updating IPC structure for %s\n", swidget->widget->name); in sof_ipc4_widget_setup_comp_dai()
628 dev_dbg(scomp->dev, "dai %s node_type %u dai_type %u dai_index %d\n", swidget->widget->name, in sof_ipc4_widget_setup_comp_dai()
653 snd_soc_dapm_widget_for_each_source_path(swidget->widget, p) in sof_ipc4_widget_setup_comp_dai()
[all …]
Dipc3-topology.c433 dev_dbg(scomp->dev, "loaded host %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_host()
476 swidget->widget->name, tone->frequency, tone->amplitude); in sof_ipc3_widget_setup_comp_tone()
510 dev_dbg(scomp->dev, "loaded mixer %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_mixer()
537 comp_swidget = snd_sof_find_swidget(scomp, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
540 swidget->widget->name, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
567 swidget->widget->name, pipeline->period, pipeline->priority, in sof_ipc3_widget_setup_comp_pipeline()
613 swidget->widget->name, buffer->size, buffer->caps); in sof_ipc3_widget_setup_comp_buffer()
648 swidget->widget->name, src->source_rate, src->sink_rate); in sof_ipc3_widget_setup_comp_src()
689 swidget->widget->name, asrc->source_rate, asrc->sink_rate, in sof_ipc3_widget_setup_comp_asrc()
731 dev_dbg(scomp->dev, "loaded mux %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_mux()
[all …]
Dipc3-control.c553 struct snd_soc_dapm_widget *widget; in sof_ipc3_control_update() local
598 widget = swidget->widget; in sof_ipc3_control_update()
599 for (i = 0; i < widget->num_kcontrols; i++) { in sof_ipc3_control_update()
601 if (widget->dobj.widget.kcontrol_type[i] == type && in sof_ipc3_control_update()
602 widget->kcontrol_news[i].index == cdata->index) { in sof_ipc3_control_update()
603 kc = widget->kcontrols[i]; in sof_ipc3_control_update()
676 scontrol->comp_id, swidget->widget->name); in sof_ipc3_widget_kcontrol_setup()
693 scontrol->comp_id, swidget->widget->name); in sof_ipc3_widget_kcontrol_setup()
Dtopology.c1205 dev_err(scomp->dev, "No token list for widget %s\n", swidget->widget->name); in sof_widget_parse_tokens()
1224 object_token_list[i], swidget->widget->name); in sof_widget_parse_tokens()
1239 swidget->widget->name); in sof_widget_parse_tokens()
1249 swidget->widget->name); in sof_widget_parse_tokens()
1259 swidget->widget->name); in sof_widget_parse_tokens()
1288 token_list[object_token_list[i]].name, swidget->widget->name, ret); in sof_widget_parse_tokens()
1406 swidget->widget = w; in sof_widget_ready()
1436 swidget->widget->name, swidget->num_input_pins, swidget->num_output_pins); in sof_widget_ready()
1467 widget_ops = tplg_ops ? tplg_ops->widget : NULL; in sof_widget_ready()
1557 swidget->widget->name); in sof_widget_ready()
[all …]
Dipc4-control.c661 struct snd_soc_dapm_widget *widget; in sof_ipc4_control_update() local
725 __func__, swidget->widget->name, ndata->event_id & 0xffff, in sof_ipc4_control_update()
765 widget = swidget->widget; in sof_ipc4_control_update()
766 for (i = 0; i < widget->num_kcontrols; i++) { in sof_ipc4_control_update()
768 if (widget->dobj.widget.kcontrol_type[i] == type && in sof_ipc4_control_update()
769 widget->kcontrol_news[i].index == cdata->index) { in sof_ipc4_control_update()
770 kc = widget->kcontrols[i]; in sof_ipc4_control_update()
812 scontrol->comp_id, swidget->widget->name); in sof_ipc4_widget_kcontrol_setup()
/linux-6.12.1/arch/mips/sgi-ip27/
Dip27-xtalk.c26 static void bridge_platform_create(nasid_t nasid, int widget, int masterwid) in bridge_platform_create() argument
39 pr_warn("xtalk:n%d/%x bridge create out of memory\n", nasid, widget); in bridge_platform_create()
44 offset + (widget << SWIN_SIZE_BITS)); in bridge_platform_create()
47 w1_res.start = offset + (widget << SWIN_SIZE_BITS) + in bridge_platform_create()
54 pr_warn("xtalk:n%d/%x bridge create out of memory\n", nasid, widget); in bridge_platform_create()
58 pr_warn("xtalk:n%d/%x bridge failed to add platform resources.\n", nasid, widget); in bridge_platform_create()
62 pr_warn("xtalk:n%d/%x bridge failed to add platform data.\n", nasid, widget); in bridge_platform_create()
66 pr_warn("xtalk:n%d/%x bridge failed to add platform device.\n", nasid, widget); in bridge_platform_create()
74 pr_warn("xtalk:n%d/%x bridge create out of memory\n", nasid, widget); in bridge_platform_create()
79 pr_warn("xtalk:n%d/%x bridge create out of memory\n", nasid, widget); in bridge_platform_create()
[all …]
/linux-6.12.1/drivers/staging/greybus/
Daudio_topology.c110 struct gbaudio_widget *widget; in gbaudio_map_widgetname() local
112 list_for_each_entry(widget, &module->widget_list, list) { in gbaudio_map_widgetname()
113 if (!strncmp(widget->name, name, NAME_SIZE)) in gbaudio_map_widgetname()
114 return widget->id; in gbaudio_map_widgetname()
124 struct gbaudio_widget *widget; in gbaudio_map_widgetid() local
126 list_for_each_entry(widget, &module->widget_list, list) { in gbaudio_map_widgetid()
127 if (widget->id == widget_id) in gbaudio_map_widgetid()
128 return widget->name; in gbaudio_map_widgetid()
382 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_get() local
383 struct device *codec_dev = widget->dapm->dev; in gbcodec_mixer_dapm_ctl_get()
[all …]
Daudio_helper.c113 const struct snd_soc_dapm_widget *widget, in gbaudio_dapm_free_controls() argument
125 !strcmp(tmp_w->name, widget->name)) { in gbaudio_dapm_free_controls()
132 widget->name); in gbaudio_dapm_free_controls()
133 widget++; in gbaudio_dapm_free_controls()
136 widget++; in gbaudio_dapm_free_controls()
/linux-6.12.1/Documentation/sound/soc/
Ddapm.rst21 * a **widget** is every part of the audio hardware that can be enabled by
24 can flow from one widget to the other
79 A programmable gain amplifier or attenuation widget.
99 Power or clock supply widget used by other widgets.
117 Special PRE widget (exec before all others)
119 Special POST widget (exec after all others)
121 Inter widget audio data buffer within a DSP.
187 Any widget kcontrols can be set using the controls and num_controls members.
189 e.g. Mixer widget (the kcontrols are declared first)
202 If you don't want the mixer elements prefixed with the name of the mixer widget,
[all …]
Dcodec-to-codec.rst94 In dapm core a route is created between cpu_dai playback widget
95 and codec_dai capture widget for playback path and vice-versa is
98 a sink or source widget corresponding to playback and capture path
101 In order to trigger this dai_link widget, a thin codec driver for
/linux-6.12.1/fs/xfs/scrub/
Dscrub.h36 static inline int xchk_maybe_relax(struct xchk_relax *widget) in xchk_maybe_relax() argument
39 if (likely(++widget->resched_nr < 100)) in xchk_maybe_relax()
41 widget->resched_nr = 0; in xchk_maybe_relax()
43 if (unlikely(widget->next_resched <= jiffies)) { in xchk_maybe_relax()
45 widget->next_resched = XCHK_RELAX_NEXT; in xchk_maybe_relax()
48 if (widget->interruptible && fatal_signal_pending(current)) in xchk_maybe_relax()
/linux-6.12.1/sound/soc/
Dsoc-dapm.c43 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++; argument
60 const struct snd_soc_dapm_widget *widget);
64 const struct snd_soc_dapm_widget *widget);
353 struct snd_soc_dapm_widget *widget; member
358 static int dapm_kcontrol_data_alloc(struct snd_soc_dapm_widget *widget, in dapm_kcontrol_data_alloc() argument
373 switch (widget->id) { in dapm_kcontrol_data_alloc()
383 dev_warn(widget->dapm->dev, in dapm_kcontrol_data_alloc()
408 data->widget = in dapm_kcontrol_data_alloc()
409 snd_soc_dapm_new_control_unlocked(widget->dapm, in dapm_kcontrol_data_alloc()
412 if (IS_ERR(data->widget)) { in dapm_kcontrol_data_alloc()
[all …]
Dsoc-topology.c1121 struct snd_soc_dapm_widget template, *widget; in soc_tplg_dapm_widget_create() local
1174 goto widget; in soc_tplg_dapm_widget_create()
1243 widget: in soc_tplg_dapm_widget_create()
1251 widget = snd_soc_dapm_new_control(dapm, &template); in soc_tplg_dapm_widget_create()
1253 widget = snd_soc_dapm_new_control_unlocked(dapm, &template); in soc_tplg_dapm_widget_create()
1254 if (IS_ERR(widget)) { in soc_tplg_dapm_widget_create()
1255 ret = PTR_ERR(widget); in soc_tplg_dapm_widget_create()
1259 widget->dobj.type = SND_SOC_DOBJ_WIDGET; in soc_tplg_dapm_widget_create()
1260 widget->dobj.widget.kcontrol_type = kcontrol_type; in soc_tplg_dapm_widget_create()
1262 widget->dobj.unload = tplg->ops->widget_unload; in soc_tplg_dapm_widget_create()
[all …]
/linux-6.12.1/arch/mips/include/asm/sn/sn0/
Daddrs.h89 #define NODE_SWIN_BASE(nasid, widget) \ argument
90 ((widget == 0) ? NODE_BWIN_BASE((nasid), SWIN0_BIGWIN) \
91 : RAW_NODE_SWIN_BASE(nasid, widget))
93 #define NODE_SWIN_BASE(nasid, widget) \ argument
94 (NODE_IO_BASE(nasid) + (UINT64_CAST(widget) << SWIN_SIZE_BITS))
/linux-6.12.1/include/sound/
Dsoc-dai.h428 struct snd_soc_dapm_widget *widget; member
484 return dai->stream[stream].widget; in snd_soc_dai_get_widget()
487 …fine snd_soc_dai_set_widget_playback(dai, widget) snd_soc_dai_set_widget(dai, SNDRV_PCM_STREAM_PLA… argument
488 …fine snd_soc_dai_set_widget_capture(dai, widget) snd_soc_dai_set_widget(dai, SNDRV_PCM_STREAM_CAP… argument
490 void snd_soc_dai_set_widget(struct snd_soc_dai *dai, int stream, struct snd_soc_dapm_widget *widget) in snd_soc_dai_set_widget() argument
492 dai->stream[stream].widget = widget; in snd_soc_dai_set_widget()
Dsoc-dpcm.h148 bool dpcm_end_walk_at_be(struct snd_soc_dapm_widget *widget, enum snd_soc_dapm_direction dir);
150 struct snd_soc_dapm_widget *widget);
/linux-6.12.1/scripts/kconfig/
Dgconf.c97 GtkWidget *widget; in init_main_window() local
116 widget = glade_xml_get_widget(xml, "show_name1"); in init_main_window()
117 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, in init_main_window()
120 widget = glade_xml_get_widget(xml, "show_range1"); in init_main_window()
121 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, in init_main_window()
124 widget = glade_xml_get_widget(xml, "show_data1"); in init_main_window()
125 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, in init_main_window()
133 widget = glade_xml_get_widget(xml, "toolbar1"); in init_main_window()
379 gboolean on_window1_delete_event(GtkWidget * widget, GdkEvent * event, in on_window1_delete_event() argument
431 on_window1_size_request(GtkWidget * widget, in on_window1_size_request() argument
[all …]
/linux-6.12.1/sound/soc/mediatek/common/
Dmtk-dsp-sof-common.c200 struct snd_soc_dapm_widget *widget = snd_soc_dai_get_widget(cpu_dai, conn->stream_dir); in mtk_sof_card_late_probe() local
203 if (conn->stream_dir == SNDRV_PCM_STREAM_CAPTURE && widget) { in mtk_sof_card_late_probe()
204 snd_soc_dapm_widget_for_each_sink_path(widget, p) { in mtk_sof_card_late_probe()
209 } else if (conn->stream_dir == SNDRV_PCM_STREAM_PLAYBACK && widget) { in mtk_sof_card_late_probe()
210 snd_soc_dapm_widget_for_each_source_path(widget, p) { in mtk_sof_card_late_probe()
/linux-6.12.1/arch/mips/include/asm/sn/
Dio.h36 #define IIO_ITTE_PUT(nasid, bigwin, io_or_mem, widget, addr) \ argument
41 (((widget) & IIO_ITTE_WIDGET_MASK) << IIO_ITTE_WIDGET_SHIFT)))
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dwidgets.txt9 The "template-wname" being the template widget name and currently includes:
12 The "user-supplied-wname" being the user specified widget name.
/linux-6.12.1/include/trace/events/
Dasoc.h167 TP_PROTO(struct snd_soc_dapm_widget *widget,
171 TP_ARGS(widget, dir, path),
174 __string( wname, widget->name )
/linux-6.12.1/sound/soc/codecs/
Darizona.h209 #define ARIZONA_MUX_ROUTES(widget, name) \ argument
210 { widget, NULL, name " Input" }, \
213 #define ARIZONA_MIXER_ROUTES(widget, name) \ argument
214 { widget, NULL, name " Mixer" }, \
Dlpass-tx-macro.c756 struct snd_soc_dapm_widget *widget, in tx_macro_update_smic_sel_v9() argument
778 struct snd_soc_dapm_widget *widget, in tx_macro_update_smic_sel_v9_2() argument
785 if (widget->shift) { in tx_macro_update_smic_sel_v9_2()
804 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in tx_macro_put_dec_enum() local
805 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in tx_macro_put_dec_enum()
846 if (widget->shift) /* MSM DMIC */ in tx_macro_put_dec_enum()
850 tx_macro_update_smic_sel_v9(component, widget, tx, in tx_macro_put_dec_enum()
853 tx_macro_update_smic_sel_v9_2(component, widget, tx, in tx_macro_put_dec_enum()
863 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in tx_macro_tx_mixer_get() local
864 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in tx_macro_tx_mixer_get()
[all …]

123