Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/mips/sgi-ip27/
Dip27-xtalk.c26 static void bridge_platform_create(nasid_t nasid, int widget, int masterwid) in bridge_platform_create() argument
43 bd->bridge_addr = RAW_NODE_SWIN_BASE(nasid, widget); in bridge_platform_create()
49 bd->mem.start = offset + (widget << SWIN_SIZE_BITS); in bridge_platform_create()
55 bd->io.start = offset + (widget << SWIN_SIZE_BITS); in bridge_platform_create()
62 pr_info("xtalk:n%d/%x bridge widget\n", nasid, widget); in bridge_platform_create()
66 pr_warn("xtalk:n%d/%x bridge create out of memory\n", nasid, widget); in bridge_platform_create()
69 static int probe_one_port(nasid_t nasid, int widget, int masterwid) in probe_one_port() argument
75 (RAW_NODE_SWIN_BASE(nasid, widget) + WIDGET_ID); in probe_one_port()
81 bridge_platform_create(nasid, widget, masterwid); in probe_one_port()
Dip27-hubio.c28 unsigned long hub_pio_map(cnodeid_t cnode, xwidgetnum_t widget, in hub_pio_map() argument
36 return NODE_SWIN_BASE(nasid, widget) + (xtalk_addr % SWIN_SIZE); in hub_pio_map()
41 nasid, widget, xtalk_addr, size); in hub_pio_map()
65 IIO_ITTE_PUT(nasid, i, HUB_PIO_MAP_TO_MEM, widget, xtalk_addr); in hub_pio_map()
68 return NODE_BWIN_BASE(nasid, widget) + (xtalk_addr % BWIN_SIZE); in hub_pio_map()
73 nasid, widget, xtalk_addr); in hub_pio_map()
/Linux-v5.4/drivers/staging/greybus/
Daudio_topology.c115 struct gbaudio_widget *widget; in gbaudio_map_widgetname() local
117 list_for_each_entry(widget, &module->widget_list, list) { in gbaudio_map_widgetname()
118 if (!strncmp(widget->name, name, NAME_SIZE)) in gbaudio_map_widgetname()
119 return widget->id; in gbaudio_map_widgetname()
129 struct gbaudio_widget *widget; in gbaudio_map_widgetid() local
131 list_for_each_entry(widget, &module->widget_list, list) { in gbaudio_map_widgetid()
132 if (widget->id == widget_id) in gbaudio_map_widgetid()
133 return widget->name; in gbaudio_map_widgetid()
356 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_info() local
357 struct snd_soc_codec *codec = widget->codec; in gbcodec_mixer_dapm_ctl_info()
[all …]
/Linux-v5.4/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.4/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))
Dhubio.h130 #define IIO_IGFX_INIT(widget, node, cpu, valid) (\ argument
131 (((widget) & IIO_IGFX_W_NUM_MASK) << IIO_IGFX_W_NUM_SHIFT) | \
/Linux-v5.4/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.c470 if (dobj->widget.kcontrol_type == SND_SOC_TPLG_TYPE_ENUM) { in remove_widget()
491 if (dobj->widget.kcontrol_type in remove_widget()
1565 struct snd_soc_dapm_widget template, *widget; in soc_tplg_dapm_widget_create() local
1614 goto widget; in soc_tplg_dapm_widget_create()
1672 widget: in soc_tplg_dapm_widget_create()
1680 widget = snd_soc_dapm_new_control(dapm, &template); in soc_tplg_dapm_widget_create()
1682 widget = snd_soc_dapm_new_control_unlocked(dapm, &template); in soc_tplg_dapm_widget_create()
1683 if (IS_ERR(widget)) { in soc_tplg_dapm_widget_create()
1684 ret = PTR_ERR(widget); in soc_tplg_dapm_widget_create()
1688 widget->dobj.type = SND_SOC_DOBJ_WIDGET; in soc_tplg_dapm_widget_create()
[all …]
Dsoc-pcm.c1250 struct snd_soc_dapm_widget *widget, int stream) in dpcm_get_be() argument
1256 dev_dbg(card->dev, "ASoC: find BE for widget %s\n", widget->name); in dpcm_get_be()
1268 if (be->cpu_dai->playback_widget == widget) in dpcm_get_be()
1272 if (dai->playback_widget == widget) in dpcm_get_be()
1287 if (be->cpu_dai->capture_widget == widget) in dpcm_get_be()
1291 if (dai->capture_widget == widget) in dpcm_get_be()
1299 stream ? "capture" : "playback", widget->name); in dpcm_get_be()
1313 struct snd_soc_dapm_widget *widget) in widget_in_list() argument
1318 if (widget == list->widgets[i]) in widget_in_list()
1325 static bool dpcm_end_walk_at_be(struct snd_soc_dapm_widget *widget, in dpcm_end_walk_at_be() argument
[all …]
/Linux-v5.4/sound/soc/sof/
Dtopology.c65 spcm = snd_sof_find_spcm_name(sdev, swidget->widget->sname); in ipc_pcm_params()
68 swidget->widget->name); in ipc_pcm_params()
106 swidget->widget->name); in ipc_pcm_params()
129 swidget->widget->name); in ipc_trigger()
157 swidget->widget->name); in sof_keyword_dapm_event()
166 swidget->widget->name); in sof_keyword_dapm_event()
174 swidget->widget->name); in sof_keyword_dapm_event()
181 swidget->widget->name); in sof_keyword_dapm_event()
1216 swidget->widget->name, comp_dai.type, comp_dai.dai_index); in sof_widget_load_dai()
1266 swidget->widget->name, buffer->size, buffer->caps); in sof_widget_load_buffer()
[all …]
Dcore.c90 if (strcmp(name, swidget->widget->name) == 0) in snd_sof_find_swidget()
110 if (!strcmp(pcm_name, swidget->widget->sname) && swidget->id == type) in snd_sof_find_swidget_sname()
/Linux-v5.4/scripts/kconfig/
Dgconf.c132 GtkWidget *widget; in init_main_window() local
151 widget = glade_xml_get_widget(xml, "show_name1"); in init_main_window()
152 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, in init_main_window()
155 widget = glade_xml_get_widget(xml, "show_range1"); in init_main_window()
156 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, in init_main_window()
159 widget = glade_xml_get_widget(xml, "show_data1"); in init_main_window()
160 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, in init_main_window()
168 widget = glade_xml_get_widget(xml, "toolbar1"); in init_main_window()
414 gboolean on_window1_delete_event(GtkWidget * widget, GdkEvent * event, in on_window1_delete_event() argument
466 on_window1_size_request(GtkWidget * widget, in on_window1_size_request() argument
[all …]
/Linux-v5.4/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)))
Dhub.h13 extern unsigned long hub_pio_map(cnodeid_t cnode, xwidgetnum_t widget,
Daddrs.h73 #define RAW_NODE_SWIN_BASE(nasid, widget) \ argument
74 (NODE_IO_BASE(nasid) + (UINT64_CAST(widget) << SWIN_SIZE_BITS))
/Linux-v5.4/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.4/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.4/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.h254 #define MADERA_MUX_ROUTES(widget, name) \ argument
255 { widget, NULL, name " Input 1" }, \
258 #define MADERA_MIXER_ROUTES(widget, name) \ argument
259 { widget, NULL, name " Mixer" }, \
/Linux-v5.4/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.4/Documentation/devicetree/bindings/mips/cavium/
Dcib.txt1 * Cavium Interrupt Bus widget
/Linux-v5.4/drivers/extcon/
Dextcon-arizona.c265 const char *widget = arizona_extcon_get_micbias(info); in arizona_extcon_pulse_micbias() local
270 ret = snd_soc_component_force_enable_pin(component, widget); in arizona_extcon_pulse_micbias()
273 widget, ret); in arizona_extcon_pulse_micbias()
278 ret = snd_soc_component_disable_pin(component, widget); in arizona_extcon_pulse_micbias()
281 widget, ret); in arizona_extcon_pulse_micbias()
343 const char *widget = arizona_extcon_get_micbias(info); in arizona_stop_mic() local
355 ret = snd_soc_component_disable_pin(component, widget); in arizona_stop_mic()
359 widget, ret); in arizona_stop_mic()
/Linux-v5.4/include/sound/
Dsoc-topology.h71 struct snd_soc_dobj_widget widget; member
Dsoc-dapm.h402 const struct snd_soc_dapm_widget *widget,
406 const struct snd_soc_dapm_widget *widget);
409 const struct snd_soc_dapm_widget *widget);
661 struct snd_soc_dapm_widget *widget; member

12