/Linux-v6.6/arch/mips/sgi-ip30/ |
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-v6.6/arch/mips/sgi-ip27/ |
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 …]
|
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-v6.6/sound/soc/sof/ |
D | sof-audio.c | 17 static bool is_virtual_widget(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in is_virtual_widget() argument 20 switch (widget->id) { in is_virtual_widget() 24 dev_dbg(sdev->dev, "%s: %s is a virtual widget\n", func, widget->name); in is_virtual_widget() 31 static void sof_reset_route_setup_status(struct snd_sof_dev *sdev, struct snd_sof_widget *widget) in sof_reset_route_setup_status() argument 37 if (sroute->src_widget == widget || sroute->sink_widget == widget) { in sof_reset_route_setup_status() 78 swidget->widget->name); in sof_widget_free_unlocked() 96 swidget->core, swidget->widget->name); in sof_widget_free_unlocked() 116 dev_dbg(sdev->dev, "widget %s freed\n", swidget->widget->name); in sof_widget_free_unlocked() 159 dev_err(sdev->dev, "No pipeline set for %s\n", swidget->widget->name); in sof_widget_setup_unlocked() 173 swidget->widget->name); in sof_widget_setup_unlocked() [all …]
|
D | ipc4-topology.c | 254 swidget->widget->name, ret); in sof_ipc4_get_audio_fmt() 258 dev_dbg(scomp->dev, "widget %s: is_pages: %d\n", swidget->widget->name, in sof_ipc4_get_audio_fmt() 277 dev_dbg(scomp->dev, "Input audio formats for %s\n", swidget->widget->name); in sof_ipc4_get_audio_fmt() 300 dev_dbg(scomp->dev, "Output audio formats for %s\n", swidget->widget->name); in sof_ipc4_get_audio_fmt() 341 swidget->widget->name, &swidget->uuid); in sof_ipc4_widget_set_module_info() 403 dev_dbg(scomp->dev, "Updating IPC structure for %s\n", swidget->widget->name); in sof_ipc4_widget_setup_pcm() 426 dev_dbg(scomp->dev, "host copier '%s' node_type %u\n", swidget->widget->name, node_type); in sof_ipc4_widget_setup_pcm() 503 dev_dbg(scomp->dev, "Updating IPC structure for %s\n", swidget->widget->name); in sof_ipc4_widget_setup_comp_dai() 526 dev_dbg(scomp->dev, "dai %s node_type %u dai_type %u dai_index %d\n", swidget->widget->name, in sof_ipc4_widget_setup_comp_dai() 550 snd_soc_dapm_widget_for_each_source_path(swidget->widget, p) in sof_ipc4_widget_setup_comp_dai() [all …]
|
D | ipc3-topology.c | 410 dev_dbg(scomp->dev, "loaded host %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_host() 453 swidget->widget->name, tone->frequency, tone->amplitude); in sof_ipc3_widget_setup_comp_tone() 487 dev_dbg(scomp->dev, "loaded mixer %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_mixer() 513 comp_swidget = snd_sof_find_swidget(scomp, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline() 516 swidget->widget->name, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline() 543 swidget->widget->name, pipeline->period, pipeline->priority, in sof_ipc3_widget_setup_comp_pipeline() 588 swidget->widget->name, buffer->size, buffer->caps); in sof_ipc3_widget_setup_comp_buffer() 623 swidget->widget->name, src->source_rate, src->sink_rate); in sof_ipc3_widget_setup_comp_src() 664 swidget->widget->name, asrc->source_rate, asrc->sink_rate, in sof_ipc3_widget_setup_comp_asrc() 706 dev_dbg(scomp->dev, "loaded mux %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_mux() [all …]
|
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()
|
D | topology.c | 1203 dev_err(scomp->dev, "No token list for widget %s\n", swidget->widget->name); in sof_widget_parse_tokens() 1222 object_token_list[i], swidget->widget->name); in sof_widget_parse_tokens() 1237 swidget->widget->name); in sof_widget_parse_tokens() 1247 swidget->widget->name); in sof_widget_parse_tokens() 1257 swidget->widget->name); in sof_widget_parse_tokens() 1286 token_list[object_token_list[i]].name, swidget->widget->name, ret); in sof_widget_parse_tokens() 1404 swidget->widget = w; in sof_widget_ready() 1434 swidget->widget->name, swidget->num_input_pins, swidget->num_output_pins); in sof_widget_ready() 1465 widget_ops = tplg_ops ? tplg_ops->widget : NULL; in sof_widget_ready() 1556 swidget->widget->name); in sof_widget_ready() [all …]
|
/Linux-v6.6/drivers/staging/greybus/ |
D | audio_topology.c | 116 struct gbaudio_widget *widget; in gbaudio_map_widgetname() local 118 list_for_each_entry(widget, &module->widget_list, list) { in gbaudio_map_widgetname() 119 if (!strncmp(widget->name, name, NAME_SIZE)) in gbaudio_map_widgetname() 120 return widget->id; in gbaudio_map_widgetname() 130 struct gbaudio_widget *widget; in gbaudio_map_widgetid() local 132 list_for_each_entry(widget, &module->widget_list, list) { in gbaudio_map_widgetid() 133 if (widget->id == widget_id) in gbaudio_map_widgetid() 134 return widget->name; in gbaudio_map_widgetid() 388 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_get() local 389 struct device *codec_dev = widget->dapm->dev; in gbcodec_mixer_dapm_ctl_get() [all …]
|
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-v6.6/Documentation/sound/soc/ |
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. 175 Any widget kcontrols can be set using the controls and num_controls members. 177 e.g. Mixer widget (the kcontrols are declared first) 190 If you don't want the mixer elements prefixed with the name of the mixer widget, 199 codec register bit associated with them. A machine widget is assigned to each 207 A machine widget can have an optional call back. [all …]
|
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-v6.6/sound/soc/ |
D | soc-dapm.c | 42 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++; argument 59 const struct snd_soc_dapm_widget *widget); 63 const struct snd_soc_dapm_widget *widget); 347 struct snd_soc_dapm_widget *widget; member 352 static int dapm_kcontrol_data_alloc(struct snd_soc_dapm_widget *widget, in dapm_kcontrol_data_alloc() argument 367 switch (widget->id) { in dapm_kcontrol_data_alloc() 377 dev_warn(widget->dapm->dev, in dapm_kcontrol_data_alloc() 402 data->widget = in dapm_kcontrol_data_alloc() 403 snd_soc_dapm_new_control_unlocked(widget->dapm, in dapm_kcontrol_data_alloc() 406 if (IS_ERR(data->widget)) { in dapm_kcontrol_data_alloc() [all …]
|
D | soc-topology.c | 1297 struct snd_soc_dapm_widget template, *widget; in soc_tplg_dapm_widget_create() local 1350 goto widget; in soc_tplg_dapm_widget_create() 1419 widget: in soc_tplg_dapm_widget_create() 1427 widget = snd_soc_dapm_new_control(dapm, &template); in soc_tplg_dapm_widget_create() 1429 widget = snd_soc_dapm_new_control_unlocked(dapm, &template); in soc_tplg_dapm_widget_create() 1430 if (IS_ERR(widget)) { in soc_tplg_dapm_widget_create() 1431 ret = PTR_ERR(widget); in soc_tplg_dapm_widget_create() 1435 widget->dobj.type = SND_SOC_DOBJ_WIDGET; in soc_tplg_dapm_widget_create() 1436 widget->dobj.widget.kcontrol_type = kcontrol_type; in soc_tplg_dapm_widget_create() 1438 widget->dobj.unload = tplg->ops->widget_unload; in soc_tplg_dapm_widget_create() [all …]
|
/Linux-v6.6/arch/mips/include/asm/sn/sn0/ |
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-v6.6/include/sound/ |
D | soc-dai.h | 431 struct snd_soc_dapm_widget *widget; member 487 return dai->stream[stream].widget; in snd_soc_dai_get_widget() 490 …fine snd_soc_dai_set_widget_playback(dai, widget) snd_soc_dai_set_widget(dai, SNDRV_PCM_STREAM_PLA… argument 491 …fine snd_soc_dai_set_widget_capture(dai, widget) snd_soc_dai_set_widget(dai, SNDRV_PCM_STREAM_CAP… argument 493 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 495 dai->stream[stream].widget = widget; in snd_soc_dai_set_widget()
|
D | soc-dpcm.h | 167 bool dpcm_end_walk_at_be(struct snd_soc_dapm_widget *widget, enum snd_soc_dapm_direction dir); 169 struct snd_soc_dapm_widget *widget);
|
/Linux-v6.6/sound/soc/mediatek/common/ |
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-v6.6/scripts/kconfig/ |
D | gconf.c | 129 GtkWidget *widget; in init_main_window() local 148 widget = glade_xml_get_widget(xml, "show_name1"); in init_main_window() 149 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, in init_main_window() 152 widget = glade_xml_get_widget(xml, "show_range1"); in init_main_window() 153 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, in init_main_window() 156 widget = glade_xml_get_widget(xml, "show_data1"); in init_main_window() 157 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, in init_main_window() 165 widget = glade_xml_get_widget(xml, "toolbar1"); in init_main_window() 411 gboolean on_window1_delete_event(GtkWidget * widget, GdkEvent * event, in on_window1_delete_event() argument 463 on_window1_size_request(GtkWidget * widget, in on_window1_size_request() argument [all …]
|
/Linux-v6.6/arch/mips/include/asm/sn/ |
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-v6.6/Documentation/devicetree/bindings/sound/ |
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-v6.6/include/trace/events/ |
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);
|
D | sof.h | 22 __string(name, swidget->widget->name) 26 __assign_str(name, swidget->widget->name);
|
/Linux-v6.6/sound/soc/codecs/ |
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" }, \
|
D | lpass-wsa-macro.c | 1834 struct snd_soc_dapm_widget *widget = in wsa_macro_rx_mux_get() local 1837 snd_soc_dapm_to_component(widget->dapm); in wsa_macro_rx_mux_get() 1841 wsa->rx_port_value[widget->shift]; in wsa_macro_rx_mux_get() 1848 struct snd_soc_dapm_widget *widget = in wsa_macro_rx_mux_put() local 1851 snd_soc_dapm_to_component(widget->dapm); in wsa_macro_rx_mux_put() 1859 aif_rst = wsa->rx_port_value[widget->shift]; in wsa_macro_rx_mux_put() 1868 wsa->rx_port_value[widget->shift] = rx_port_value; in wsa_macro_rx_mux_put() 1870 bit_input = widget->shift; in wsa_macro_rx_mux_put() 1893 snd_soc_dapm_mux_update_power(widget->dapm, kcontrol, in wsa_macro_rx_mux_put() 1973 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in wsa_macro_vi_feed_mixer_get() local [all …]
|