Home
last modified time | relevance | path

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

12

/Linux-v5.15/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
51 IP30_SWIN_BASE(widget)); in bridge_platform_create()
54 w1_res.start = IP30_SWIN_BASE(widget) + in bridge_platform_create()
77 bd->bridge_addr = IP30_RAW_SWIN_BASE(widget); in bridge_platform_create()
83 bd->mem.start = IP30_SWIN_BASE(widget) + BRIDGE_DEVIO0; in bridge_platform_create()
84 bd->mem.end = IP30_SWIN_BASE(widget) + IP30_SWIN_SIZE - 1; in bridge_platform_create()
86 bd->mem_offset = IP30_SWIN_BASE(widget); in bridge_platform_create()
[all …]
/Linux-v5.15/arch/mips/sgi-ip27/
Dip27-xtalk.c26 static void bridge_platform_create(nasid_t nasid, int widget, int masterwid) in bridge_platform_create() argument
41 offset + (widget << SWIN_SIZE_BITS)); in bridge_platform_create()
44 w1_res.start = offset + (widget << SWIN_SIZE_BITS) + in bridge_platform_create()
68 bd->bridge_addr = RAW_NODE_SWIN_BASE(nasid, widget); in bridge_platform_create()
74 bd->mem.start = offset + (widget << SWIN_SIZE_BITS) + BRIDGE_DEVIO0; in bridge_platform_create()
75 bd->mem.end = offset + (widget << SWIN_SIZE_BITS) + SWIN_SIZE - 1; in bridge_platform_create()
80 bd->io.start = offset + (widget << SWIN_SIZE_BITS) + BRIDGE_DEVIO0; in bridge_platform_create()
81 bd->io.end = offset + (widget << SWIN_SIZE_BITS) + SWIN_SIZE - 1; in bridge_platform_create()
87 pr_info("xtalk:n%d/%x bridge widget\n", nasid, widget); in bridge_platform_create()
91 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-v5.15/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()
386 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_get() local
387 struct device *codec_dev = widget->dapm->dev; in gbcodec_mixer_dapm_ctl_get()
[all …]
Daudio_helper.c114 const struct snd_soc_dapm_widget *widget, in gbaudio_dapm_free_controls() argument
131 if (!strcmp(w->name, widget->name)) in gbaudio_dapm_free_controls()
137 widget->name); in gbaudio_dapm_free_controls()
138 widget++; in gbaudio_dapm_free_controls()
141 widget++; in gbaudio_dapm_free_controls()
Daudio_helper.h12 const struct snd_soc_dapm_widget *widget,
/Linux-v5.15/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-v5.15/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-v5.15/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);
345 struct snd_soc_dapm_widget *widget; member
350 static int dapm_kcontrol_data_alloc(struct snd_soc_dapm_widget *widget, in dapm_kcontrol_data_alloc() argument
365 switch (widget->id) { in dapm_kcontrol_data_alloc()
372 dev_warn(widget->dapm->dev, in dapm_kcontrol_data_alloc()
400 data->widget = in dapm_kcontrol_data_alloc()
401 snd_soc_dapm_new_control_unlocked(widget->dapm, in dapm_kcontrol_data_alloc()
404 if (IS_ERR(data->widget)) { in dapm_kcontrol_data_alloc()
[all …]
Dsoc-topology.c1420 struct snd_soc_dapm_widget template, *widget; in soc_tplg_dapm_widget_create() local
1473 goto widget; in soc_tplg_dapm_widget_create()
1540 widget: in soc_tplg_dapm_widget_create()
1548 widget = snd_soc_dapm_new_control(dapm, &template); in soc_tplg_dapm_widget_create()
1550 widget = snd_soc_dapm_new_control_unlocked(dapm, &template); in soc_tplg_dapm_widget_create()
1551 if (IS_ERR(widget)) { in soc_tplg_dapm_widget_create()
1552 ret = PTR_ERR(widget); in soc_tplg_dapm_widget_create()
1556 widget->dobj.type = SND_SOC_DOBJ_WIDGET; in soc_tplg_dapm_widget_create()
1557 widget->dobj.widget.kcontrol_type = kcontrol_type; in soc_tplg_dapm_widget_create()
1558 widget->dobj.ops = tplg->ops; in soc_tplg_dapm_widget_create()
[all …]
Dsoc-pcm.c1223 struct snd_soc_dapm_widget *widget, int stream) in dpcm_get_be() argument
1230 dev_dbg(card->dev, "ASoC: find BE for widget %s\n", widget->name); in dpcm_get_be()
1243 if (w == widget) in dpcm_get_be()
1253 struct snd_soc_dapm_widget *widget) in widget_in_list() argument
1259 if (widget == w) in widget_in_list()
1265 static bool dpcm_end_walk_at_be(struct snd_soc_dapm_widget *widget, in dpcm_end_walk_at_be() argument
1268 struct snd_soc_card *card = widget->dapm->card; in dpcm_end_walk_at_be()
1278 rtd = dpcm_get_be(card, widget, stream); in dpcm_end_walk_at_be()
1325 struct snd_soc_dapm_widget *widget = snd_soc_dai_get_widget(dai, stream); in dpcm_be_is_active() local
1331 if (widget && widget_in_list(list, widget)) in dpcm_be_is_active()
[all …]
/Linux-v5.15/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-v5.15/sound/soc/sof/
Dtopology.c71 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in ipc_pcm_params()
74 swidget->widget->name); in ipc_pcm_params()
112 swidget->widget->name); in ipc_pcm_params()
136 swidget->widget->name); in ipc_trigger()
159 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in sof_keyword_dapm_event()
162 swidget->widget->name); in sof_keyword_dapm_event()
179 swidget->widget->name); in sof_keyword_dapm_event()
188 swidget->widget->name); in sof_keyword_dapm_event()
201 swidget->widget->name); in sof_keyword_dapm_event()
208 swidget->widget->name); in sof_keyword_dapm_event()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/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);
/Linux-v5.15/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-wsa-macro.c1827 struct snd_soc_dapm_widget *widget = in wsa_macro_rx_mux_get() local
1830 snd_soc_dapm_to_component(widget->dapm); in wsa_macro_rx_mux_get()
1834 wsa->rx_port_value[widget->shift]; in wsa_macro_rx_mux_get()
1841 struct snd_soc_dapm_widget *widget = in wsa_macro_rx_mux_put() local
1844 snd_soc_dapm_to_component(widget->dapm); in wsa_macro_rx_mux_put()
1852 aif_rst = wsa->rx_port_value[widget->shift]; in wsa_macro_rx_mux_put()
1863 wsa->rx_port_value[widget->shift] = rx_port_value; in wsa_macro_rx_mux_put()
1865 bit_input = widget->shift; in wsa_macro_rx_mux_put()
1888 snd_soc_dapm_mux_update_power(widget->dapm, kcontrol, in wsa_macro_rx_mux_put()
1968 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in wsa_macro_vi_feed_mixer_get() local
[all …]
Dlpass-va-macro.c475 struct snd_soc_dapm_widget *widget = in va_macro_put_dec_enum() local
478 snd_soc_dapm_to_component(widget->dapm); in va_macro_put_dec_enum()
515 struct snd_soc_dapm_widget *widget = in va_macro_tx_mixer_get() local
518 snd_soc_dapm_to_component(widget->dapm); in va_macro_tx_mixer_get()
521 u32 dai_id = widget->shift; in va_macro_tx_mixer_get()
536 struct snd_soc_dapm_widget *widget = in va_macro_tx_mixer_put() local
539 snd_soc_dapm_to_component(widget->dapm); in va_macro_tx_mixer_put()
543 u32 dai_id = widget->shift; in va_macro_tx_mixer_put()
556 snd_soc_dapm_mixer_update_power(widget->dapm, kcontrol, enable, update); in va_macro_tx_mixer_put()
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" }, \
Dlpass-tx-macro.c732 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in tx_macro_put_dec_enum() local
733 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in tx_macro_put_dec_enum()
790 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in tx_macro_tx_mixer_get() local
791 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in tx_macro_tx_mixer_get()
793 u32 dai_id = widget->shift; in tx_macro_tx_mixer_get()
808 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in tx_macro_tx_mixer_put() local
809 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in tx_macro_tx_mixer_put()
812 u32 dai_id = widget->shift; in tx_macro_tx_mixer_put()
826 snd_soc_dapm_mixer_update_power(widget->dapm, kcontrol, enable, update); in tx_macro_tx_mixer_put()
/Linux-v5.15/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()
/Linux-v5.15/Documentation/sound/hd-audio/
Drealtek-pc-beep.rst11 as a widget, I have no idea.
79 All Realtek HDA codecs have a vendor-defined widget with node ID 20h which
92 Specifically, it selects between two sources for the input pin widget with Node
93 ID (NID) 1Ah: the widget's signal can come either from an audio jack (on my
/Linux-v5.15/include/sound/
Dsoc-dapm.h422 const struct snd_soc_dapm_widget *widget,
426 const struct snd_soc_dapm_widget *widget);
429 const struct snd_soc_dapm_widget *widget);
683 struct snd_soc_dapm_widget *widget; member
715 #define for_each_dapm_widgets(list, i, widget) \ argument
717 (i) < list->num_widgets && (widget = list->widgets[i]); \

12