Home
last modified time | relevance | path

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

123

/linux-6.1.9/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.1.9/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 …]
Dip27-hubio.c30 unsigned long hub_pio_map(nasid_t nasid, xwidgetnum_t widget, in hub_pio_map() argument
37 return NODE_SWIN_BASE(nasid, widget) + (xtalk_addr % SWIN_SIZE); in hub_pio_map()
42 nasid, widget, xtalk_addr, size); in hub_pio_map()
66 IIO_ITTE_PUT(nasid, i, HUB_PIO_MAP_TO_MEM, widget, xtalk_addr); in hub_pio_map()
69 return NODE_BWIN_BASE(nasid, widget) + (xtalk_addr % BWIN_SIZE); in hub_pio_map()
74 nasid, widget, xtalk_addr); in hub_pio_map()
/linux-6.1.9/sound/soc/sof/
Dsof-audio.c17 static void sof_reset_route_setup_status(struct snd_sof_dev *sdev, struct snd_sof_widget *widget) in sof_reset_route_setup_status() argument
23 if (sroute->src_widget == widget || sroute->sink_widget == widget) { in sof_reset_route_setup_status()
60 swidget->core, swidget->widget->name); in sof_widget_free()
77 dev_dbg(sdev->dev, "widget %s freed\n", swidget->widget->name); in sof_widget_free()
108 swidget->widget->name); in sof_widget_setup()
122 swidget->widget->name); in sof_widget_setup()
151 dev_dbg(sdev->dev, "widget %s setup complete\n", swidget->widget->name); in sof_widget_setup()
226 struct snd_soc_dapm_widget *widget; in sof_setup_pipeline_connections() local
238 for_each_dapm_widgets(list, i, widget) { in sof_setup_pipeline_connections()
239 if (!widget->dobj.private) in sof_setup_pipeline_connections()
[all …]
Dipc4-topology.c232 dev_dbg(scomp->dev, "Get input audio formats for %s\n", swidget->widget->name); in sof_ipc4_get_audio_fmt()
259 dev_dbg(scomp->dev, "Get output audio formats for %s\n", swidget->widget->name); in sof_ipc4_get_audio_fmt()
310 swidget->widget->name, &swidget->uuid); in sof_ipc4_widget_set_module_info()
355 dev_dbg(scomp->dev, "Updating IPC structure for %s\n", swidget->widget->name); in sof_ipc4_widget_setup_pcm()
374 swidget->widget->name); in sof_ipc4_widget_setup_pcm()
392 dev_dbg(scomp->dev, "host copier '%s' node_type %u\n", swidget->widget->name, node_type); in sof_ipc4_widget_setup_pcm()
456 dev_dbg(scomp->dev, "Updating IPC structure for %s\n", swidget->widget->name); in sof_ipc4_widget_setup_comp_dai()
475 swidget->widget->name); in sof_ipc4_widget_setup_comp_dai()
499 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()
518 if (w->widget->sname && in sof_ipc4_widget_setup_comp_dai()
[all …]
Dipc3-topology.c399 dev_dbg(scomp->dev, "loaded host %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_host()
442 swidget->widget->name, tone->frequency, tone->amplitude); in sof_ipc3_widget_setup_comp_tone()
476 dev_dbg(scomp->dev, "loaded mixer %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_mixer()
502 comp_swidget = snd_sof_find_swidget(scomp, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
505 swidget->widget->name, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
532 swidget->widget->name, pipeline->period, pipeline->priority, in sof_ipc3_widget_setup_comp_pipeline()
577 swidget->widget->name, buffer->size, buffer->caps); in sof_ipc3_widget_setup_comp_buffer()
612 swidget->widget->name, src->source_rate, src->sink_rate); in sof_ipc3_widget_setup_comp_src()
653 swidget->widget->name, asrc->source_rate, asrc->sink_rate, in sof_ipc3_widget_setup_comp_asrc()
695 dev_dbg(scomp->dev, "loaded mux %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_mux()
[all …]
Dipc3-control.c531 struct snd_soc_dapm_widget *widget; in sof_ipc3_control_update() local
576 widget = swidget->widget; in sof_ipc3_control_update()
577 for (i = 0; i < widget->num_kcontrols; i++) { in sof_ipc3_control_update()
579 if (widget->dobj.widget.kcontrol_type[i] == type && in sof_ipc3_control_update()
580 widget->kcontrol_news[i].index == cdata->index) { in sof_ipc3_control_update()
581 kc = widget->kcontrols[i]; in sof_ipc3_control_update()
654 scontrol->comp_id, swidget->widget->name); in sof_ipc3_widget_kcontrol_setup()
671 scontrol->comp_id, swidget->widget->name); in sof_ipc3_widget_kcontrol_setup()
Dtopology.c1166 dev_err(scomp->dev, "No token list for widget %s\n", swidget->widget->name); in sof_widget_parse_tokens()
1185 object_token_list[i], swidget->widget->name); in sof_widget_parse_tokens()
1200 swidget->widget->name); in sof_widget_parse_tokens()
1214 swidget->widget->name); in sof_widget_parse_tokens()
1243 token_list[object_token_list[i]].name, swidget->widget->name, ret); in sof_widget_parse_tokens()
1261 const struct sof_ipc_tplg_widget_ops *widget_ops = ipc_tplg_ops->widget; in sof_widget_ready()
1273 swidget->widget = w; in sof_widget_ready()
1375 swidget->widget->name); in sof_widget_ready()
1411 const struct sof_ipc_tplg_widget_ops *widget_ops = ipc_tplg_ops->widget; in sof_widget_unload()
1413 struct snd_soc_dapm_widget *widget; in sof_widget_unload() local
[all …]
Dipc4-pcm.c42 struct snd_soc_dapm_widget *widget; in sof_ipc4_trigger_pipelines() local
55 for_each_dapm_widgets(list, num_widgets, widget) { in sof_ipc4_trigger_pipelines()
56 swidget = widget->dobj.private; in sof_ipc4_trigger_pipelines()
/linux-6.1.9/drivers/staging/greybus/
Daudio_topology.c117 struct gbaudio_widget *widget; in gbaudio_map_widgetname() local
119 list_for_each_entry(widget, &module->widget_list, list) { in gbaudio_map_widgetname()
120 if (!strncmp(widget->name, name, NAME_SIZE)) in gbaudio_map_widgetname()
121 return widget->id; in gbaudio_map_widgetname()
131 struct gbaudio_widget *widget; in gbaudio_map_widgetid() local
133 list_for_each_entry(widget, &module->widget_list, list) { in gbaudio_map_widgetid()
134 if (widget->id == widget_id) in gbaudio_map_widgetid()
135 return widget->name; in gbaudio_map_widgetid()
389 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_get() local
390 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.1.9/Documentation/sound/soc/
Ddapm.rst67 A programmable gain amplifier or attenuation widget.
87 Power or clock supply widget used by other widgets.
105 Special PRE widget (exec before all others)
107 Special POST widget (exec after all others)
109 Inter widget audio data buffer within a DSP.
175 Any widget kcontrols can be set using the controls and num_controls members.
177 e.g. Mixer widget (the kcontrols are declared first)
190 If you don't want the mixer elements prefixed with the name of the mixer widget,
199 codec register bit associated with them. A machine widget is assigned to each
207 A machine widget can have an optional call back.
[all …]
Dcodec-to-codec.rst92 In dapm core a route is created between cpu_dai playback widget
93 and codec_dai capture widget for playback path and vice-versa is
96 a sink or source widget corresponding to playback and capture path
99 In order to trigger this dai_link widget, a thin codec driver for
/linux-6.1.9/sound/soc/
Dsoc-dapm.c42 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++; argument
59 const struct snd_soc_dapm_widget *widget);
63 const struct snd_soc_dapm_widget *widget);
347 struct snd_soc_dapm_widget *widget; member
352 static int dapm_kcontrol_data_alloc(struct snd_soc_dapm_widget *widget, in dapm_kcontrol_data_alloc() argument
367 switch (widget->id) { in dapm_kcontrol_data_alloc()
377 dev_warn(widget->dapm->dev, in dapm_kcontrol_data_alloc()
402 data->widget = in dapm_kcontrol_data_alloc()
403 snd_soc_dapm_new_control_unlocked(widget->dapm, in dapm_kcontrol_data_alloc()
406 if (IS_ERR(data->widget)) { in dapm_kcontrol_data_alloc()
[all …]
Dsoc-topology.c1346 struct snd_soc_dapm_widget template, *widget; in soc_tplg_dapm_widget_create() local
1399 goto widget; in soc_tplg_dapm_widget_create()
1464 widget: in soc_tplg_dapm_widget_create()
1472 widget = snd_soc_dapm_new_control(dapm, &template); in soc_tplg_dapm_widget_create()
1474 widget = snd_soc_dapm_new_control_unlocked(dapm, &template); in soc_tplg_dapm_widget_create()
1475 if (IS_ERR(widget)) { in soc_tplg_dapm_widget_create()
1476 ret = PTR_ERR(widget); in soc_tplg_dapm_widget_create()
1480 widget->dobj.type = SND_SOC_DOBJ_WIDGET; in soc_tplg_dapm_widget_create()
1481 widget->dobj.widget.kcontrol_type = kcontrol_type; in soc_tplg_dapm_widget_create()
1482 widget->dobj.ops = tplg->ops; in soc_tplg_dapm_widget_create()
[all …]
/linux-6.1.9/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.1.9/scripts/kconfig/
Dgconf.c129 GtkWidget *widget; in init_main_window() local
148 widget = glade_xml_get_widget(xml, "show_name1"); in init_main_window()
149 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, in init_main_window()
152 widget = glade_xml_get_widget(xml, "show_range1"); in init_main_window()
153 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, in init_main_window()
156 widget = glade_xml_get_widget(xml, "show_data1"); in init_main_window()
157 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, in init_main_window()
165 widget = glade_xml_get_widget(xml, "toolbar1"); in init_main_window()
411 gboolean on_window1_delete_event(GtkWidget * widget, GdkEvent * event, in on_window1_delete_event() argument
463 on_window1_size_request(GtkWidget * widget, in on_window1_size_request() argument
[all …]
/linux-6.1.9/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.1.9/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.
Damlogic,gx-sound-card.yaml33 A list off component DAPM widget. Each entry is a pair of strings,
34 the first being the widget type, the second being the widget name
/linux-6.1.9/include/trace/events/
Dasoc.h159 TP_PROTO(struct snd_soc_dapm_widget *widget,
163 TP_ARGS(widget, dir, path),
166 __string( wname, widget->name )
175 __assign_str(wname, widget->name);
Dsof.h22 __string(name, swidget->widget->name)
26 __assign_str(name, swidget->widget->name);
/linux-6.1.9/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" }, \
Dmadera.h256 #define MADERA_MUX_ROUTES(widget, name) \ argument
257 { widget, NULL, name " Input 1" }, \
260 #define MADERA_MIXER_ROUTES(widget, name) \ argument
261 { widget, NULL, name " Mixer" }, \
/linux-6.1.9/sound/soc/pxa/
Dmioa701_wm9713.c68 static int rear_amp_event(struct snd_soc_dapm_widget *widget, in rear_amp_event() argument
71 struct snd_soc_card *card = widget->dapm->card; in rear_amp_event()

123