Home
last modified time | relevance | path

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

123

/linux-6.15/arch/mips/sgi-ip30/
H A 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
54 IP30_SWIN_BASE(widget)); in bridge_platform_create()
57 w1_res.start = IP30_SWIN_BASE(widget) + in bridge_platform_create()
93 bd->bridge_addr = IP30_RAW_SWIN_BASE(widget); in bridge_platform_create()
99 bd->mem.start = IP30_SWIN_BASE(widget) + BRIDGE_DEVIO0; in bridge_platform_create()
102 bd->mem_offset = IP30_SWIN_BASE(widget); in bridge_platform_create()
105 bd->io.start = IP30_SWIN_BASE(widget) + BRIDGE_DEVIO0; in bridge_platform_create()
108 bd->io_offset = IP30_SWIN_BASE(widget); in bridge_platform_create()
[all …]
/linux-6.15/sound/soc/sof/
H A Dsof-audio.c19 switch (widget->id) { in is_virtual_widget()
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()
178 i, swidget->widget->name); in sof_widget_setup_unlocked()
299 struct snd_soc_dapm_widget *widget; in sof_setup_pipeline_connections() local
313 if (!widget->dobj.private) in sof_setup_pipeline_connections()
329 if (!widget->dobj.private) in sof_setup_pipeline_connections()
515 if (widget->dobj.private) { in sof_free_widgets_in_path()
727 swidget->widget->name); in sof_widget_list_setup()
[all …]
H A Dipc4-topology.c226 swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
239 swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
268 swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
283 swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
293 swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
772 strcmp(w->widget->sname, swidget->widget->sname)) in sof_ipc4_widget_setup_comp_dai()
1223 swidget->widget->name); in sof_ipc4_widget_assign_instance_id()
2088 strcmp(w->widget->sname, swidget->widget->sname)) in sof_ipc4_prepare_copier_module()
2172 swidget->widget->name, in sof_ipc4_prepare_copier_module()
3089 src_widget->widget->name, sink_widget->widget->name); in sof_ipc4_route_setup()
[all …]
H A Dipc3-topology.c543 swidget->widget->name, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
816 switch (widget->dobj.widget.kcontrol_type[i]) { in sof_get_control_data()
831 widget->dobj.widget.kcontrol_type[i], widget->name); in sof_get_control_data()
842 if (widget->dobj.widget.kcontrol_type[i] == SND_SOC_TPLG_TYPE_BYTES) { in sof_get_control_data()
885 struct snd_soc_dapm_widget *widget = swidget->widget; in sof_process_load() local
1753 sroute->src_widget->widget->name, sroute->sink_widget->widget->name); in sof_ipc3_route_setup()
1953 swidget->widget->name); in sof_ipc3_keyword_detect_pcm_params()
2000 swidget->widget->name); in sof_ipc3_keyword_dapm_event()
2024 swidget->widget->name); in sof_ipc3_keyword_dapm_event()
2037 swidget->widget->name); in sof_ipc3_keyword_dapm_event()
[all …]
H A 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()
H A Dtopology.c1253 swidget->widget->name); in sof_widget_parse_tokens()
1263 swidget->widget->name); in sof_widget_parse_tokens()
1273 swidget->widget->name); in sof_widget_parse_tokens()
1420 swidget->widget = w; in sof_widget_ready()
1571 swidget->widget->name); in sof_widget_ready()
1640 widget = swidget->widget; in sof_widget_unload()
1667 switch (widget->dobj.widget.kcontrol_type[i]) { in sof_widget_unload()
2171 swidget->widget->name); in sof_set_widget_pipeline()
2218 pipe_widget->widget->name); in sof_complete()
2236 swidget->widget->name); in sof_complete()
[all …]
H A Dipc4-control.c670 struct snd_soc_dapm_widget *widget; in sof_ipc4_control_update() local
734 __func__, swidget->widget->name, ndata->event_id & 0xffff, in sof_ipc4_control_update()
774 widget = swidget->widget; in sof_ipc4_control_update()
775 for (i = 0; i < widget->num_kcontrols; i++) { in sof_ipc4_control_update()
777 if (widget->dobj.widget.kcontrol_type[i] == type && in sof_ipc4_control_update()
778 widget->kcontrol_news[i].index == cdata->index) { in sof_ipc4_control_update()
779 kc = widget->kcontrols[i]; in sof_ipc4_control_update()
821 scontrol->comp_id, swidget->widget->name); in sof_ipc4_widget_kcontrol_setup()
/linux-6.15/arch/mips/sgi-ip27/
H A Dip27-xtalk.c39 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()
84 bd->bridge_addr = RAW_NODE_SWIN_BASE(nasid, widget); in bridge_platform_create()
91 bd->mem.end = offset + (widget << SWIN_SIZE_BITS) + SWIN_SIZE - 1; in bridge_platform_create()
97 bd->io.end = offset + (widget << SWIN_SIZE_BITS) + SWIN_SIZE - 1; in bridge_platform_create()
111 pr_info("xtalk:n%d/%x bridge widget\n", nasid, widget); in bridge_platform_create()
128 static int probe_one_port(nasid_t nasid, int widget, int masterwid) in probe_one_port() argument
134 (RAW_NODE_SWIN_BASE(nasid, widget) + WIDGET_ID); in probe_one_port()
140 bridge_platform_create(nasid, widget, masterwid); in probe_one_port()
[all …]
/linux-6.15/drivers/staging/greybus/
H A Daudio_topology.c110 struct gbaudio_widget *widget; in gbaudio_map_widgetname() local
114 return widget->id; in gbaudio_map_widgetname()
124 struct gbaudio_widget *widget; in gbaudio_map_widgetid() local
127 if (widget->id == widget_id) in gbaudio_map_widgetid()
128 return widget->name; in gbaudio_map_widgetid()
396 dev_warn(widget->dapm->dev, in gbcodec_mixer_dapm_ctl_get()
446 dev_warn(widget->dapm->dev, in gbcodec_mixer_dapm_ctl_put()
1238 if (!widget) { in gbaudio_tplg_process_widgets()
1242 widget->id = curr->id; in gbaudio_tplg_process_widgets()
1254 list_del(&widget->list); in gbaudio_tplg_process_widgets()
[all …]
H A 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.15/Documentation/sound/soc/
H A Ddapm.rst24 can flow from one widget to the other
82 A programmable gain amplifier or attenuation widget.
102 Power or clock supply widget used by other widgets.
120 Special PRE widget (exec before all others)
122 Special POST widget (exec after all others)
124 Inter widget audio data buffer within a DSP.
192 e.g. Mixer widget (the kcontrols are declared first)
222 A machine widget can have an optional call back.
249 a virtual widget - a widget with no control bits e.g.
413 #define SND_SOC_DAPM_PRE_PMU 0x1 /* before widget power up */
[all …]
H A 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.15/sound/soc/
H A Dsoc-dapm.c43 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++; argument
407 data->widget = in dapm_kcontrol_data_alloc()
450 snd_soc_dapm_add_path(widget->dapm, data->widget, in dapm_kcontrol_data_alloc()
525 if (!data->widget) in dapm_kcontrol_is_powered()
559 if (data->widget) { in dapm_kcontrol_set_value()
564 data->widget->on_val = value & data->widget->mask; in dapm_kcontrol_set_value()
568 data->widget->on_val = value >> data->widget->shift; in dapm_kcontrol_set_value()
1007 if (data->widget) in dapm_new_mixer()
1122 widget->name); in snd_soc_dapm_suspend_check()
1221 widget->endpoints[dir] = snd_soc_dapm_suspend_check(widget); in is_connected_ep()
[all …]
H A Dsoc-topology.c1151 goto widget; in soc_tplg_dapm_widget_create()
1212 widget: in soc_tplg_dapm_widget_create()
1223 if (IS_ERR(widget)) { in soc_tplg_dapm_widget_create()
1224 ret = PTR_ERR(widget); in soc_tplg_dapm_widget_create()
1228 widget->dobj.type = SND_SOC_DOBJ_WIDGET; in soc_tplg_dapm_widget_create()
1229 widget->dobj.widget.kcontrol_type = kcontrol_type; in soc_tplg_dapm_widget_create()
1232 widget->dobj.index = tplg->index; in soc_tplg_dapm_widget_create()
1245 soc_tplg_remove_widget(widget->dapm->component, &widget->dobj, SOC_TPLG_PASS_WIDGET); in soc_tplg_dapm_widget_create()
1246 snd_soc_dapm_free_widget(widget); in soc_tplg_dapm_widget_create()
1278 if (le32_to_cpu(widget->size) != sizeof(*widget)) { in soc_tplg_dapm_widget_elems_load()
[all …]
/linux-6.15/arch/mips/include/asm/sn/sn0/
H A 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.15/fs/xfs/scrub/
H A 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.15/include/sound/
H A Dsoc-dai.h424 struct snd_soc_dapm_widget *widget; member
480 return dai->stream[stream].widget; in snd_soc_dai_get_widget()
483 …fine snd_soc_dai_set_widget_playback(dai, widget) snd_soc_dai_set_widget(dai, SNDRV_PCM_STREAM_PLA… argument
484 …fine snd_soc_dai_set_widget_capture(dai, widget) snd_soc_dai_set_widget(dai, SNDRV_PCM_STREAM_CAP… argument
486 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
488 dai->stream[stream].widget = widget; in snd_soc_dai_set_widget()
/linux-6.15/scripts/kconfig/
H A Dgconf.c97 GtkWidget *widget; in init_main_window() local
116 widget = glade_xml_get_widget(xml, "show_name1"); in init_main_window()
124 widget = glade_xml_get_widget(xml, "show_data1"); in init_main_window()
133 widget = glade_xml_get_widget(xml, "toolbar1"); in init_main_window()
431 on_window1_size_request(GtkWidget * widget, in on_window1_size_request() argument
437 if (widget->window == NULL) in on_window1_size_request()
440 gdk_window_get_size(widget->window, &w, &h); in on_window1_size_request()
844 GtkTreeView *view = GTK_TREE_VIEW(widget); in on_treeview2_button_press_event()
901 GtkTreeView *view = GTK_TREE_VIEW(widget); in on_treeview2_key_press_event()
921 if (widget == tree1_w) in on_treeview2_key_press_event()
[all …]
/linux-6.15/sound/soc/mediatek/common/
H A 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.15/arch/mips/include/asm/sn/
H A 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.15/Documentation/devicetree/bindings/sound/
H A Dwidgets.txt9 The "template-wname" being the template widget name and currently includes:
12 The "user-supplied-wname" being the user specified widget name.
H A Damlogic,gx-sound-card.yaml27 A list off component DAPM widget. Each entry is a pair of strings,
28 the first being the widget type, the second being the widget name
H A Daudio-graph.yaml33 widget ("Microphone", "Line", "Headphone", "Speaker"), the
34 second being the machine specific name for the widget.
/linux-6.15/include/trace/events/
H A Dasoc.h167 TP_PROTO(struct snd_soc_dapm_widget *widget,
171 TP_ARGS(widget, dir, path),
174 __string( wname, widget->name )
/linux-6.15/sound/soc/codecs/
H A 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" }, \

123