| /linux/arch/mips/sgi-ip30/ |
| H A D | ip30-xtalk.c | 18 #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 D | ip27-xtalk.c | 26 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 D | sdca_asoc.c | 250 struct snd_soc_dapm_widget **widget, in entity_parse_simple() argument 256 (*widget)->id = id; in entity_parse_simple() 257 (*widget)++; in entity_parse_simple() 268 struct snd_soc_dapm_widget **widget, in entity_parse_it() argument 279 (*widget)->id = snd_soc_dapm_aif_in; in entity_parse_it() 283 (*widget)->id = snd_soc_dapm_mic; in entity_parse_it() 292 (*widget)++; in entity_parse_it() 300 struct snd_soc_dapm_widget **widget, in entity_parse_ot() argument 311 (*widget)->id = snd_soc_dapm_aif_out; in entity_parse_ot() 315 (*widget)->id = snd_soc_dapm_spk; in entity_parse_ot() [all …]
|
| /linux/scripts/kconfig/ |
| H A D | gconf.c | 582 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/sof/ |
| H A D | ipc4-topology.c | 276 swidget->widget->name); in sof_ipc4_dbg_module_audio_format() 280 out_fmt_index, swidget->widget->name); in sof_ipc4_dbg_module_audio_format() 289 swidget->widget->name); in sof_ipc4_dbg_module_audio_format() 293 out_fmt_index, swidget->widget->name); in sof_ipc4_dbg_module_audio_format() 318 swidget->widget->name); in sof_ipc4_dbg_module_audio_format() 322 in_fmt_index, out_fmt_index, swidget->widget->name); in sof_ipc4_dbg_module_audio_format() 333 swidget->widget->name); in sof_ipc4_dbg_module_audio_format() 336 in_fmt_index, swidget->widget->name); in sof_ipc4_dbg_module_audio_format() 343 swidget->widget->name); in sof_ipc4_dbg_module_audio_format() 346 out_fmt_index, swidget->widget->name); in sof_ipc4_dbg_module_audio_format() [all …]
|
| H A D | ipc3-topology.c | 436 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 D | ipc3-control.c | 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() 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 D | topology.c | 1227 dev_err(scomp->dev, "No token list for widget %s\n", swidget->widget->name); in sof_widget_parse_tokens() 1246 object_token_list[i], swidget->widget->name); in sof_widget_parse_tokens() 1261 swidget->widget->name); in sof_widget_parse_tokens() 1271 swidget->widget->name); in sof_widget_parse_tokens() 1281 swidget->widget->name); in sof_widget_parse_tokens() 1310 token_list[object_token_list[i]].name, swidget->widget->name, ret); in sof_widget_parse_tokens() 1428 swidget->widget = w; in sof_widget_ready() 1458 swidget->widget->name, swidget->num_input_pins, swidget->num_output_pins); in sof_widget_ready() 1489 widget_ops = tplg_ops ? tplg_ops->widget : NULL; in sof_widget_ready() 1579 swidget->widget->name); in sof_widget_ready() [all …]
|
| H A D | ipc4-control.c | 27 /* 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() 411 /* find widget associated with the control */ in sof_ipc4_set_get_bytes_data() 420 dev_err(scomp->dev, "Failed to find widget for kcontrol %s\n", scontrol->name); in sof_ipc4_set_get_bytes_data() 470 /* find widget associated with the control */ in sof_ipc4_bytes_get() 479 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/sound/soc/ |
| H A D | soc-dapm.c | 64 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++; argument 385 struct snd_soc_dapm_widget *widget; member 706 static int dapm_kcontrol_data_alloc(struct snd_soc_dapm_widget *widget, in dapm_kcontrol_data_alloc() argument 709 struct device *dev = snd_soc_dapm_to_dev(widget->dapm); in dapm_kcontrol_data_alloc() 722 switch (widget->id) { in dapm_kcontrol_data_alloc() 757 data->widget = in dapm_kcontrol_data_alloc() 758 snd_soc_dapm_new_control_unlocked(widget->dapm, in dapm_kcontrol_data_alloc() 761 if (IS_ERR(data->widget)) { in dapm_kcontrol_data_alloc() 762 ret = PTR_ERR(data->widget); in dapm_kcontrol_data_alloc() 792 data->widget = snd_soc_dapm_new_control_unlocked( in dapm_kcontrol_data_alloc() [all …]
|
| H A D | soc-topology.c | 157 /* 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 D | soc-pcm.c | 1418 struct snd_soc_dapm_widget *widget, int stream) in dpcm_get_be() argument 1425 dev_dbg(card->dev, "ASoC: find BE for widget %s\n", widget->name); in dpcm_get_be() 1441 if (w == widget) in dpcm_get_be() 1451 struct snd_soc_dapm_widget *widget) in widget_in_list() argument 1457 if (widget == w) in widget_in_list() 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() argument 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, stream); in dpcm_end_walk_at_be() 1522 struct snd_soc_dapm_widget *widget = snd_soc_dai_get_widget(dai, stream); in dpcm_be_is_active() local 1528 if (widget && widget_in_list(list, widget)) in dpcm_be_is_active() [all …]
|
| /linux/arch/mips/include/asm/sn/sn0/ |
| H A D | addrs.h | 89 #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 D | scrub.h | 36 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 D | mtk-dsp-sof-common.c | 201 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 D | io.h | 36 #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 D | widgets.txt | 9 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 D | asoc.h | 112 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 D | sof.h | 22 __string(name, swidget->widget->name)
|
| /linux/sound/soc/codecs/ |
| H A D | arizona.h | 209 #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 D | lpass-tx-macro.c | 755 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 D | cs48l32.h | 136 #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 D | lpass-wsa-macro.c | 2086 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); in wsa_macro_rx_mux_get() local 2088 snd_soc_dapm_to_component(widget->dapm); in wsa_macro_rx_mux_get() 2092 wsa->rx_port_value[widget->shift]; in wsa_macro_rx_mux_get() 2099 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); in wsa_macro_rx_mux_put() local 2101 snd_soc_dapm_to_component(widget->dapm); in wsa_macro_rx_mux_put() 2110 aif_rst = wsa->rx_port_value[widget->shift]; in wsa_macro_rx_mux_put() 2119 wsa->rx_port_value[widget->shift] = rx_port_value; in wsa_macro_rx_mux_put() 2121 bit_input = widget->shift; in wsa_macro_rx_mux_put() 2149 snd_soc_dapm_mux_update_power(widget->dapm, kcontrol, in wsa_macro_rx_mux_put() 2233 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kcontrol); in wsa_macro_vi_feed_mixer_get() local [all …]
|
| H A D | madera.h | 256 #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 D | lpass-va-macro.c | 527 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()
|