/linux-master/arch/mips/sgi-ip30/ |
H A D | ip30-xtalk.c | 18 #define IP30_SWIN_BASE(widget) \ 19 (0x0000000010000000 | (((unsigned long)(widget)) << 24)) 21 #define IP30_RAW_SWIN_BASE(widget) (IO_BASE + IP30_SWIN_BASE(widget)) 39 static void bridge_platform_create(int widget, int masterwid) argument 49 pr_warn("xtalk:%x bridge create out of memory\n", widget); 54 IP30_SWIN_BASE(widget)); 57 w1_res.start = IP30_SWIN_BASE(widget) + 64 pr_warn("xtalk:%x bridge create out of memory\n", widget); 68 pr_warn("xtalk:%x bridge failed to add platform resources.\n", widget); [all...] |
/linux-master/drivers/staging/greybus/ |
H A D | audio_helper.h | 12 const struct snd_soc_dapm_widget *widget,
|
H A D | audio_helper.c | 39 * check if widget is already linked, 52 /* Add the DAPM path and set widget's linked status 64 /* For each DAI widget... */ 97 * remove source and sink paths associated to this widget. 113 const struct snd_soc_dapm_widget *widget, 121 /* below logic can be optimized to identify widget pointer */ 125 !strcmp(tmp_w->name, widget->name)) { 131 dev_err(dapm->dev, "%s: widget not found\n", 132 widget->name); 133 widget 112 gbaudio_dapm_free_controls(struct snd_soc_dapm_context *dapm, const struct snd_soc_dapm_widget *widget, int num) argument [all...] |
H A D | audio_topology.c | 116 struct gbaudio_widget *widget; local 118 list_for_each_entry(widget, &module->widget_list, list) { 119 if (!strncmp(widget->name, name, NAME_SIZE)) 120 return widget->id; 130 struct gbaudio_widget *widget; local 132 list_for_each_entry(widget, &module->widget_list, list) { 133 if (widget->id == widget_id) 134 return widget->name; 388 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; local 389 struct device *codec_dev = widget 437 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; local 718 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; local 765 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; local 1224 struct gbaudio_widget *widget, *_widget; local 1416 struct gbaudio_widget *widget, *_widget; local [all...] |
/linux-master/arch/mips/sgi-ip27/ |
H A D | ip27-xtalk.c | 26 static void bridge_platform_create(nasid_t nasid, int widget, int masterwid) argument 39 pr_warn("xtalk:n%d/%x bridge create out of memory\n", nasid, widget); 44 offset + (widget << SWIN_SIZE_BITS)); 47 w1_res.start = offset + (widget << SWIN_SIZE_BITS) + 54 pr_warn("xtalk:n%d/%x bridge create out of memory\n", nasid, widget); 58 pr_warn("xtalk:n%d/%x bridge failed to add platform resources.\n", nasid, widget); 62 pr_warn("xtalk:n%d/%x bridge failed to add platform data.\n", nasid, widget); 66 pr_warn("xtalk:n%d/%x bridge failed to add platform device.\n", nasid, widget); 74 pr_warn("xtalk:n%d/%x bridge create out of memory\n", nasid, widget); 79 pr_warn("xtalk:n%d/%x bridge create out of memory\n", nasid, widget); 128 probe_one_port(nasid_t nasid, int widget, int masterwid) argument [all...] |
/linux-master/sound/soc/sof/ |
H A D | sof-audio.c | 16 static bool is_virtual_widget(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, argument 19 switch (widget->id) { 23 dev_dbg(sdev->dev, "%s: %s is a virtual widget\n", func, widget->name); 30 static void sof_reset_route_setup_status(struct snd_sof_dev *sdev, struct snd_sof_widget *widget) argument 36 if (sroute->src_widget == widget || sroute->sink_widget == widget) { 61 /* reset route setup status for all routes that contain this widget */ 64 /* free DAI config and continue to free widget even if it fails */ 74 dev_err(sdev->dev, "failed to free config for widget 299 struct snd_soc_dapm_widget *widget; local 406 sof_unprepare_widgets_in_path(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, struct snd_soc_dapm_widget_list *list) argument 442 sof_prepare_widgets_in_path(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, struct snd_pcm_hw_params *fe_params, struct snd_sof_platform_stream_params *platform_params, struct snd_pcm_hw_params *pipeline_params, int dir, struct snd_soc_dapm_widget_list *list) argument 504 sof_free_widgets_in_path(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, int dir, struct snd_sof_pcm *spcm) argument 544 sof_set_up_widgets_in_path(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, int dir, struct snd_sof_pcm *spcm) argument 613 struct snd_soc_dapm_widget *widget; local 682 struct snd_soc_dapm_widget *widget; local [all...] |
H A D | ipc3-topology.c | 433 dev_dbg(scomp->dev, "loaded host %s\n", swidget->widget->name); 476 swidget->widget->name, tone->frequency, tone->amplitude); 510 dev_dbg(scomp->dev, "loaded mixer %s\n", swidget->widget->name); 537 comp_swidget = snd_sof_find_swidget(scomp, swidget->widget->sname); 539 dev_err(scomp->dev, "scheduler %s refers to non existent widget %s\n", 540 swidget->widget->name, swidget->widget->sname); 567 swidget->widget->name, pipeline->period, pipeline->priority, 613 swidget->widget->name, buffer->size, buffer->caps); 648 swidget->widget 797 sof_get_control_data(struct snd_soc_component *scomp, struct snd_soc_dapm_widget *widget, struct sof_widget_data *wdata, size_t *size) argument 882 struct snd_soc_dapm_widget *widget = swidget->widget; local [all...] |
H A D | ipc4-topology.c | 276 swidget->widget->name, ret); 280 dev_dbg(scomp->dev, "widget %s: is_pages: %d\n", swidget->widget->name, 299 dev_dbg(scomp->dev, "Input audio formats for %s\n", swidget->widget->name); 322 dev_dbg(scomp->dev, "Output audio formats for %s\n", swidget->widget->name); 362 dev_err(sdev->dev, "failed to find module info for widget %s with UUID %pUL\n", 363 swidget->widget->name, &swidget->uuid); 399 /* update module ID for all kcontrols for this widget */ 426 dev_dbg(scomp->dev, "Updating IPC structure for %s\n", swidget->widget->name); 449 dev_dbg(scomp->dev, "host copier '%s' node_type %u\n", swidget->widget [all...] |
H A D | ipc3-control.c | 35 dev_err(sdev->dev, "%s: can't find widget with id %d\n", __func__, 47 * widget use_count would always be > 0 in this case. For the others, 48 * just return the cached value if the widget is not set up. 553 struct snd_soc_dapm_widget *widget; local 598 widget = swidget->widget; 599 for (i = 0; i < widget->num_kcontrols; i++) { 601 if (widget->dobj.widget.kcontrol_type[i] == type && 602 widget [all...] |
H A D | ipc4-control.c | 27 /* find widget associated with the control */ 36 dev_err(scomp->dev, "Failed to find widget for kcontrol %s\n", scontrol->name); 47 * widget use_count would always be > 0 in this case. For the others, 48 * just return the cached value if the widget is not set up. 169 /* find widget associated with the control */ 178 dev_err(scomp->dev, "Failed to find widget for kcontrol %s\n", scontrol->name); 311 /* find widget associated with the control */ 320 dev_err(scomp->dev, "Failed to find widget for kcontrol %s\n", scontrol->name); 370 /* find widget associated with the control */ 379 dev_err(scomp->dev, "Failed to find widget fo 661 struct snd_soc_dapm_widget *widget; local [all...] |
H A D | topology.c | 1087 * Please create DAI widget in the right order 1089 * widget. 1103 dev_dbg(scomp->dev, "tplg: connected widget %s -> DAI link %s\n", 1205 dev_err(scomp->dev, "No token list for widget %s\n", swidget->widget->name); 1218 /* parse token list for widget */ 1223 dev_err(scomp->dev, "Invalid token id %d for widget %s\n", 1224 object_token_list[i], swidget->widget->name); 1237 dev_err(scomp->dev, "Failed parsing %s for widget %s\n", 1239 swidget->widget 1614 struct snd_soc_dapm_widget *widget; local [all...] |
/linux-master/arch/mips/include/asm/sn/ |
H A D | io.h | 24 #define IIO_ITTE_WIDGET_BITS 4 /* size of widget field */ 34 #define IIO_ITTE_INVALID_WIDGET 3 /* an invalid widget */ 36 #define IIO_ITTE_PUT(nasid, bigwin, io_or_mem, widget, addr) \ 41 (((widget) & IIO_ITTE_WIDGET_MASK) << IIO_ITTE_WIDGET_SHIFT))) 50 * Macro which takes the widget number, and returns the 51 * IO PRB address of that widget. 52 * value _x is expected to be a widget number in the range
|
/linux-master/include/sound/ |
H A D | soc-dai.h | 432 struct snd_soc_dapm_widget *widget; member in struct:snd_soc_dai_stream 488 return dai->stream[stream].widget; 491 #define snd_soc_dai_set_widget_playback(dai, widget) snd_soc_dai_set_widget(dai, SNDRV_PCM_STREAM_PLAYBACK, widget) 492 #define snd_soc_dai_set_widget_capture(dai, widget) snd_soc_dai_set_widget(dai, SNDRV_PCM_STREAM_CAPTURE, widget) 494 void snd_soc_dai_set_widget(struct snd_soc_dai *dai, int stream, struct snd_soc_dapm_widget *widget) argument 496 dai->stream[stream].widget = widget;
|
H A 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);
|
H A D | soc-topology.h | 55 /* dynamic widget object */ 68 struct snd_soc_dobj_widget widget; member in union:snd_soc_dobj::__anon4058 96 * DAPM widget event handlers - used to map handlers onto widgets. 122 /* external widget init - used for any driver specific init */
|
/linux-master/arch/mips/include/asm/sn/sn0/ |
H A D | addrs.h | 89 #define NODE_SWIN_BASE(nasid, widget) \ 90 ((widget == 0) ? NODE_BWIN_BASE((nasid), SWIN0_BIGWIN) \ 91 : RAW_NODE_SWIN_BASE(nasid, widget)) 93 #define NODE_SWIN_BASE(nasid, widget) \ 94 (NODE_IO_BASE(nasid) + (UINT64_CAST(widget) << SWIN_SIZE_BITS))
|
/linux-master/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); local 204 if (conn->stream_dir == SNDRV_PCM_STREAM_CAPTURE && widget) { 205 snd_soc_dapm_widget_for_each_sink_path(widget, p) { 210 } else if (conn->stream_dir == SNDRV_PCM_STREAM_PLAYBACK && widget) { 211 snd_soc_dapm_widget_for_each_source_path(widget, p) { 217 dev_err(cpu_dai->dev, "stream dir and widget not pair\n");
|
/linux-master/sound/soc/ |
H A D | soc-dapm.c | 42 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++; 59 const struct snd_soc_dapm_widget *widget); 63 const struct snd_soc_dapm_widget *widget); 238 * @w: The widget for which to invalidate the cached number of input paths 240 * Resets the cached number of inputs for the specified widget and all widgets 241 * that can be reached via outcoming paths from the widget. 243 * This function must be called if the number of output paths for a widget might 244 * have changed. E.g. if the source state of a widget changes or a path is added 245 * or activated with the widget a 354 struct snd_soc_dapm_widget *widget; member in struct:dapm_kcontrol_data 359 dapm_kcontrol_data_alloc(struct snd_soc_dapm_widget *widget, struct snd_kcontrol *kcontrol, const char *ctrl_name) argument 489 dapm_kcontrol_add_widget(struct snd_kcontrol *kcontrol, struct snd_soc_dapm_widget *widget) argument 1115 snd_soc_dapm_suspend_check(struct snd_soc_dapm_widget *widget) argument 1164 invalidate_paths_ep(struct snd_soc_dapm_widget *widget, enum snd_soc_dapm_direction dir) argument 1194 is_connected_ep(struct snd_soc_dapm_widget *widget, struct list_head *list, enum snd_soc_dapm_direction dir, int (*fn)(struct snd_soc_dapm_widget *, struct list_head *, bool (*custom_stop_condition)(struct snd_soc_dapm_widget *, enum snd_soc_dapm_direction)), bool (*custom_stop_condition)(struct snd_soc_dapm_widget *, enum snd_soc_dapm_direction)) argument 1257 is_connected_output_ep(struct snd_soc_dapm_widget *widget, struct list_head *list, bool (*custom_stop_condition)(struct snd_soc_dapm_widget *i, enum snd_soc_dapm_direction)) argument 1275 is_connected_input_ep(struct snd_soc_dapm_widget *widget, struct list_head *list, bool (*custom_stop_condition)(struct snd_soc_dapm_widget *i, enum snd_soc_dapm_direction)) argument 2738 snd_soc_dapm_widget_name_cmp(struct snd_soc_dapm_widget *widget, const char *s) argument 3634 snd_soc_dapm_new_control_unlocked(struct snd_soc_dapm_context *dapm, const struct snd_soc_dapm_widget *widget) argument 3785 snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm, const struct snd_soc_dapm_widget *widget) argument 3808 snd_soc_dapm_new_controls(struct snd_soc_dapm_context *dapm, const struct snd_soc_dapm_widget *widget, int num) argument [all...] |
H A D | soc-topology.c | 157 /* mapping of widget types from UAPI IDs to kernel IDs */ 264 /* optionally pass new dynamic widget to component driver. This is mainly for 276 /* optionally pass new dynamic widget to component driver. This is mainly for 382 /* remove a widget and it's kcontrols - routes must be removed first */ 407 /* widget w is freed by soc-dapm.c */ 1113 dev_dbg(tplg->dev, " adding DAPM widget mixer control %s\n", 1182 dev_dbg(tplg->dev, " adding DAPM widget enum control %s\n", 1297 struct snd_soc_dapm_widget template, *widget; local 1315 dev_dbg(tplg->dev, "ASoC: creating DAPM widget %s id %d\n", 1320 /* map user to kernel widget I 1471 struct snd_soc_tplg_dapm_widget *widget = (struct snd_soc_tplg_dapm_widget *) tplg->pos; local [all...] |
/linux-master/include/trace/events/ |
H A D | asoc.h | 109 TP_printk("widget=%s val=%d", __get_str(name), 164 TP_PROTO(struct snd_soc_dapm_widget *widget, 168 TP_ARGS(widget, dir, path), 171 __string( wname, widget->name ) 180 __assign_str(wname, widget->name);
|
H A D | sof.h | 22 __string(name, swidget->widget->name) 26 __assign_str(name, swidget->widget->name);
|
/linux-master/scripts/kconfig/ |
H A D | gconf.c | 129 GtkWidget *widget; local 148 widget = glade_xml_get_widget(xml, "show_name1"); 149 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, 152 widget = glade_xml_get_widget(xml, "show_range1"); 153 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, 156 widget = glade_xml_get_widget(xml, "show_data1"); 157 gtk_check_menu_item_set_active((GtkCheckMenuItem *) widget, 165 widget = glade_xml_get_widget(xml, "toolbar1"); 411 gboolean on_window1_delete_event(GtkWidget * widget, GdkEvent * event, argument 463 on_window1_size_request(GtkWidget * widget, argument 873 on_treeview2_button_press_event(GtkWidget * widget, GdkEventButton * event, gpointer user_data) argument 930 on_treeview2_key_press_event(GtkWidget * widget, GdkEventKey * event, gpointer user_data) argument 991 on_treeview1_button_press_event(GtkWidget * widget, GdkEventButton * event, gpointer user_data) argument [all...] |
/linux-master/sound/soc/codecs/ |
H A D | madera.h | 256 #define MADERA_MUX_ROUTES(widget, name) \ 257 { widget, NULL, name " Input 1" }, \ 260 #define MADERA_MIXER_ROUTES(widget, name) \ 261 { widget, NULL, name " Mixer" }, \
|
H A D | arizona.h | 209 #define ARIZONA_MUX_ROUTES(widget, name) \ 210 { widget, NULL, name " Input" }, \ 213 #define ARIZONA_MIXER_ROUTES(widget, name) \ 214 { widget, NULL, name " Mixer" }, \
|
H A D | lpass-tx-macro.c | 756 struct snd_soc_dapm_widget *widget, 778 struct snd_soc_dapm_widget *widget, 785 if (widget->shift) { 804 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); local 805 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); 846 if (widget->shift) /* MSM DMIC */ 850 tx_macro_update_smic_sel_v9(component, widget, tx, 853 tx_macro_update_smic_sel_v9_2(component, widget, tx, 863 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); local 864 struct snd_soc_component *component = snd_soc_dapm_to_component(widget 755 tx_macro_update_smic_sel_v9(struct snd_soc_component *component, struct snd_soc_dapm_widget *widget, struct tx_macro *tx, u16 mic_sel_reg, unsigned int val) argument 777 tx_macro_update_smic_sel_v9_2(struct snd_soc_component *component, struct snd_soc_dapm_widget *widget, struct tx_macro *tx, u16 mic_sel_reg, unsigned int val) argument 881 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); local [all...] |