/linux-6.3-rc2/arch/mips/sgi-ip30/ |
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 54 IP30_SWIN_BASE(widget)); in bridge_platform_create() 57 w1_res.start = IP30_SWIN_BASE(widget) + in bridge_platform_create() 93 bd->bridge_addr = IP30_RAW_SWIN_BASE(widget); in bridge_platform_create() 99 bd->mem.start = IP30_SWIN_BASE(widget) + BRIDGE_DEVIO0; in bridge_platform_create() 102 bd->mem_offset = IP30_SWIN_BASE(widget); in bridge_platform_create() 105 bd->io.start = IP30_SWIN_BASE(widget) + BRIDGE_DEVIO0; in bridge_platform_create() 108 bd->io_offset = IP30_SWIN_BASE(widget); in bridge_platform_create() [all …]
|
/linux-6.3-rc2/arch/mips/sgi-ip27/ |
A D | ip27-xtalk.c | 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() 84 bd->bridge_addr = RAW_NODE_SWIN_BASE(nasid, widget); in bridge_platform_create() 91 bd->mem.end = offset + (widget << SWIN_SIZE_BITS) + SWIN_SIZE - 1; in bridge_platform_create() 97 bd->io.end = offset + (widget << SWIN_SIZE_BITS) + SWIN_SIZE - 1; in bridge_platform_create() 111 pr_info("xtalk:n%d/%x bridge widget\n", nasid, widget); in bridge_platform_create() 128 static int probe_one_port(nasid_t nasid, int widget, int masterwid) in probe_one_port() argument 134 (RAW_NODE_SWIN_BASE(nasid, widget) + WIDGET_ID); in probe_one_port() 140 bridge_platform_create(nasid, widget, masterwid); in probe_one_port() [all …]
|
A D | ip27-hubio.c | 30 unsigned long hub_pio_map(nasid_t nasid, xwidgetnum_t widget, in hub_pio_map() argument 37 return NODE_SWIN_BASE(nasid, widget) + (xtalk_addr % SWIN_SIZE); in hub_pio_map() 42 nasid, widget, xtalk_addr, size); in hub_pio_map() 66 IIO_ITTE_PUT(nasid, i, HUB_PIO_MAP_TO_MEM, widget, xtalk_addr); in hub_pio_map() 69 return NODE_BWIN_BASE(nasid, widget) + (xtalk_addr % BWIN_SIZE); in hub_pio_map() 74 nasid, widget, xtalk_addr); in hub_pio_map()
|
/linux-6.3-rc2/sound/soc/sof/ |
A D | sof-audio.c | 23 if (sroute->src_widget == widget || sroute->sink_widget == widget) { in sof_reset_route_setup_status() 64 swidget->core, swidget->widget->name); in sof_widget_free_unlocked() 141 swidget->widget->name); in sof_widget_setup_unlocked() 261 struct snd_soc_dapm_widget *widget; in sof_setup_pipeline_connections() local 274 if (!widget->dobj.private) in sof_setup_pipeline_connections() 290 if (!widget->dobj.private) in sof_setup_pipeline_connections() 410 if (widget->dobj.private) { in sof_free_widgets_in_path() 505 struct snd_soc_dapm_widget *widget; in sof_walk_widgets_in_order() local 571 struct snd_soc_dapm_widget *widget; in sof_widget_list_setup() local 616 swidget->widget->name); in sof_widget_list_setup() [all …]
|
A D | ipc4-topology.c | 370 swidget->widget->name); in sof_ipc4_widget_setup_pcm() 486 swidget->widget->name); in sof_ipc4_widget_setup_comp_dai() 529 if (w->widget->sname && in sof_ipc4_widget_setup_comp_dai() 530 strcmp(w->widget->sname, swidget->widget->sname)) in sof_ipc4_widget_setup_comp_dai() 872 swidget->widget->name); in sof_ipc4_widget_assign_instance_id() 1273 if (w->widget->sname && in sof_ipc4_prepare_copier_module() 1274 strcmp(w->widget->sname, swidget->widget->sname)) in sof_ipc4_prepare_copier_module() 1590 swidget->widget->name); in sof_ipc4_widget_setup() 1649 swidget->widget->name); in sof_ipc4_widget_free() 1808 src_widget->widget->name); in sof_ipc4_route_setup() [all …]
|
A D | ipc3-topology.c | 516 swidget->widget->name, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline() 788 switch (widget->dobj.widget.kcontrol_type[i]) { in sof_get_control_data() 803 widget->dobj.widget.kcontrol_type[i], widget->name); in sof_get_control_data() 814 if (widget->dobj.widget.kcontrol_type[i] == SND_SOC_TPLG_TYPE_BYTES) { in sof_get_control_data() 857 struct snd_soc_dapm_widget *widget = swidget->widget; in sof_process_load() local 1646 sroute->src_widget->widget->name, sroute->sink_widget->widget->name); in sof_ipc3_route_setup() 1848 swidget->widget->name); in sof_ipc3_keyword_detect_pcm_params() 1896 swidget->widget->name); in sof_ipc3_keyword_dapm_event() 1920 swidget->widget->name); in sof_ipc3_keyword_dapm_event() 1933 swidget->widget->name); in sof_ipc3_keyword_dapm_event() [all …]
|
A D | ipc3-control.c | 545 struct snd_soc_dapm_widget *widget; in sof_ipc3_control_update() local 590 widget = swidget->widget; in sof_ipc3_control_update() 591 for (i = 0; i < widget->num_kcontrols; i++) { in sof_ipc3_control_update() 593 if (widget->dobj.widget.kcontrol_type[i] == type && in sof_ipc3_control_update() 594 widget->kcontrol_news[i].index == cdata->index) { in sof_ipc3_control_update() 595 kc = widget->kcontrols[i]; in sof_ipc3_control_update() 668 scontrol->comp_id, swidget->widget->name); in sof_ipc3_widget_kcontrol_setup() 685 scontrol->comp_id, swidget->widget->name); in sof_ipc3_widget_kcontrol_setup()
|
A D | topology.c | 1228 swidget->widget->name); in sof_widget_parse_tokens() 1242 swidget->widget->name); in sof_widget_parse_tokens() 1375 swidget->widget = w; in sof_widget_ready() 1520 swidget->widget->name); in sof_widget_ready() 1575 struct snd_soc_dapm_widget *widget; in sof_widget_unload() local 1588 widget = swidget->widget; in sof_widget_unload() 1598 sof_disconnect_dai_widget(scomp, widget); in sof_widget_unload() 1614 kc = &widget->kcontrol_news[i]; in sof_widget_unload() 1615 switch (widget->dobj.widget.kcontrol_type[i]) { in sof_widget_unload() 2106 swidget->widget->name); in sof_set_widget_pipeline() [all …]
|
/linux-6.3-rc2/drivers/staging/greybus/ |
A D | audio_topology.c | 117 struct gbaudio_widget *widget; in gbaudio_map_widgetname() local 121 return widget->id; in gbaudio_map_widgetname() 131 struct gbaudio_widget *widget; in gbaudio_map_widgetid() local 134 if (widget->id == widget_id) in gbaudio_map_widgetid() 135 return widget->name; in gbaudio_map_widgetid() 403 dev_warn(widget->dapm->dev, in gbcodec_mixer_dapm_ctl_get() 453 dev_warn(widget->dapm->dev, in gbcodec_mixer_dapm_ctl_put() 1248 if (!widget) { in gbaudio_tplg_process_widgets() 1252 widget->id = curr->id; in gbaudio_tplg_process_widgets() 1264 list_del(&widget->list); in gbaudio_tplg_process_widgets() [all …]
|
A D | audio_helper.c | 113 const struct snd_soc_dapm_widget *widget, in gbaudio_dapm_free_controls() argument 125 !strcmp(tmp_w->name, widget->name)) { in gbaudio_dapm_free_controls() 132 widget->name); in gbaudio_dapm_free_controls() 133 widget++; in gbaudio_dapm_free_controls() 136 widget++; in gbaudio_dapm_free_controls()
|
/linux-6.3-rc2/Documentation/sound/soc/ |
A D | dapm.rst | 67 A programmable gain amplifier or attenuation widget. 87 Power or clock supply widget used by other widgets. 105 Special PRE widget (exec before all others) 107 Special POST widget (exec after all others) 109 Inter widget audio data buffer within a DSP. 177 e.g. Mixer widget (the kcontrols are declared first) 207 A machine widget can have an optional call back. 234 a virtual widget - a widget with no control bits e.g. 355 #define SND_SOC_DAPM_PRE_PMU 0x1 /* before widget power up */ 356 #define SND_SOC_DAPM_POST_PMU 0x2 /* after widget power up */ [all …]
|
A D | codec-to-codec.rst | 92 In dapm core a route is created between cpu_dai playback widget 93 and codec_dai capture widget for playback path and vice-versa is 96 a sink or source widget corresponding to playback and capture path 99 In order to trigger this dai_link widget, a thin codec driver for
|
/linux-6.3-rc2/arch/mips/include/asm/sn/sn0/ |
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-6.3-rc2/sound/soc/ |
A D | soc-dapm.c | 42 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++; argument 402 data->widget = in dapm_kcontrol_data_alloc() 445 snd_soc_dapm_add_path(widget->dapm, data->widget, in dapm_kcontrol_data_alloc() 520 if (!data->widget) in dapm_kcontrol_is_powered() 554 if (data->widget) { in dapm_kcontrol_set_value() 559 data->widget->on_val = value & data->widget->mask; in dapm_kcontrol_set_value() 563 data->widget->on_val = value >> data->widget->shift; in dapm_kcontrol_set_value() 1000 if (data->widget) in dapm_new_mixer() 1115 widget->name); in snd_soc_dapm_suspend_check() 1212 widget->endpoints[dir] = snd_soc_dapm_suspend_check(widget); in is_connected_ep() [all …]
|
A D | soc-topology.c | 1367 goto widget; in soc_tplg_dapm_widget_create() 1436 widget: in soc_tplg_dapm_widget_create() 1447 if (IS_ERR(widget)) { in soc_tplg_dapm_widget_create() 1448 ret = PTR_ERR(widget); in soc_tplg_dapm_widget_create() 1452 widget->dobj.type = SND_SOC_DOBJ_WIDGET; in soc_tplg_dapm_widget_create() 1453 widget->dobj.widget.kcontrol_type = kcontrol_type; in soc_tplg_dapm_widget_create() 1456 widget->dobj.index = tplg->index; in soc_tplg_dapm_widget_create() 1469 soc_tplg_remove_widget(widget->dapm->component, &widget->dobj, SOC_TPLG_PASS_WIDGET); in soc_tplg_dapm_widget_create() 1470 snd_soc_dapm_free_widget(widget); in soc_tplg_dapm_widget_create() 1502 if (le32_to_cpu(widget->size) != sizeof(*widget)) { in soc_tplg_dapm_widget_elems_load() [all …]
|
/linux-6.3-rc2/include/sound/ |
A D | soc-dai.h | 428 struct snd_soc_dapm_widget *widget; member 484 return dai->stream[stream].widget; in snd_soc_dai_get_widget() 487 …fine snd_soc_dai_set_widget_playback(dai, widget) snd_soc_dai_set_widget(dai, SNDRV_PCM_STREAM_PLA… argument 488 …fine snd_soc_dai_set_widget_capture(dai, widget) snd_soc_dai_set_widget(dai, SNDRV_PCM_STREAM_CAP… argument 490 void snd_soc_dai_set_widget(struct snd_soc_dai *dai, int stream, struct snd_soc_dapm_widget *widget) in snd_soc_dai_set_widget() argument 492 dai->stream[stream].widget = widget; in snd_soc_dai_set_widget()
|
A D | soc-dpcm.h | 164 bool dpcm_end_walk_at_be(struct snd_soc_dapm_widget *widget, enum snd_soc_dapm_direction dir); 166 struct snd_soc_dapm_widget *widget);
|
/linux-6.3-rc2/sound/soc/mediatek/common/ |
A D | mtk-dsp-sof-common.c | 114 struct snd_soc_dapm_widget *widget = snd_soc_dai_get_widget(cpu_dai, conn->stream_dir); in mtk_sof_card_late_probe() local 117 if (conn->stream_dir == SNDRV_PCM_STREAM_CAPTURE && widget) { in mtk_sof_card_late_probe() 118 snd_soc_dapm_widget_for_each_sink_path(widget, p) { in mtk_sof_card_late_probe() 123 } else if (conn->stream_dir == SNDRV_PCM_STREAM_PLAYBACK && widget) { in mtk_sof_card_late_probe() 124 snd_soc_dapm_widget_for_each_source_path(widget, p) { in mtk_sof_card_late_probe()
|
/linux-6.3-rc2/scripts/kconfig/ |
A D | gconf.c | 129 GtkWidget *widget; in init_main_window() local 148 widget = glade_xml_get_widget(xml, "show_name1"); in init_main_window() 156 widget = glade_xml_get_widget(xml, "show_data1"); in init_main_window() 165 widget = glade_xml_get_widget(xml, "toolbar1"); in init_main_window() 463 on_window1_size_request(GtkWidget * widget, in on_window1_size_request() argument 469 if (widget->window == NULL) in on_window1_size_request() 472 gdk_window_get_size(widget->window, &w, &h); in on_window1_size_request() 879 GtkTreeView *view = GTK_TREE_VIEW(widget); in on_treeview2_button_press_event() 936 GtkTreeView *view = GTK_TREE_VIEW(widget); in on_treeview2_key_press_event() 956 if (widget == tree1_w) in on_treeview2_key_press_event() [all …]
|
/linux-6.3-rc2/arch/mips/include/asm/sn/ |
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-6.3-rc2/Documentation/devicetree/bindings/sound/ |
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.
|
A D | amlogic,gx-sound-card.yaml | 33 A list off component DAPM widget. Each entry is a pair of strings, 34 the first being the widget type, the second being the widget name
|
/linux-6.3-rc2/include/trace/events/ |
A D | asoc.h | 159 TP_PROTO(struct snd_soc_dapm_widget *widget, 163 TP_ARGS(widget, dir, path), 166 __string( wname, widget->name ) 175 __assign_str(wname, widget->name);
|
A D | sof.h | 22 __string(name, swidget->widget->name) 26 __assign_str(name, swidget->widget->name);
|
/linux-6.3-rc2/sound/soc/codecs/ |
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" }, \
|