Home
last modified time | relevance | path

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

12345678

/linux-6.12.1/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.c97 GtkWidget *widget; in init_main_window() local
116 widget = glade_xml_get_widget(xml, "show_name1"); in init_main_window()
117 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, in init_main_window()
120 widget = glade_xml_get_widget(xml, "show_range1"); in init_main_window()
121 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, in init_main_window()
124 widget = glade_xml_get_widget(xml, "show_data1"); in init_main_window()
125 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, in init_main_window()
133 widget = glade_xml_get_widget(xml, "toolbar1"); in init_main_window()
379 gboolean on_window1_delete_event(GtkWidget * widget, GdkEvent * event, in on_window1_delete_event() argument
431 on_window1_size_request(GtkWidget * widget, in on_window1_size_request() argument
[all …]
/linux-6.12.1/sound/soc/sof/
Dsof-audio.c16 static bool is_virtual_widget(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in is_virtual_widget() argument
19 switch (widget->id) { in is_virtual_widget()
23 dev_dbg(sdev->dev, "%s: %s is a virtual widget\n", func, widget->name); in is_virtual_widget()
30 static void sof_reset_route_setup_status(struct snd_sof_dev *sdev, struct snd_sof_widget *widget) in sof_reset_route_setup_status() argument
36 if (sroute->src_widget == widget || sroute->sink_widget == widget) { in sof_reset_route_setup_status()
61 /* reset route setup status for all routes that contain this widget */ in sof_widget_free_unlocked()
64 /* free DAI config and continue to free widget even if it fails */ in sof_widget_free_unlocked()
74 dev_err(sdev->dev, "failed to free config for widget %s\n", in sof_widget_free_unlocked()
75 swidget->widget->name); in sof_widget_free_unlocked()
97 i, swidget->widget->name); in sof_widget_free_unlocked()
[all …]
Dsof-audio.h28 * per widget, because only 3 bits are used for queue(pin) ID
33 /* Widget pin type */
173 * @ipc_setup: Function pointer for setting up widget IPC params
174 * @ipc_free: Function pointer for freeing widget IPC params
175 * @token_list: List of token ID's that should be parsed for the widget
177 * @bind_event: Function pointer for binding events to the widget
178 * @ipc_prepare: Optional op for preparing a widget for set up
179 * @ipc_unprepare: Optional op for unpreparing a widget
197 * @widget: Array of pointers to IPC-specific ops for widgets. This should always be of size
198 * SND_SOF_DAPM_TYPE_COUNT i.e one per widget type. Unsupported widget types will be
[all …]
Dipc3-topology.c433 dev_dbg(scomp->dev, "loaded host %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_host()
476 swidget->widget->name, tone->frequency, tone->amplitude); in sof_ipc3_widget_setup_comp_tone()
510 dev_dbg(scomp->dev, "loaded mixer %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_mixer()
537 comp_swidget = snd_sof_find_swidget(scomp, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
539 dev_err(scomp->dev, "scheduler %s refers to non existent widget %s\n", in sof_ipc3_widget_setup_comp_pipeline()
540 swidget->widget->name, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
567 swidget->widget->name, pipeline->period, pipeline->priority, in sof_ipc3_widget_setup_comp_pipeline()
613 swidget->widget->name, buffer->size, buffer->caps); in sof_ipc3_widget_setup_comp_buffer()
648 swidget->widget->name, src->source_rate, src->sink_rate); in sof_ipc3_widget_setup_comp_src()
689 swidget->widget->name, asrc->source_rate, asrc->sink_rate, in sof_ipc3_widget_setup_comp_asrc()
[all …]
Dipc4-topology.c285 swidget->widget->name, ret); in sof_ipc4_get_audio_fmt()
289 dev_dbg(scomp->dev, "widget %s: is_pages: %d\n", swidget->widget->name, in sof_ipc4_get_audio_fmt()
308 dev_dbg(scomp->dev, "Input audio formats for %s\n", swidget->widget->name); in sof_ipc4_get_audio_fmt()
331 dev_dbg(scomp->dev, "Output audio formats for %s\n", swidget->widget->name); in sof_ipc4_get_audio_fmt()
371 dev_err(sdev->dev, "failed to find module info for widget %s with UUID %pUL\n", in sof_ipc4_widget_set_module_info()
372 swidget->widget->name, &swidget->uuid); in sof_ipc4_widget_set_module_info()
408 /* update module ID for all kcontrols for this widget */ in sof_ipc4_widget_update_kcontrol_module_id()
481 dev_dbg(scomp->dev, "Updating IPC structure for %s\n", swidget->widget->name); in sof_ipc4_widget_setup_pcm()
504 dev_dbg(scomp->dev, "host copier '%s' node_type %u\n", swidget->widget->name, node_type); in sof_ipc4_widget_setup_pcm()
550 dev_err(scomp->dev, "invalid widget type %d\n", swidget->id); in sof_ipc4_widget_setup_pcm()
[all …]
Dipc4-control.c27 /* find widget associated with the control */ in sof_ipc4_set_get_kcontrol_data()
36 dev_err(scomp->dev, "Failed to find widget for kcontrol %s\n", scontrol->name); in sof_ipc4_set_get_kcontrol_data()
47 * widget use_count would always be > 0 in this case. For the others, in sof_ipc4_set_get_kcontrol_data()
48 * just return the cached value if the widget is not set up. in sof_ipc4_set_get_kcontrol_data()
169 /* find widget associated with the control */ in sof_ipc4_volume_put()
178 dev_err(scomp->dev, "Failed to find widget for kcontrol %s\n", scontrol->name); in sof_ipc4_volume_put()
311 /* find widget associated with the control */ in sof_ipc4_switch_put()
320 dev_err(scomp->dev, "Failed to find widget for kcontrol %s\n", scontrol->name); in sof_ipc4_switch_put()
370 /* find widget associated with the control */ in sof_ipc4_enum_put()
379 dev_err(scomp->dev, "Failed to find widget for kcontrol %s\n", scontrol->name); in sof_ipc4_enum_put()
[all …]
Dtopology.c1068 dev_err(scomp->dev, "Widget %s does not have stream\n", w->name); in sof_connect_dai_widget()
1087 * Please create DAI widget in the right order in sof_connect_dai_widget()
1089 * widget. in sof_connect_dai_widget()
1103 dev_dbg(scomp->dev, "tplg: connected widget %s -> DAI link %s\n", in sof_connect_dai_widget()
1205 dev_err(scomp->dev, "No token list for widget %s\n", swidget->widget->name); in sof_widget_parse_tokens()
1218 /* parse token list for widget */ in sof_widget_parse_tokens()
1223 dev_err(scomp->dev, "Invalid token id %d for widget %s\n", in sof_widget_parse_tokens()
1224 object_token_list[i], swidget->widget->name); in sof_widget_parse_tokens()
1237 dev_err(scomp->dev, "Failed parsing %s for widget %s\n", in sof_widget_parse_tokens()
1239 swidget->widget->name); in sof_widget_parse_tokens()
[all …]
Dipc3-control.c35 dev_err(sdev->dev, "%s: can't find widget with id %d\n", __func__, in sof_ipc3_set_get_kcontrol_data()
47 * widget use_count would always be > 0 in this case. For the others, in sof_ipc3_set_get_kcontrol_data()
48 * just return the cached value if the widget is not set up. in sof_ipc3_set_get_kcontrol_data()
553 struct snd_soc_dapm_widget *widget; in sof_ipc3_control_update() local
598 widget = swidget->widget; in sof_ipc3_control_update()
599 for (i = 0; i < widget->num_kcontrols; i++) { in sof_ipc3_control_update()
601 if (widget->dobj.widget.kcontrol_type[i] == type && in sof_ipc3_control_update()
602 widget->kcontrol_news[i].index == cdata->index) { in sof_ipc3_control_update()
603 kc = widget->kcontrols[i]; in sof_ipc3_control_update()
668 /* set up all controls for the widget */ in sof_ipc3_widget_kcontrol_setup()
[all …]
/linux-6.12.1/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.12.1/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 …]
/linux-6.12.1/Documentation/sound/soc/
Ddapm.rst21 * a **widget** is every part of the audio hardware that can be enabled by
24 can flow from one widget to the other
79 A programmable gain amplifier or attenuation widget.
99 Power or clock supply widget used by other widgets.
117 Special PRE widget (exec before all others)
119 Special POST widget (exec after all others)
121 Inter widget audio data buffer within a DSP.
126 Widget that performs an audio processing effect.
132 Widget that encodes audio data from one format (usually PCM) to another
135 Widget that decodes audio data from a compressed format to an
[all …]
Dcodec-to-codec.rst94 In dapm core a route is created between cpu_dai playback widget
95 and codec_dai capture widget for playback path and vice-versa is
98 a sink or source widget corresponding to playback and capture path
101 In order to trigger this dai_link widget, a thin codec driver for
/linux-6.12.1/drivers/staging/greybus/
Daudio_helper.c39 * check if widget is already linked, in gbaudio_dapm_link_dai_widget()
52 /* Add the DAPM path and set widget's linked status in gbaudio_dapm_link_dai_widget()
64 /* For each DAI widget... */ in gbaudio_dapm_link_component_dai_widgets()
97 * remove source and sink paths associated to this widget. in gbaudio_dapm_free_widget()
113 const struct snd_soc_dapm_widget *widget, in gbaudio_dapm_free_controls() argument
121 /* below logic can be optimized to identify widget pointer */ in gbaudio_dapm_free_controls()
125 !strcmp(tmp_w->name, widget->name)) { in gbaudio_dapm_free_controls()
131 dev_err(dapm->dev, "%s: widget not found\n", in gbaudio_dapm_free_controls()
132 widget->name); in gbaudio_dapm_free_controls()
133 widget++; in gbaudio_dapm_free_controls()
[all …]
Daudio_topology.c110 struct gbaudio_widget *widget; in gbaudio_map_widgetname() local
112 list_for_each_entry(widget, &module->widget_list, list) { in gbaudio_map_widgetname()
113 if (!strncmp(widget->name, name, NAME_SIZE)) in gbaudio_map_widgetname()
114 return widget->id; in gbaudio_map_widgetname()
124 struct gbaudio_widget *widget; in gbaudio_map_widgetid() local
126 list_for_each_entry(widget, &module->widget_list, list) { in gbaudio_map_widgetid()
127 if (widget->id == widget_id) in gbaudio_map_widgetid()
128 return widget->name; in gbaudio_map_widgetid()
382 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_get() local
383 struct device *codec_dev = widget->dapm->dev; in gbcodec_mixer_dapm_ctl_get()
[all …]
/linux-6.12.1/sound/soc/
Dsoc-dapm.c43 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++; argument
60 const struct snd_soc_dapm_widget *widget);
64 const struct snd_soc_dapm_widget *widget);
239 * @w: The widget for which to invalidate the cached number of input paths
241 * Resets the cached number of inputs for the specified widget and all widgets
242 * that can be reached via outcoming paths from the widget.
244 * This function must be called if the number of output paths for a widget might
245 * have changed. E.g. if the source state of a widget changes or a path is added
246 * or activated with the widget as the sink.
256 * @w: The widget for which to invalidate the cached number of output paths
[all …]
Dsoc-topology.c157 /* mapping of widget types from UAPI IDs to kernel IDs */
264 /* optionally pass new dynamic widget to component driver. This is mainly for
276 /* optionally pass new dynamic widget to component driver. This is mainly for
382 /* remove a widget and it's kcontrols - routes must be removed first */
403 /* widget w is freed by soc-dapm.c */ in soc_tplg_remove_widget()
1121 struct snd_soc_dapm_widget template, *widget; in soc_tplg_dapm_widget_create() local
1139 dev_dbg(tplg->dev, "ASoC: creating DAPM widget %s id %d\n", in soc_tplg_dapm_widget_create()
1144 /* map user to kernel widget ID */ in soc_tplg_dapm_widget_create()
1149 /* strings are allocated here, but used and freed by the widget */ in soc_tplg_dapm_widget_create()
1174 goto widget; in soc_tplg_dapm_widget_create()
[all …]
/linux-6.12.1/include/sound/
Dsoc-dapm.h23 /* widget has no PM register bit */
395 #define SND_SOC_DAPM_PRE_PMU 0x1 /* before widget power up */
396 #define SND_SOC_DAPM_POST_PMU 0x2 /* after widget power up */
397 #define SND_SOC_DAPM_PRE_PMD 0x4 /* before widget power down */
398 #define SND_SOC_DAPM_POST_PMD 0x8 /* after widget power down */
410 /* regulator widget flags */
460 const struct snd_soc_dapm_widget *widget, unsigned int num);
462 const struct snd_soc_dapm_widget *widget);
464 const struct snd_soc_dapm_widget *widget);
472 int snd_soc_dapm_widget_name_cmp(struct snd_soc_dapm_widget *widget, const char *s);
[all …]
/linux-6.12.1/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
/linux-6.12.1/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 …]
/linux-6.12.1/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 */
/linux-6.12.1/sound/soc/mediatek/common/
Dmtk-dsp-sof-common.c200 struct snd_soc_dapm_widget *widget = snd_soc_dai_get_widget(cpu_dai, conn->stream_dir); in mtk_sof_card_late_probe() local
203 if (conn->stream_dir == SNDRV_PCM_STREAM_CAPTURE && widget) { in mtk_sof_card_late_probe()
204 snd_soc_dapm_widget_for_each_sink_path(widget, p) { in mtk_sof_card_late_probe()
209 } else if (conn->stream_dir == SNDRV_PCM_STREAM_PLAYBACK && widget) { in mtk_sof_card_late_probe()
210 snd_soc_dapm_widget_for_each_source_path(widget, p) { in mtk_sof_card_late_probe()
216 dev_err(cpu_dai->dev, "stream dir and widget not pair\n"); in mtk_sof_card_late_probe()
/linux-6.12.1/fs/xfs/scrub/
Dscrub.h36 static inline int xchk_maybe_relax(struct xchk_relax *widget) in xchk_maybe_relax() argument
39 if (likely(++widget->resched_nr < 100)) in xchk_maybe_relax()
41 widget->resched_nr = 0; in xchk_maybe_relax()
43 if (unlikely(widget->next_resched <= jiffies)) { in xchk_maybe_relax()
45 widget->next_resched = XCHK_RELAX_NEXT; in xchk_maybe_relax()
48 if (widget->interruptible && fatal_signal_pending(current)) in xchk_maybe_relax()
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Damlogic,gx-sound-card.yaml27 A list off component DAPM widget. Each entry is a pair of strings,
28 the first being the widget type, the second being the widget name

12345678