/linux/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 51 IP30_SWIN_BASE(widget)); in bridge_platform_create() 54 w1_res.start = IP30_SWIN_BASE(widget) + in bridge_platform_create() 77 bd->bridge_addr = IP30_RAW_SWIN_BASE(widget); in bridge_platform_create() 83 bd->mem.start = IP30_SWIN_BASE(widget) + BRIDGE_DEVIO0; in bridge_platform_create() 86 bd->mem_offset = IP30_SWIN_BASE(widget); in bridge_platform_create() 89 bd->io.start = IP30_SWIN_BASE(widget) + BRIDGE_DEVIO0; in bridge_platform_create() 92 bd->io_offset = IP30_SWIN_BASE(widget); in bridge_platform_create() [all …]
|
/linux/sound/soc/sof/ |
A D | sof-audio.c | 82 swidget->widget->name); in sof_widget_kcontrol_setup() 95 if (sroute->src_widget == widget || sroute->sink_widget == widget) in sof_reset_route_setup_status() 168 ret, swidget->widget->name); in sof_widget_setup() 192 swidget->widget->name); in sof_widget_setup() 199 swidget->widget->name); in sof_widget_setup() 223 swidget->widget->name); in sof_widget_setup() 255 sroute->src_widget->widget->name, in sof_route_setup_ipc() 332 if (!widget->dobj.private) in sof_setup_pipeline_connections() 344 if (!widget->dobj.private) in sof_setup_pipeline_connections() 387 swidget->widget->name); in sof_widget_list_setup() [all …]
|
A D | topology.c | 74 swidget->widget->name); in ipc_pcm_params() 112 swidget->widget->name); in ipc_pcm_params() 2104 switch (widget->dobj.widget.kcontrol_type[i]) { in sof_get_control_data() 2119 widget->dobj.widget.kcontrol_type[i], in sof_get_control_data() 2120 widget->name); in sof_get_control_data() 2126 widget->name); in sof_get_control_data() 2135 if (widget->dobj.widget.kcontrol_type[i] == SND_SOC_TPLG_TYPE_BYTES && in sof_get_control_data() 2166 struct snd_soc_dapm_widget *widget = swidget->widget; in sof_process_load() local 2339 swidget->widget = w; in sof_widget_ready() 2505 widget = swidget->widget; in sof_widget_unload() [all …]
|
A D | control.c | 592 struct snd_soc_dapm_widget *widget; in snd_sof_control_notify() local 631 widget = swidget->widget; in snd_sof_control_notify() 632 for (i = 0; i < widget->num_kcontrols; i++) { in snd_sof_control_notify() 634 if (widget->dobj.widget.kcontrol_type[i] == type && in snd_sof_control_notify() 635 widget->kcontrol_news[i].index == cdata->index) { in snd_sof_control_notify() 636 kc = widget->kcontrols[i]; in snd_sof_control_notify()
|
/linux/arch/mips/sgi-ip27/ |
A D | ip27-xtalk.c | 41 offset + (widget << SWIN_SIZE_BITS)); in bridge_platform_create() 44 w1_res.start = offset + (widget << SWIN_SIZE_BITS) + in bridge_platform_create() 68 bd->bridge_addr = RAW_NODE_SWIN_BASE(nasid, widget); in bridge_platform_create() 75 bd->mem.end = offset + (widget << SWIN_SIZE_BITS) + SWIN_SIZE - 1; in bridge_platform_create() 80 bd->io.start = offset + (widget << SWIN_SIZE_BITS) + BRIDGE_DEVIO0; in bridge_platform_create() 81 bd->io.end = offset + (widget << SWIN_SIZE_BITS) + SWIN_SIZE - 1; in bridge_platform_create() 87 pr_info("xtalk:n%d/%x bridge widget\n", nasid, widget); in bridge_platform_create() 94 static int probe_one_port(nasid_t nasid, int widget, int masterwid) in probe_one_port() argument 100 (RAW_NODE_SWIN_BASE(nasid, widget) + WIDGET_ID); in probe_one_port() 106 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/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() 400 dev_warn(widget->dapm->dev, in gbcodec_mixer_dapm_ctl_get() 450 dev_warn(widget->dapm->dev, in gbcodec_mixer_dapm_ctl_put() 1235 if (!widget) { in gbaudio_tplg_process_widgets() 1239 widget->id = curr->id; in gbaudio_tplg_process_widgets() 1251 list_del(&widget->list); in gbaudio_tplg_process_widgets() [all …]
|
A D | audio_helper.c | 114 const struct snd_soc_dapm_widget *widget, in gbaudio_dapm_free_controls() argument 131 if (!strcmp(w->name, widget->name)) in gbaudio_dapm_free_controls() 137 widget->name); in gbaudio_dapm_free_controls() 138 widget++; in gbaudio_dapm_free_controls() 141 widget++; in gbaudio_dapm_free_controls()
|
/linux/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/sound/soc/ |
A D | soc-dapm.c | 42 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++; argument 400 data->widget = in dapm_kcontrol_data_alloc() 443 snd_soc_dapm_add_path(widget->dapm, data->widget, in dapm_kcontrol_data_alloc() 515 if (!data->widget) in dapm_kcontrol_is_powered() 549 if (data->widget) { in dapm_kcontrol_set_value() 554 data->widget->on_val = value & data->widget->mask; in dapm_kcontrol_set_value() 558 data->widget->on_val = value >> data->widget->shift; in dapm_kcontrol_set_value() 674 wcache->widget = w; in dapm_wcache_update() 1118 widget->name); in snd_soc_dapm_suspend_check() 1215 widget->endpoints[dir] = snd_soc_dapm_suspend_check(widget); in is_connected_ep() [all …]
|
A D | soc-topology.c | 1475 goto widget; in soc_tplg_dapm_widget_create() 1540 widget: in soc_tplg_dapm_widget_create() 1551 if (IS_ERR(widget)) { in soc_tplg_dapm_widget_create() 1552 ret = PTR_ERR(widget); in soc_tplg_dapm_widget_create() 1557 widget->dobj.widget.kcontrol_type = kcontrol_type; in soc_tplg_dapm_widget_create() 1558 widget->dobj.ops = tplg->ops; in soc_tplg_dapm_widget_create() 1559 widget->dobj.index = tplg->index; in soc_tplg_dapm_widget_create() 1572 remove_widget(widget->dapm->component, &widget->dobj, SOC_TPLG_PASS_WIDGET); in soc_tplg_dapm_widget_create() 1573 snd_soc_dapm_free_widget(widget); in soc_tplg_dapm_widget_create() 1605 if (le32_to_cpu(widget->size) != sizeof(*widget)) { in soc_tplg_dapm_widget_elems_load() [all …]
|
A D | soc-pcm.c | 1238 if (w == widget) in dpcm_get_be() 1248 struct snd_soc_dapm_widget *widget) in widget_in_list() argument 1254 if (widget == w) in widget_in_list() 1272 rtd = dpcm_get_be(card, widget, stream); in dpcm_end_walk_at_be() 1326 if (widget && widget_in_list(list, widget)) in dpcm_be_is_active() 1362 struct snd_soc_dapm_widget *widget; in dpcm_add_paths() local 1366 for_each_dapm_widgets(list, i, widget) { in dpcm_add_paths() 1368 switch (widget->id) { in dpcm_add_paths() 1382 be = dpcm_get_be(card, widget, stream); in dpcm_add_paths() 1385 widget->name); in dpcm_add_paths() [all …]
|
/linux/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/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/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);
|
/linux/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/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/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" }, \
|
A D | lpass-wsa-macro.c | 1827 struct snd_soc_dapm_widget *widget = in wsa_macro_rx_mux_get() local 1830 snd_soc_dapm_to_component(widget->dapm); in wsa_macro_rx_mux_get() 1834 wsa->rx_port_value[widget->shift]; in wsa_macro_rx_mux_get() 1841 struct snd_soc_dapm_widget *widget = in wsa_macro_rx_mux_put() local 1844 snd_soc_dapm_to_component(widget->dapm); in wsa_macro_rx_mux_put() 1852 aif_rst = wsa->rx_port_value[widget->shift]; in wsa_macro_rx_mux_put() 1863 wsa->rx_port_value[widget->shift] = rx_port_value; in wsa_macro_rx_mux_put() 1865 bit_input = widget->shift; in wsa_macro_rx_mux_put() 1888 snd_soc_dapm_mux_update_power(widget->dapm, kcontrol, in wsa_macro_rx_mux_put() 1973 u32 dai_id = widget->shift; in wsa_macro_vi_feed_mixer_get() [all …]
|
A D | lpass-va-macro.c | 475 struct snd_soc_dapm_widget *widget = in va_macro_put_dec_enum() local 478 snd_soc_dapm_to_component(widget->dapm); in va_macro_put_dec_enum() 515 struct snd_soc_dapm_widget *widget = in va_macro_tx_mixer_get() local 518 snd_soc_dapm_to_component(widget->dapm); in va_macro_tx_mixer_get() 521 u32 dai_id = widget->shift; in va_macro_tx_mixer_get() 536 struct snd_soc_dapm_widget *widget = in va_macro_tx_mixer_put() local 539 snd_soc_dapm_to_component(widget->dapm); in va_macro_tx_mixer_put() 543 u32 dai_id = widget->shift; in va_macro_tx_mixer_put() 556 snd_soc_dapm_mixer_update_power(widget->dapm, kcontrol, enable, update); in va_macro_tx_mixer_put()
|
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" }, \
|
A D | lpass-tx-macro.c | 732 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in tx_macro_put_dec_enum() local 733 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in tx_macro_put_dec_enum() 790 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in tx_macro_tx_mixer_get() local 791 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in tx_macro_tx_mixer_get() 793 u32 dai_id = widget->shift; in tx_macro_tx_mixer_get() 808 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in tx_macro_tx_mixer_put() local 809 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in tx_macro_tx_mixer_put() 812 u32 dai_id = widget->shift; in tx_macro_tx_mixer_put() 826 snd_soc_dapm_mixer_update_power(widget->dapm, kcontrol, enable, update); in tx_macro_tx_mixer_put()
|
/linux/sound/soc/pxa/ |
A D | mioa701_wm9713.c | 68 static int rear_amp_event(struct snd_soc_dapm_widget *widget, in rear_amp_event() argument 71 struct snd_soc_card *card = widget->dapm->card; in rear_amp_event()
|