Home
last modified time | relevance | path

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

12

/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.c86 /* Add supply/DAI widget connections */ in sdca_asoc_count_component()
214 struct snd_soc_dapm_widget **widget, in entity_early_parse_ge()
220 (*widget)->id = id; in entity_early_parse_ge()
221 (*widget)++; in entity_early_parse_ge()
232 struct snd_soc_dapm_widget **widget, in entity_early_parse_ge()
243 (*widget)->id = snd_soc_dapm_aif_in; in entity_early_parse_ge()
247 (*widget)->id = snd_soc_dapm_mic; in add_route()
256 (*widget)++; in entity_parse_simple()
264 struct snd_soc_dapm_widget **widget, in entity_parse_simple()
275 (*widget) in entity_parse_it()
258 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
276 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
308 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
337 entity_pde_event(struct snd_soc_dapm_widget * widget,struct snd_kcontrol * kctl,int event) entity_pde_event() argument
396 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
449 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
515 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
565 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
592 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
655 entity_cs_event(struct snd_soc_dapm_widget * widget,struct snd_kcontrol * kctl,int event) entity_cs_event() argument
673 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
706 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.c583 static void on_window1_destroy(GtkWidget *widget, gpointer user_data) in on_window1_destroy() argument
596 static gboolean on_window1_delete_event(GtkWidget *widget, GdkEvent *event, in on_window1_delete_event() argument
745 static gboolean on_treeview2_button_press_event(GtkWidget *widget, in on_treeview2_button_press_event() argument
749 GtkTreeView *view = GTK_TREE_VIEW(widget); in on_treeview2_button_press_event()
798 static gboolean on_treeview2_key_press_event(GtkWidget *widget, in on_treeview2_key_press_event() argument
802 GtkTreeView *view = GTK_TREE_VIEW(widget); in on_treeview2_key_press_event()
856 static gboolean on_treeview1_button_press_event(GtkWidget *widget, in on_treeview1_button_press_event() argument
860 GtkTreeView *view = GTK_TREE_VIEW(widget); in on_treeview1_button_press_event()
954 static void replace_button_icon(GtkWidget *widget, const char * const xpm[]) in replace_button_icon() argument
964 gtk_tool_button_set_icon_widget(GTK_TOOL_BUTTON(widget), image); in replace_button_icon()
[all …]
/linux/sound/soc/sof/
H A Dipc4-topology.c266 swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
270 out_fmt_index, swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
279 swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
283 out_fmt_index, swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
308 swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
312 in_fmt_index, out_fmt_index, swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
323 swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
326 in_fmt_index, swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
333 swidget->widget->name); in sof_ipc4_dbg_module_audio_format()
336 out_fmt_index, swidget->widget in sof_ipc4_dbg_module_audio_format()
[all...]
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()
540 comp_swidget = snd_sof_find_swidget(scomp, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
543 swidget->widget->name, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
570 swidget->widget->name, pipeline->period, pipeline->priority, in sof_ipc3_widget_setup_comp_pipeline()
616 swidget->widget->name, buffer->size, buffer->caps); in sof_ipc3_widget_setup_comp_buffer()
651 swidget->widget->name, src->source_rate, src->sink_rate); in sof_ipc3_widget_setup_comp_src()
692 swidget->widget->name, asrc->source_rate, asrc->sink_rate, in sof_ipc3_widget_setup_comp_asrc()
734 dev_dbg(scomp->dev, "loaded mux %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_mux()
[all …]
H A Dipc3-control.c553 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()
676 scontrol->comp_id, swidget->widget->name); in sof_ipc3_widget_kcontrol_setup()
693 scontrol->comp_id, swidget->widget->name); in sof_ipc3_widget_kcontrol_setup()
H A Dtopology.c1109 * Please create DAI widget in the right order in sof_connect_dai_widget()
1111 * widget. in sof_connect_dai_widget()
1125 dev_dbg(scomp->dev, "tplg: connected widget %s -> DAI link %s\n", in sof_connect_dai_widget()
1227 dev_err(scomp->dev, "No token list for widget %s\n", swidget->widget->name); in sof_widget_parse_tokens()
1240 /* parse token list for widget */ in sof_widget_parse_tokens()
1245 dev_err(scomp->dev, "Invalid token id %d for widget %s\n", in sof_widget_parse_tokens()
1246 object_token_list[i], swidget->widget->name); in sof_widget_parse_tokens()
1259 dev_err(scomp->dev, "Failed parsing %s for widget %s\n", in sof_widget_parse_tokens()
1261 swidget->widget in sof_widget_parse_tokens()
1635 struct snd_soc_dapm_widget *widget; sof_widget_unload() local
[all...]
H A Dipc4-control.c670 struct snd_soc_dapm_widget *widget; in sof_ipc4_control_update() local
734 __func__, swidget->widget->name, ndata->event_id & 0xffff, in sof_ipc4_control_update()
774 widget = swidget->widget; in sof_ipc4_control_update()
775 for (i = 0; i < widget->num_kcontrols; i++) { in sof_ipc4_control_update()
777 if (widget->dobj.widget.kcontrol_type[i] == type && in sof_ipc4_control_update()
778 widget->kcontrol_news[i].index == cdata->index) { in sof_ipc4_control_update()
779 kc = widget->kcontrols[i]; in sof_ipc4_control_update()
821 scontrol->comp_id, swidget->widget->name); in sof_ipc4_widget_kcontrol_setup()
/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(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/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/
H A Dsoc-topology.c157 /* mapping of widget types from UAPI IDs to kernel IDs */
255 /* optionally pass new dynamic widget to component driver. This is mainly for
267 /* optionally pass new dynamic widget to component driver. This is mainly for
373 /* remove a widget and it's kcontrols - routes must be removed first */
394 /* widget w is freed by soc-dapm.c */ in soc_tplg_remove_widget()
1101 struct snd_soc_dapm_widget template, *widget; in soc_tplg_dapm_widget_create() local
1119 dev_dbg(tplg->dev, "ASoC: creating DAPM widget %s id %d\n", in soc_tplg_dapm_widget_create()
1124 /* map user to kernel widget ID */ in soc_tplg_dapm_widget_create()
1129 /* strings are allocated here, but used and freed by the widget */ in soc_tplg_dapm_widget_create()
1154 goto widget; in soc_tplg_dapm_widget_create()
1267 struct snd_soc_tplg_dapm_widget *widget = (struct snd_soc_tplg_dapm_widget *) tplg->pos; soc_tplg_dapm_widget_elems_load() local
[all...]
H A Dsoc-pcm.c1416 /* get BE for DAI widget and stream */ in dpcm_get_be()
1418 struct snd_soc_dapm_widget *widget, int stream) in dpcm_get_be()
1425 dev_dbg(card->dev, "ASoC: find BE for widget %s\n", widget->name); in dpcm_get_be()
1441 if (w == widget) in widget_in_list()
1451 struct snd_soc_dapm_widget *widget)
1457 if (widget == w) in dpcm_end_walk_at_be()
1464 bool dpcm_end_walk_at_be(struct snd_soc_dapm_widget *widget, enum snd_soc_dapm_direction dir) in dpcm_end_walk_at_be()
1466 struct snd_soc_card *card = snd_soc_dapm_to_card(widget->dapm); in dpcm_end_walk_at_be()
1476 rtd = dpcm_get_be(card, widget, strea in dpcm_path_get()
1406 dpcm_get_be(struct snd_soc_card * card,struct snd_soc_dapm_widget * widget,int stream) dpcm_get_be() argument
1439 widget_in_list(struct snd_soc_dapm_widget_list * list,struct snd_soc_dapm_widget * widget) widget_in_list() argument
1452 dpcm_end_walk_at_be(struct snd_soc_dapm_widget * widget,enum snd_soc_dapm_direction dir) dpcm_end_walk_at_be() argument
1510 struct snd_soc_dapm_widget *widget = snd_soc_dai_get_widget(dai, stream); dpcm_be_is_active() local
1552 struct snd_soc_dapm_widget *widget; dpcm_add_paths() local
[all...]
/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/include/trace/events/
H A Dasoc.h112 TP_printk("widget=%s val=%d", __get_str(name),
167 TP_PROTO(struct snd_soc_dapm_widget *widget,
171 TP_ARGS(widget, dir, path),
174 __string( wname, widget->name )
H A Dsof.h22 __string(name, swidget->widget->name)
/linux/sound/soc/codecs/
H A Darizona.h209 #define ARIZONA_MUX_ROUTES(widget, name) \ argument
210 { widget, NULL, name " Input" }, \
213 #define ARIZONA_MIXER_ROUTES(widget, name) \ argument
214 { widget, NULL, name " Mixer" }, \
H A Dlpass-tx-macro.c755 struct snd_soc_dapm_widget *widget, in tx_macro_update_smic_sel_v9() argument
777 struct snd_soc_dapm_widget *widget, in tx_macro_update_smic_sel_v9_2() argument
784 if (widget->shift) { in tx_macro_update_smic_sel_v9_2()
803 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); in tx_macro_put_dec_enum() local
804 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in tx_macro_put_dec_enum()
845 if (widget->shift) /* MSM DMIC */ in tx_macro_put_dec_enum()
849 tx_macro_update_smic_sel_v9(component, widget, tx, in tx_macro_put_dec_enum()
852 tx_macro_update_smic_sel_v9_2(component, widget, tx, in tx_macro_put_dec_enum()
862 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); in tx_macro_tx_mixer_get() local
863 struct snd_soc_component *component = snd_soc_dapm_to_component(widget in tx_macro_tx_mixer_get()
880 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); tx_macro_tx_mixer_put() local
[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 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-wsa-macro.c1938 dev_warn(component->dev, "Incorrect widget name in the driver\n"); in wsa_macro_enable_interpolator()
2086 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); in wsa_macro_enable_echo()
2088 snd_soc_dapm_to_component(widget->dapm); in wsa_macro_enable_echo()
2092 wsa->rx_port_value[widget->shift]; in wsa_macro_enable_echo()
2099 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); in wsa_macro_enable_echo()
2101 snd_soc_dapm_to_component(widget->dapm); in wsa_macro_enable_echo()
2110 aif_rst = wsa->rx_port_value[widget->shift]; in wsa_macro_enable_echo()
2119 wsa->rx_port_value[widget->shift] = rx_port_value; in wsa_macro_get_ec_hq()
2121 bit_input = widget->shift; in wsa_macro_get_ec_hq()
2149 snd_soc_dapm_mux_update_power(widget in wsa_macro_get_compander()
2189 struct snd_soc_dapm_widget *widget = wsa_macro_rx_mux_get() local
2203 struct snd_soc_dapm_widget *widget = wsa_macro_rx_mux_put() local
2334 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); wsa_macro_vi_feed_mixer_get() local
2352 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); wsa_macro_vi_feed_mixer_put() local
[all...]
H A Dlpass-va-macro.c527 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); in va_macro_put_dec_enum() local
529 snd_soc_dapm_to_component(widget->dapm); in va_macro_put_dec_enum()
566 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); in va_macro_tx_mixer_get() local
568 snd_soc_dapm_to_component(widget->dapm); in va_macro_tx_mixer_get()
571 u32 dai_id = widget->shift; in va_macro_tx_mixer_get()
586 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); in va_macro_tx_mixer_put() local
588 snd_soc_dapm_to_component(widget->dapm); in va_macro_tx_mixer_put()
592 u32 dai_id = widget->shift; in va_macro_tx_mixer_put()
605 snd_soc_dapm_mixer_update_power(widget->dapm, kcontrol, enable, update); in va_macro_tx_mixer_put()
/linux/drivers/staging/greybus/
H A Daudio_helper.h12 const struct snd_soc_dapm_widget *widget,
/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

12