Home
last modified time | relevance | path

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

123

/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/sound/soc/sof/
H A Dsof-audio.c27 isdigit(swidget->widget->name[strlen(swidget->widget->name) - 1]) && in is_aggregated_dai()
28 swidget->widget->name[strlen(swidget->widget->name) - 1] != '0'); in is_aggregated_dai()
31 static bool is_virtual_widget(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in is_virtual_widget() argument
34 switch (widget->id) { in is_virtual_widget()
38 dev_dbg(sdev->dev, "%s: %s is a virtual widget\n", func, widget->name); in is_virtual_widget()
45 static void sof_reset_route_setup_status(struct snd_sof_dev *sdev, struct snd_sof_widget *widget) in sof_reset_route_setup_status() argument
51 if (sroute->src_widget == widget || sroute->sink_widget == widget) { in sof_reset_route_setup_status()
90 swidget->widget->name); in sof_widget_free_unlocked()
112 i, swidget->widget->name); in sof_widget_free_unlocked()
132 dev_dbg(sdev->dev, "widget %s freed\n", swidget->widget->name); in sof_widget_free_unlocked()
[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); in sof_ipc4_dbg_module_audio_format()
354 in_fmt_index, swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
361 swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
364 out_fmt_index, swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
[all …]
H A Dipc3-topology.c441 dev_dbg(scomp->dev, "loaded host %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_host()
484 swidget->widget->name, tone->frequency, tone->amplitude);
518 dev_dbg(scomp->dev, "loaded mixer %s\n", swidget->widget->name);
546 comp_swidget = snd_sof_find_swidget(scomp, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
548 dev_err(scomp->dev, "scheduler %s refers to non existent widget %s\n", in sof_ipc3_widget_setup_comp_pipeline()
549 swidget->widget->name, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
573 swidget->widget->name, pipeline->core, in sof_ipc3_widget_setup_comp_pipeline()
583 swidget->widget->name, pipeline->period, pipeline->priority, in sof_ipc3_widget_setup_comp_pipeline()
629 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 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...]
H A Dtopology.c1127 * Please create DAI widget in the right order in sof_connect_dai_widget()
1129 * widget. in sof_connect_dai_widget()
1143 dev_dbg(scomp->dev, "tplg: connected widget %s -> DAI link %s\n", in sof_disconnect_dai_widget()
1245 dev_err(scomp->dev, "No token list for widget %s\n", swidget->widget->name); in sof_widget_parse_tokens()
1258 /* parse token list for widget */ in sof_widget_parse_tokens()
1263 dev_err(scomp->dev, "Invalid token id %d for widget %s\n", in sof_widget_parse_tokens()
1264 object_token_list[i], swidget->widget->name); in sof_widget_parse_tokens()
1277 dev_err(scomp->dev, "Failed parsing %s for widget %s\n", in sof_widget_parse_tokens()
1279 swidget->widget in sof_widget_parse_tokens()
1637 struct snd_soc_dapm_widget *widget; sof_widget_unload() local
[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...]
/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.c286 struct snd_soc_dapm_widget **widget, in entity_parse_simple() argument
292 (*widget)->id = id; in entity_parse_simple()
293 (*widget)++; in entity_parse_simple()
304 struct snd_soc_dapm_widget **widget, in entity_parse_it() argument
315 (*widget)->id = snd_soc_dapm_aif_in; in entity_parse_it()
319 (*widget)->id = snd_soc_dapm_mic; in entity_parse_it()
328 (*widget)++; in entity_parse_it()
336 struct snd_soc_dapm_widget **widget, in entity_parse_ot() argument
347 (*widget)->id = snd_soc_dapm_aif_out; in entity_parse_ot()
351 (*widget)->id = snd_soc_dapm_spk; in entity_parse_ot()
[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++; argument
389 struct snd_soc_dapm_widget *widget; member
712 static int dapm_kcontrol_data_alloc(struct snd_soc_dapm_widget *widget, in dapm_kcontrol_data_alloc() argument
715 struct device *dev = snd_soc_dapm_to_dev(widget->dapm); in dapm_kcontrol_data_alloc()
728 switch (widget->id) { in dapm_kcontrol_data_alloc()
763 data->widget = in dapm_kcontrol_data_alloc()
764 snd_soc_dapm_new_control_unlocked(widget->dapm, in dapm_kcontrol_data_alloc()
767 if (IS_ERR(data->widget)) { in dapm_kcontrol_data_alloc()
768 ret = PTR_ERR(data->widget); in dapm_kcontrol_data_alloc()
799 data->widget = snd_soc_dapm_new_control_unlocked( in dapm_kcontrol_data_alloc()
[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/sn0/
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/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(time_after_eq(jiffies, widget->next_resched))) { in xchk_maybe_relax()
45 widget->next_resched = XCHK_RELAX_NEXT; in xchk_maybe_relax()
48 if (widget->killable && fatal_signal_pending(current)) in xchk_maybe_relax()
/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/arch/mips/include/asm/sn/
H A 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/Documentation/devicetree/bindings/sound/
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/sound/soc/codecs/
H A Darizona.h210 #define ARIZONA_MUX_ROUTES(widget, name) \
211 { widget, NULL, name " Input" }, \
214 #define ARIZONA_MIXER_ROUTES(widget, name) \
215 { widget, NULL, name " Mixer" }, \
209 ARIZONA_MUX_ROUTES(widget,name) global() argument
213 ARIZONA_MIXER_ROUTES(widget,name) global() argument
H A Dlpass-tx-macro.c757 struct snd_soc_dapm_widget *widget, in tx_macro_update_smic_sel_v9() argument
779 struct snd_soc_dapm_widget *widget, in tx_macro_update_smic_sel_v9_2() argument
786 if (widget->shift) { in tx_macro_update_smic_sel_v9_2()
805 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); in tx_macro_put_dec_enum() local
806 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in tx_macro_put_dec_enum()
847 if (widget->shift) /* MSM DMIC */ in tx_macro_put_dec_enum()
851 tx_macro_update_smic_sel_v9(component, widget, tx, in tx_macro_put_dec_enum()
854 tx_macro_update_smic_sel_v9_2(component, widget, tx, in tx_macro_put_dec_enum()
864 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); in tx_macro_tx_mixer_get() local
865 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in tx_macro_tx_mixer_get()
[all …]
H A Dcs48l32.h136 #define CS48L32_MUX_ROUTES(widget, name) \ argument
137 { widget, NULL, name " Input 1" }, \
140 #define CS48L32_MIXER_ROUTES(widget, name) \ argument
141 { widget, NULL, name " Mixer" }, \
H A Dlpass-wsa-macro.c1942 dev_warn(component->dev, "Incorrect widget name in the driver\n"); in wsa_macro_spk_boost_event()
2090 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); in wsa_macro_rx_mux_get()
2092 snd_soc_dapm_to_component(widget->dapm); in wsa_macro_rx_mux_get()
2096 wsa->rx_port_value[widget->shift];
2103 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); in wsa_macro_rx_mux_put()
2105 snd_soc_dapm_to_component(widget->dapm); in wsa_macro_rx_mux_put()
2114 aif_rst = wsa->rx_port_value[widget->shift]; in wsa_macro_rx_mux_put()
2123 wsa->rx_port_value[widget->shift] = rx_port_value; in wsa_macro_rx_mux_put()
2125 bit_input = widget->shift; in wsa_macro_rx_mux_put()
2153 snd_soc_dapm_mux_update_power(widget in wsa_macro_rx_mux_put()
2087 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); wsa_macro_rx_mux_get() local
2100 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); wsa_macro_rx_mux_put() local
2234 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); wsa_macro_vi_feed_mixer_get() local
2252 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); wsa_macro_vi_feed_mixer_put() local
[all...]
H A 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" }, \
H A Dlpass-va-macro.c533 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); in va_macro_put_dec_enum() local
535 snd_soc_dapm_to_component(widget->dapm); in va_macro_put_dec_enum()
572 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); in va_macro_tx_mixer_get() local
574 snd_soc_dapm_to_component(widget->dapm); in va_macro_tx_mixer_get()
577 u32 dai_id = widget->shift; in va_macro_tx_mixer_get()
592 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); in va_macro_tx_mixer_put() local
594 snd_soc_dapm_to_component(widget->dapm); in va_macro_tx_mixer_put()
598 u32 dai_id = widget->shift; in va_macro_tx_mixer_put()
611 snd_soc_dapm_mixer_update_power(widget->dapm, kcontrol, enable, update); in va_macro_tx_mixer_put()
/linux/include/trace/events/
H A Dsof.h22 __string(name, swidget->widget->name)
/linux/drivers/staging/greybus/
H A Daudio_helper.h12 const struct snd_soc_dapm_widget *widget,

123