Home
last modified time | relevance | path

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

123456

/linux/arch/mips/sgi-ip30/
H A 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/arch/mips/sgi-ip27/
H A 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/sound/soc/sdca/
H A Dsdca_asoc.c108 /* Add supply/DAI widget connections */ in sdca_asoc_count_component()
286 struct snd_soc_dapm_widget **widget, in entity_parse_it()
292 (*widget)->id = id; in entity_parse_it()
293 (*widget)++; in entity_parse_it()
304 struct snd_soc_dapm_widget **widget, in entity_parse_ot()
315 (*widget)->id = snd_soc_dapm_aif_in; in entity_parse_ot()
319 (*widget)->id = snd_soc_dapm_mic; in entity_parse_ot()
328 (*widget)++;
336 struct snd_soc_dapm_widget **widget, in entity_pde_event()
347 (*widget) in entity_pde_event()
250 entity_parse_simple(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct snd_soc_dapm_widget ** widget,struct snd_soc_dapm_route ** route,enum snd_soc_dapm_type id) entity_parse_simple() argument
268 entity_parse_it(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct snd_soc_dapm_widget ** widget,struct snd_soc_dapm_route ** route) entity_parse_it() argument
300 entity_parse_ot(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct snd_soc_dapm_widget ** widget,struct snd_soc_dapm_route ** route) entity_parse_ot() argument
329 entity_pde_event(struct snd_soc_dapm_widget * widget,struct snd_kcontrol * kctl,int event) entity_pde_event() argument
388 entity_parse_pde(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct snd_soc_dapm_widget ** widget,struct snd_soc_dapm_route ** route) entity_parse_pde() argument
441 entity_parse_su_device(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct snd_soc_dapm_widget ** widget,struct snd_soc_dapm_route ** route) entity_parse_su_device() argument
507 entity_parse_su_class(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct sdca_control * control,struct snd_soc_dapm_widget ** widget,struct snd_soc_dapm_route ** route) entity_parse_su_class() argument
557 entity_parse_su(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct snd_soc_dapm_widget ** widget,struct snd_soc_dapm_route ** route) entity_parse_su() argument
584 entity_parse_mu(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct snd_soc_dapm_widget ** widget,struct snd_soc_dapm_route ** route) entity_parse_mu() argument
647 entity_cs_event(struct snd_soc_dapm_widget * widget,struct snd_kcontrol * kctl,int event) entity_cs_event() argument
665 entity_parse_cs(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct snd_soc_dapm_widget ** widget,struct snd_soc_dapm_route ** route) entity_parse_cs() argument
698 sdca_asoc_populate_dapm(struct device * dev,struct sdca_function_data * function,struct snd_soc_dapm_widget * widget,struct snd_soc_dapm_route * route) sdca_asoc_populate_dapm() argument
[all...]
/linux/scripts/kconfig/
H A Dgconf.c582 static void on_window1_destroy(GtkWidget *widget, gpointer user_data) in on_window1_destroy() argument
595 static gboolean on_window1_delete_event(GtkWidget *widget, GdkEvent *event, in on_window1_delete_event() argument
744 static gboolean on_treeview2_button_press_event(GtkWidget *widget, in on_treeview2_button_press_event() argument
748 GtkTreeView *view = GTK_TREE_VIEW(widget); in on_treeview2_button_press_event()
797 static gboolean on_treeview2_key_press_event(GtkWidget *widget, in on_treeview2_key_press_event() argument
801 GtkTreeView *view = GTK_TREE_VIEW(widget); in on_treeview2_key_press_event()
855 static gboolean on_treeview1_button_press_event(GtkWidget *widget, in on_treeview1_button_press_event() argument
859 GtkTreeView *view = GTK_TREE_VIEW(widget); in on_treeview1_button_press_event()
953 static void replace_button_icon(GtkWidget *widget, const char *filename) in replace_button_icon() argument
975 gtk_tool_button_set_icon_widget(GTK_TOOL_BUTTON(widget), image); in replace_button_icon()
[all …]
/linux/sound/soc/
H A Dsoc-dapm.c66 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++;
276 * @w: The widget for which to invalidate the cached number of input paths
278 * Resets the cached number of inputs for the specified widget and all widgets
279 * that can be reached via outcoming paths from the widget.
281 * This function must be called if the number of output paths for a widget might in dapm_widget_invalidate_input_paths()
282 * have changed. E.g. if the source state of a widget changes or a path is added in dapm_widget_invalidate_input_paths()
283 * or activated with the widget as the sink. in dapm_widget_invalidate_input_paths()
293 * @w: The widget for which to invalidate the cached number of output paths
295 * Resets the cached number of outputs for the specified widget an
64 DAPM_UPDATE_STAT(widget,val) global() argument
385 struct snd_soc_dapm_widget *widget; global() member
706 dapm_kcontrol_data_alloc(struct snd_soc_dapm_widget * widget,struct snd_kcontrol * kcontrol,const char * ctrl_name) dapm_kcontrol_data_alloc() argument
838 dapm_kcontrol_add_widget(struct snd_kcontrol * kcontrol,struct snd_soc_dapm_widget * widget) dapm_kcontrol_add_widget() argument
1405 dapm_suspend_check(struct snd_soc_dapm_widget * widget) dapm_suspend_check() argument
1457 dapm_invalidate_paths_ep(struct snd_soc_dapm_widget * widget,enum snd_soc_dapm_direction dir) dapm_invalidate_paths_ep() argument
1487 dapm_is_connected_ep(struct snd_soc_dapm_widget * widget,struct list_head * list,enum snd_soc_dapm_direction dir,int (* fn)(struct snd_soc_dapm_widget *,struct list_head *,bool (* custom_stop_condition)(struct snd_soc_dapm_widget *,enum snd_soc_dapm_direction)),bool (* custom_stop_condition)(struct snd_soc_dapm_widget *,enum snd_soc_dapm_direction)) dapm_is_connected_ep() argument
1550 dapm_is_connected_output_ep(struct snd_soc_dapm_widget * widget,struct list_head * list,bool (* custom_stop_condition)(struct snd_soc_dapm_widget * i,enum snd_soc_dapm_direction)) dapm_is_connected_output_ep() argument
1568 dapm_is_connected_input_ep(struct snd_soc_dapm_widget * widget,struct list_head * list,bool (* custom_stop_condition)(struct snd_soc_dapm_widget * i,enum snd_soc_dapm_direction)) dapm_is_connected_input_ep() argument
3088 snd_soc_dapm_widget_name_cmp(struct snd_soc_dapm_widget * widget,const char * s) snd_soc_dapm_widget_name_cmp() argument
3758 snd_soc_dapm_new_control_unlocked(struct snd_soc_dapm_context * dapm,const struct snd_soc_dapm_widget * widget) snd_soc_dapm_new_control_unlocked() argument
3910 snd_soc_dapm_new_control(struct snd_soc_dapm_context * dapm,const struct snd_soc_dapm_widget * widget) snd_soc_dapm_new_control() argument
3933 snd_soc_dapm_new_controls(struct snd_soc_dapm_context * dapm,const struct snd_soc_dapm_widget * widget,unsigned int num) snd_soc_dapm_new_controls() argument
[all...]
H A Dsoc-topology.c157 /* mapping of widget types from UAPI IDs to kernel IDs */
259 /* optionally pass new dynamic widget to component driver. This is mainly for in soc_tplg_widget_load()
271 /* optionally pass new dynamic widget to component driver. This is mainly for in soc_tplg_widget_ready()
377 /* remove a widget and it's kcontrols - routes must be removed first */ in soc_tplg_remove_widget()
398 /* widget w is freed by soc-dapm.c */ in soc_tplg_remove_dai()
1105 struct snd_soc_dapm_widget template, *widget; in soc_tplg_dapm_widget_create()
1123 dev_dbg(tplg->dev, "ASoC: creating DAPM widget %s id %u\n", in soc_tplg_dapm_widget_create()
1128 /* map user to kernel widget ID */ in soc_tplg_dapm_widget_create()
1133 /* strings are allocated here, but used and freed by the widget */ in soc_tplg_dapm_widget_create()
1158 goto widget; in soc_tplg_dapm_widget_create()
1101 struct snd_soc_dapm_widget template, *widget; soc_tplg_dapm_widget_create() local
1267 struct snd_soc_tplg_dapm_widget *widget = (struct snd_soc_tplg_dapm_widget *) tplg->pos; soc_tplg_dapm_widget_elems_load() local
[all...]
/linux/arch/mips/include/asm/sn/
H A 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/sound/soc/sof/
H A Dipc3-topology.c436 dev_dbg(scomp->dev, "loaded host %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_host()
479 swidget->widget->name, tone->frequency, tone->amplitude); in sof_ipc3_widget_setup_comp_tone()
513 dev_dbg(scomp->dev, "loaded mixer %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_mixer()
541 comp_swidget = snd_sof_find_swidget(scomp, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
543 dev_err(scomp->dev, "scheduler %s refers to non existent widget %s\n", in sof_ipc3_widget_setup_comp_pipeline()
544 swidget->widget->name, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
568 swidget->widget->name, pipeline->core, in sof_ipc3_widget_setup_comp_pipeline()
578 swidget->widget->name, pipeline->period, pipeline->priority, in sof_ipc3_widget_setup_comp_pipeline()
624 swidget->widget in sof_ipc3_widget_setup_comp_src()
801 sof_get_control_data(struct snd_soc_component * scomp,struct snd_soc_dapm_widget * widget,struct sof_widget_data * wdata,size_t * size) sof_get_control_data() argument
885 struct snd_soc_dapm_widget *widget = swidget->widget; sof_process_load() local
[all...]
H A 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 typ
221 const struct sof_ipc_tplg_widget_ops *widget; global() member
457 struct snd_soc_dapm_widget *widget; global() member
[all...]
H A Dipc4-topology.c294 swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
298 out_fmt_index, swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
307 swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
311 out_fmt_index, swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
336 swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
340 in_fmt_index, out_fmt_index, swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
351 swidget->widget->name);
354 in_fmt_index, swidget->widget->name); in sof_ipc4_get_input_pin_audio_fmt()
361 swidget->widget->name); in sof_ipc4_get_input_pin_audio_fmt()
364 out_fmt_index, swidget->widget in sof_ipc4_get_input_pin_audio_fmt()
[all...]
H A Dipc4-control.c26 /* find widget associated with the control */ in sof_ipc4_set_get_kcontrol_data()
35 dev_err(scomp->dev, "Failed to find widget for kcontrol %s\n", scontrol->name); in sof_ipc4_set_get_kcontrol_data()
46 * widget use_count would always be > 0 in this case. For the others, in sof_ipc4_set_get_kcontrol_data()
47 * just return the cached value if the widget is not set up. in sof_ipc4_set_get_kcontrol_data()
167 /* find widget associated with the control */ in sof_ipc4_volume_put()
176 dev_err(scomp->dev, "Failed to find widget for kcontrol %s\n", scontrol->name); in sof_ipc4_volume_put()
405 /* find widget associated with the control */ in sof_ipc4_set_get_bytes_data()
414 dev_err(scomp->dev, "Failed to find widget for kcontrol %s\n", scontrol->name); in sof_ipc4_set_get_bytes_data()
464 /* find widget associated with the control */ in sof_ipc4_bytes_put()
473 dev_err(scomp->dev, "Failed to find widget fo in sof_ipc4_bytes_get()
670 struct snd_soc_dapm_widget *widget; sof_ipc4_control_update() local
[all...]
H A Dtopology.c1092 dev_err(scomp->dev, "Widget %s does not have stream\n", w->name); in sof_connect_dai_widget()
1121 * Please create DAI widget in the right order in sof_connect_dai_widget()
1123 * widget. in sof_connect_dai_widget()
1137 dev_dbg(scomp->dev, "tplg: connected widget %s -> DAI link %s\n", in sof_connect_dai_widget()
1239 dev_err(scomp->dev, "No token list for widget %s\n", swidget->widget->name); in sof_widget_parse_tokens()
1252 /* parse token list for widget */ in sof_widget_parse_tokens()
1257 dev_err(scomp->dev, "Invalid token id %d for widget %s\n", in sof_widget_parse_tokens()
1258 object_token_list[i], swidget->widget->name); in sof_widget_parse_tokens()
1271 dev_err(scomp->dev, "Failed parsing %s for widget in sof_widget_parse_tokens()
1637 struct snd_soc_dapm_widget *widget; sof_widget_unload() local
[all...]
H A 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()
582 struct snd_soc_dapm_widget *widget; in sof_ipc3_control_update()
627 widget = swidget->widget; in sof_ipc3_control_update()
628 for (i = 0; i < widget->num_kcontrols; i++) { in sof_ipc3_control_update()
630 if (widget->dobj.widget.kcontrol_type[i] == type && in sof_ipc3_control_update()
631 widget in sof_ipc3_control_update()
553 struct snd_soc_dapm_widget *widget; sof_ipc3_control_update() local
[all...]
/linux/arch/mips/include/asm/sn/sn0/
H A 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 …]
H A 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/arch/mips/include/asm/xtalk/
H A 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.
H A 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/sound/soc/mediatek/common/
H A Dmtk-dsp-sof-common.c201 struct snd_soc_dapm_widget *widget = snd_soc_dai_get_widget(cpu_dai, conn->stream_dir); in mtk_sof_card_late_probe()
204 if (conn->stream_dir == SNDRV_PCM_STREAM_CAPTURE && widget) { in mtk_sof_card_late_probe()
205 snd_soc_dapm_widget_for_each_sink_path(widget, p) { in mtk_sof_card_late_probe()
210 } else if (conn->stream_dir == SNDRV_PCM_STREAM_PLAYBACK && widget) { in mtk_sof_card_late_probe()
211 snd_soc_dapm_widget_for_each_source_path(widget, p) { in mtk_sof_card_late_probe()
217 dev_err(cpu_dai->dev, "stream dir and widget not pair\n"); in mtk_sof_card_late_probe()
200 struct snd_soc_dapm_widget *widget = snd_soc_dai_get_widget(cpu_dai, conn->stream_dir); mtk_sof_card_late_probe() local
/linux/sound/soc/intel/atom/
H A 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()
1345 dev_dbg(dai->dev, "send gains for widget=%s\n", in sst_send_pipe_gains()
1361 dev_dbg(dai->dev, "send gain for widget=%s\n", in sst_send_pipe_gains()
1375 * @w: dapm widget
1376 * @type: widget typ
[all...]
/linux/tools/sound/
H A Ddapm-graph89 # Parse a widget file and generate graph description in graphviz dot format
95 # $3 = widget filename
111 dbg_echo " + Widget: ${w_name}"
123 # Collect widget type if present
124 if echo "${line}" | grep -q '^widget-type '; then
126 dbg_echo " - Widget type: ${w_type_raw}"
/linux/include/sound/
H A Dsoc-topology.h55 /* dynamic widget object */
68 struct snd_soc_dobj_widget widget; member
96 * DAPM widget event handlers - used to map handlers onto widgets.
122 /* external widget init - used for any driver specific init */
/linux/Documentation/devicetree/bindings/sound/
H A 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
H A 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/fs/xfs/scrub/
H A 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/Documentation/sound/hd-audio/
H A 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

123456