Home
last modified time | relevance | path

Searched full:widget (Results 1 – 25 of 132) sorted by relevance

123456

/kernel/linux/linux-5.10/scripts/kconfig/
Dgconf.glade5 <widget class="GtkWindow" id="window1">
25 <widget class="GtkVBox" id="vbox1">
31 <widget class="GtkMenuBar" id="menubar1">
35 <widget class="GtkMenuItem" id="file1">
41 <widget class="GtkMenu" id="file1_menu">
44 <widget class="GtkImageMenuItem" id="load1">
53 <widget class="GtkImage" id="image39">
61 </widget>
63 </widget>
67 <widget class="GtkImageMenuItem" id="save1">
[all …]
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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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.c25 * @widget: widget ID to perform PIO mapping for
30 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()
40 printk(KERN_WARNING "PIO mapping at hub %d widget %d addr 0x%lx" 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()
73 " hub %d widget %d addr 0x%lx\n", in hub_pio_map()
74 nasid, widget, xtalk_addr); in hub_pio_map()
109 * Set the appropriate number of PIO credits for the widget. in hub_setup_prb()
[all …]
/kernel/linux/linux-5.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.
114 Widget that performs an audio processing effect.
120 Widget that encodes audio data from one format (usually PCM) to another
123 Widget that decodes audio data from a compressed format to an
175 Any widget kcontrols can be set using the controls and num_controls members.
177 e.g. Mixer widget (the kcontrols are declared first)
[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
/kernel/linux/linux-5.10/drivers/staging/greybus/
Daudio_helper.c40 * check if widget is already linked, in gbaudio_dapm_link_dai_widget()
53 /* Add the DAPM path and set widget's linked status in gbaudio_dapm_link_dai_widget()
65 /* For each DAI widget... */ in gbaudio_dapm_link_component_dai_widgets()
98 * remove source and sink paths associated to this widget. in gbaudio_dapm_free_widget()
114 const struct snd_soc_dapm_widget *widget, in gbaudio_dapm_free_controls() argument
126 /* below logic can be optimized to identify widget pointer */ in gbaudio_dapm_free_controls()
131 if (!strcmp(w->name, widget->name)) in gbaudio_dapm_free_controls()
136 dev_err(dapm->dev, "%s: widget not found\n", in gbaudio_dapm_free_controls()
137 widget->name); in gbaudio_dapm_free_controls()
138 widget++; in gbaudio_dapm_free_controls()
[all …]
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 …]
/kernel/linux/linux-5.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);
236 * @w: The widget for which to invalidate the cached number of input paths
238 * Resets the cached number of inputs for the specified widget and all widgets
239 * that can be reached via outcoming paths from the widget.
241 * This function must be called if the number of output paths for a widget might
242 * have changed. E.g. if the source state of a widget changes or a path is added
243 * or activated with the widget as the sink.
253 * @w: The widget for which to invalidate the cached number of output paths
[all …]
Dsoc-topology.c164 /* mapping of widget types from UAPI IDs to kernel IDs */
271 /* optionally pass new dynamic widget to component driver. This is mainly for
283 /* optionally pass new dynamic widget to component driver. This is mainly for
438 /* remove a widget and it's kcontrols - routes must be removed first */
460 if (dobj->widget.kcontrol_type == SND_SOC_TPLG_TYPE_ENUM) { in remove_widget()
461 /* enumerated widget mixer */ in remove_widget()
481 if (dobj->widget.kcontrol_type in remove_widget()
500 /* widget w is freed by soc-dapm.c */ in remove_widget()
1339 dev_dbg(tplg->dev, " adding DAPM widget mixer control %s at %d\n", in soc_tplg_dapm_widget_dmixer_create()
1430 dev_dbg(tplg->dev, " adding DAPM widget enum control %s\n", in soc_tplg_dapm_widget_denum_create()
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/sn/
Dio.h24 #define IIO_ITTE_WIDGET_BITS 4 /* size of widget field */
34 #define IIO_ITTE_INVALID_WIDGET 3 /* an invalid widget */
36 #define IIO_ITTE_PUT(nasid, bigwin, io_or_mem, widget, addr) \ argument
41 (((widget) & IIO_ITTE_WIDGET_MASK) << IIO_ITTE_WIDGET_SHIFT)))
50 * Macro which takes the widget number, and returns the
51 * IO PRB address of that widget.
52 * value _x is expected to be a widget number in the range
/kernel/linux/linux-5.10/include/sound/
Dsoc-dapm.h22 /* widget has no PM register bit */
348 #define SND_SOC_DAPM_PRE_PMU 0x1 /* before widget power up */
349 #define SND_SOC_DAPM_POST_PMU 0x2 /* after widget power up */
350 #define SND_SOC_DAPM_PRE_PMD 0x4 /* before widget power down */
351 #define SND_SOC_DAPM_POST_PMD 0x8 /* after widget power down */
367 /* regulator widget flags */
422 const struct snd_soc_dapm_widget *widget,
426 const struct snd_soc_dapm_widget *widget);
429 const struct snd_soc_dapm_widget *widget);
460 /* external DAPM widget events */
[all …]
Dsoc-topology.h58 /* dynamic widget object */
71 struct snd_soc_dobj_widget widget; member
99 * DAPM widget event handlers - used to map handlers onto widgets.
125 /* external widget init - used for any driver specific init */
188 /* Widget removal - widgets also removed wth component API */
/kernel/linux/linux-5.10/arch/mips/include/asm/sn/sn0/
Dhubio.h25 #define IIO_WIDGET IIO_WID /* Widget identification */
26 #define IIO_WIDGET_STAT IIO_WSTAT /* Widget status register */
27 #define IIO_WIDGET_CTRL IIO_WCR /* Widget control register */
28 #define IIO_WIDGET_TOUT IIO_WRTO /* Widget request timeout */
29 #define IIO_WIDGET_FLUSH IIO_WTFR /* Widget target flush */
32 #define IIO_OUTWIDGET_ACCESS IIO_IOWA /* Outbound widget access */
33 #define IIO_INWIDGET_ACCESS IIO_IIWA /* Inbound widget access */
82 #define IIO_WID 0x400000 /* Widget identification */
83 #define IIO_WSTAT 0x400008 /* Widget status */
84 #define IIO_WCR 0x400020 /* Widget control */
[all …]
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))
/kernel/linux/linux-5.10/arch/mips/include/asm/xtalk/
Dxwidget.h6 * xwidget.h - generic crosstalk widget header file, derived from IRIX
87 /* Xtalk Widget Device Mfgr Nums */
101 /* Xtalk Widget Device Part Nums */
115 /* For Xtalk Widget identification */
200 * according to the crosstalk spec, only 32-bits access to the widget
203 * widget target flush register are widget dependent thus will not be
209 /* widget configuration registers */
257 * Crosstalk Widget Hardware Identification, as defined in the Crosstalk spec.
Dxtalk.h19 typedef char xwidgetnum_t; /* xtalk widget number (0..15) */
23 typedef int xwidget_part_num_t; /* xtalk widget part number */
27 typedef int xwidget_rev_num_t; /* xtalk widget revision number */
31 typedef int xwidget_mfg_num_t; /* xtalk widget manufacturing ID */
/kernel/linux/linux-5.10/sound/soc/sof/
Dtopology.c70 /* get runtime PCM params using widget's stream name */ in ipc_pcm_params()
71 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()
155 dev_dbg(scomp->dev, "received event %d for widget %s\n", in sof_keyword_dapm_event()
158 /* get runtime PCM params using widget's stream name */ in sof_keyword_dapm_event()
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()
178 "error: failed to set pcm params for widget %s\n", in sof_keyword_dapm_event()
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dasoc.h103 TP_printk("widget=%s val=%d", __get_str(name),
158 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);
/kernel/linux/linux-5.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.
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
/kernel/linux/linux-5.10/sound/soc/intel/atom/
Dsst-atom-controls.c199 dev_err(&drv->pdev->dev, "Slot control: %s doesn't have DAPM widget!!!\n", in sst_check_and_send_slot_map()
304 dev_dbg(&drv->pdev->dev, "Enter: widget=%s\n", pipe); in sst_find_and_send_pipe_algo()
634 dev_dbg(cmpnt->dev, "widget = %s\n", w->name); in sst_swm_mixer_event()
984 dev_dbg(c->dev, "Enter: widget=%s\n", w->name); in sst_set_be_modules()
1006 dev_dbg(c->dev, "widget=%s\n", w->name); in sst_set_media_path()
1043 dev_dbg(c->dev, "Enter:widget=%s\n", w->name); in sst_set_media_loop()
1347 dev_dbg(dai->dev, "send gains for widget=%s\n", in sst_send_pipe_gains()
1366 dev_dbg(dai->dev, "send gain for widget=%s\n", in sst_send_pipe_gains()
1380 * @w: dapm widget
1381 * @type: widget type
[all …]
/kernel/linux/linux-5.10/sound/pci/lola/
Dlola.h199 /* parameters used with mixer widget's mixer capabilities */
216 /* Pin widget setup */
236 /* Clock widget setup */
261 /* Mixer widget setup */
279 unsigned int nid; /* audio widget NID */
468 /* count values in the Vendor Specific Mixer Widget's Audio Widget Capabilities */
/kernel/linux/linux-5.10/sound/soc/intel/boards/
Dsof_sdw_dmic.c30 dev_err(card->dev, "DMic widget addition failed: %d\n", ret); in sof_sdw_dmic_init()
31 /* Don't need to add routes if widget addition failed */ in sof_sdw_dmic_init()

123456