Home
last modified time | relevance | path

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

12

/Linux-v5.10/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.10/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.10/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()
140 widget++; in gbaudio_dapm_free_controls()
Daudio_helper.h12 const struct snd_soc_dapm_widget *widget,
/Linux-v5.10/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.10/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.10/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.c460 if (dobj->widget.kcontrol_type == SND_SOC_TPLG_TYPE_ENUM) { in remove_widget()
481 if (dobj->widget.kcontrol_type in remove_widget()
1589 struct snd_soc_dapm_widget template, *widget; in soc_tplg_dapm_widget_create() local
1638 goto widget; in soc_tplg_dapm_widget_create()
1696 widget: in soc_tplg_dapm_widget_create()
1704 widget = snd_soc_dapm_new_control(dapm, &template); in soc_tplg_dapm_widget_create()
1706 widget = snd_soc_dapm_new_control_unlocked(dapm, &template); in soc_tplg_dapm_widget_create()
1707 if (IS_ERR(widget)) { in soc_tplg_dapm_widget_create()
1708 ret = PTR_ERR(widget); in soc_tplg_dapm_widget_create()
1712 widget->dobj.type = SND_SOC_DOBJ_WIDGET; in soc_tplg_dapm_widget_create()
[all …]
Dsoc-pcm.c1211 struct snd_soc_dapm_widget *widget, int stream) in dpcm_get_be() argument
1218 dev_dbg(card->dev, "ASoC: find BE for widget %s\n", widget->name); in dpcm_get_be()
1231 if (w == widget) in dpcm_get_be()
1241 struct snd_soc_dapm_widget *widget) in widget_in_list() argument
1247 if (widget == w) in widget_in_list()
1253 static bool dpcm_end_walk_at_be(struct snd_soc_dapm_widget *widget, in dpcm_end_walk_at_be() argument
1256 struct snd_soc_card *card = widget->dapm->card; in dpcm_end_walk_at_be()
1266 rtd = dpcm_get_be(card, widget, stream); in dpcm_end_walk_at_be()
1303 struct snd_soc_dapm_widget *widget; in dpcm_be_is_active() local
1309 widget = snd_soc_dai_get_widget(dai, stream); in dpcm_be_is_active()
[all …]
/Linux-v5.10/scripts/kconfig/
Dgconf.c133 GtkWidget *widget; in init_main_window() local
152 widget = glade_xml_get_widget(xml, "show_name1"); 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_range1"); in init_main_window()
157 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, in init_main_window()
160 widget = glade_xml_get_widget(xml, "show_data1"); in init_main_window()
161 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, in init_main_window()
169 widget = glade_xml_get_widget(xml, "toolbar1"); in init_main_window()
415 gboolean on_window1_delete_event(GtkWidget * widget, GdkEvent * event, in on_window1_delete_event() argument
467 on_window1_size_request(GtkWidget * widget, in on_window1_size_request() argument
[all …]
/Linux-v5.10/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.10/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.10/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 …]
Dsof-audio.c233 swidget->widget->id, swidget->comp_id); in sof_restore_pipelines()
392 if (strcmp(name, swidget->widget->name) == 0) in snd_sof_find_swidget()
414 if (!strcmp(pcm_name, swidget->widget->sname) && in snd_sof_find_swidget_sname()
/Linux-v5.10/include/trace/events/
Dasoc.h158 TP_PROTO(struct snd_soc_dapm_widget *widget,
162 TP_ARGS(widget, dir, path),
165 __string( wname, widget->name )
174 __assign_str(wname, widget->name);
/Linux-v5.10/sound/soc/codecs/
Darizona.h174 #define ARIZONA_MUX_ROUTES(widget, name) \ argument
175 { widget, NULL, name " Input" }, \
178 #define ARIZONA_MIXER_ROUTES(widget, name) \ argument
179 { 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-v5.10/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.10/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.10/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]); \
/Linux-v5.10/drivers/extcon/
Dextcon-arizona.c263 const char *widget = arizona_extcon_get_micbias(info); in arizona_extcon_pulse_micbias() local
268 ret = snd_soc_component_force_enable_pin(component, widget); in arizona_extcon_pulse_micbias()
271 widget, ret); in arizona_extcon_pulse_micbias()
276 ret = snd_soc_component_disable_pin(component, widget); in arizona_extcon_pulse_micbias()
279 widget, ret); in arizona_extcon_pulse_micbias()
345 const char *widget = arizona_extcon_get_micbias(info); in arizona_stop_mic() local
357 ret = snd_soc_component_disable_pin(component, widget); in arizona_stop_mic()
361 widget, ret); in arizona_stop_mic()
/Linux-v5.10/Documentation/devicetree/bindings/mips/cavium/
Dcib.txt1 * Cavium Interrupt Bus widget

12