/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 | 86 /* Add supply/DAI widget connections */ in sdca_asoc_count_component() 258 struct snd_soc_dapm_widget **widget, in entity_parse_simple() argument 264 (*widget)->id = id; in entity_parse_simple() 265 (*widget)++; in entity_parse_simple() 276 struct snd_soc_dapm_widget **widget, in entity_parse_it() argument 287 (*widget)->id = snd_soc_dapm_aif_in; in entity_parse_it() 291 (*widget)->id = snd_soc_dapm_mic; in entity_parse_it() 300 (*widget)++; in entity_parse_it() 308 struct snd_soc_dapm_widget **widget, in entity_parse_ot() argument 319 (*widget)->id = snd_soc_dapm_aif_out; in entity_parse_ot() [all …]
|
/linux/scripts/kconfig/ |
H A D | gconf.c | 583 static void on_window1_destroy(GtkWidget *widget, gpointer user_data) in on_window1_destroy() argument 596 static gboolean on_window1_delete_event(GtkWidget *widget, GdkEvent *event, in on_window1_delete_event() argument 745 static gboolean on_treeview2_button_press_event(GtkWidget *widget, in on_treeview2_button_press_event() argument 749 GtkTreeView *view = GTK_TREE_VIEW(widget); in on_treeview2_button_press_event() 798 static gboolean on_treeview2_key_press_event(GtkWidget *widget, in on_treeview2_key_press_event() argument 802 GtkTreeView *view = GTK_TREE_VIEW(widget); in on_treeview2_key_press_event() 856 static gboolean on_treeview1_button_press_event(GtkWidget *widget, in on_treeview1_button_press_event() argument 860 GtkTreeView *view = GTK_TREE_VIEW(widget); in on_treeview1_button_press_event() 954 static void replace_button_icon(GtkWidget *widget, const char * const xpm[]) in replace_button_icon() argument 964 gtk_tool_button_set_icon_widget(GTK_TOOL_BUTTON(widget), image); in replace_button_icon() [all …]
|
/linux/sound/soc/ |
H A D | soc-dapm.c | 43 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++; argument 244 * @w: The widget for which to invalidate the cached number of input paths 246 * Resets the cached number of inputs for the specified widget and all widgets 247 * that can be reached via outcoming paths from the widget. 249 * This function must be called if the number of output paths for a widget might in dapm_widget_invalidate_output_paths() 250 * have changed. E.g. if the source state of a widget changes or a path is added in dapm_widget_invalidate_output_paths() 251 * or activated with the widget as the sink. in dapm_widget_invalidate_output_paths() 261 * @w: The widget for which to invalidate the cached number of output paths 263 * Resets the cached number of outputs for the specified widget an 336 struct snd_soc_dapm_widget *widget; global() member 655 dapm_kcontrol_data_alloc(struct snd_soc_dapm_widget * widget,struct snd_kcontrol * kcontrol,const char * ctrl_name) dapm_kcontrol_data_alloc() argument 786 dapm_kcontrol_add_widget(struct snd_kcontrol * kcontrol,struct snd_soc_dapm_widget * widget) dapm_kcontrol_add_widget() argument 1308 snd_soc_dapm_suspend_check(struct snd_soc_dapm_widget * widget) snd_soc_dapm_suspend_check() argument 1359 invalidate_paths_ep(struct snd_soc_dapm_widget * widget,enum snd_soc_dapm_direction dir) invalidate_paths_ep() argument 1389 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)) is_connected_ep() argument 1452 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)) is_connected_output_ep() argument 1470 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)) is_connected_input_ep() argument 2977 snd_soc_dapm_widget_name_cmp(struct snd_soc_dapm_widget * widget,const char * s) snd_soc_dapm_widget_name_cmp() argument 3641 snd_soc_dapm_new_control_unlocked(struct snd_soc_dapm_context * dapm,const struct snd_soc_dapm_widget * widget) snd_soc_dapm_new_control_unlocked() argument 3792 snd_soc_dapm_new_control(struct snd_soc_dapm_context * dapm,const struct snd_soc_dapm_widget * widget) snd_soc_dapm_new_control() argument 3815 snd_soc_dapm_new_controls(struct snd_soc_dapm_context * dapm,const struct snd_soc_dapm_widget * widget,unsigned int num) snd_soc_dapm_new_controls() argument [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() [all …]
|
/linux/drivers/staging/greybus/ |
H A D | audio_helper.c | 39 * check if widget is already linked, in gbaudio_dapm_link_dai_widget() 52 /* Add the DAPM path and set widget's linked status in gbaudio_dapm_link_dai_widget() 64 /* For each DAI widget... */ in gbaudio_dapm_link_component_dai_widgets() 97 * remove source and sink paths associated to this widget. in gbaudio_dapm_free_widget() 113 const struct snd_soc_dapm_widget *widget, in gbaudio_dapm_free_controls() argument 121 /* below logic can be optimized to identify widget pointer */ in gbaudio_dapm_free_controls() 125 !strcmp(tmp_w->name, widget->name)) { in gbaudio_dapm_free_controls() 131 dev_err(dapm->dev, "%s: widget not found\n", in gbaudio_dapm_free_controls() 132 widget->name); in gbaudio_dapm_free_controls() 133 widget++; in gbaudio_dapm_free_controls() [all …]
|
H A D | audio_topology.c | 110 struct gbaudio_widget *widget; in gbaudio_map_widgetname() local 112 list_for_each_entry(widget, &module->widget_list, list) { in gbaudio_map_widgetname() 113 if (!strncmp(widget->name, name, NAME_SIZE)) in gbaudio_map_widgetname() 114 return widget->id; in gbaudio_map_widgetname() 124 struct gbaudio_widget *widget; in gbaudio_map_widgetid() local 126 list_for_each_entry(widget, &module->widget_list, list) { in gbaudio_map_widgetid() 127 if (widget->id == widget_id) in gbaudio_map_widgetid() 128 return widget->name; in gbaudio_map_widgetid() 382 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_get() local 383 struct device *codec_dev = widget->dapm->dev; in gbcodec_mixer_dapm_ctl_get() [all …]
|
/linux/include/sound/ |
H A D | soc-dapm.h | 24 /* widget has no PM register bit */ 385 #define SND_SOC_DAPM_PRE_PMU 0x1 /* before widget power up */ 386 #define SND_SOC_DAPM_POST_PMU 0x2 /* after widget power up */ 387 #define SND_SOC_DAPM_PRE_PMD 0x4 /* before widget power down */ 388 #define SND_SOC_DAPM_POST_PMD 0x8 /* after widget power down */ 400 /* regulator widget flags */ 421 /* dapm widget types */ 440 snd_soc_dapm_pre, /* machine specific pre widget - exec first */ 441 snd_soc_dapm_post, /* machine specific post widget - exec last */ 514 /* dapm widget */ 726 for_each_dapm_widgets(list,i,widget) global() argument [all...] |
H A D | soc-dai.h | 425 struct snd_soc_dapm_widget *widget; 484 return dai->stream[stream].widget; in snd_soc_dai_get_widget() 487 #define snd_soc_dai_set_widget_playback(dai, widget) snd_soc_dai_set_widget(dai, SNDRV_PCM_STREAM_PLAYBACK, widget) argument 488 #define snd_soc_dai_set_widget_capture(dai, widget) snd_soc_dai_set_widget(dai, SNDRV_PCM_STREAM_CAPTURE, widget) 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() 492 dai->stream[stream].widget = widget; in snd_soc_dai_set_widget() 424 struct snd_soc_dapm_widget *widget; global() member 486 snd_soc_dai_set_widget_playback(dai,widget) global() argument 489 snd_soc_dai_set_widget(struct snd_soc_dai * dai,int stream,struct snd_soc_dapm_widget * widget) snd_soc_dai_set_widget() argument
|
H A D | soc-topology.h | 55 /* dynamic widget object */ 68 struct snd_soc_dobj_widget widget; member 96 * DAPM widget event handlers - used to map handlers onto widgets. 122 /* external widget init - used for any driver specific init */
|
/linux/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) \ argument 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/sound/soc/sof/ |
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() 542 dev_err(scomp->dev, "scheduler %s refers to non existent widget %s\n", 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() [all …]
|
H A D | sof-audio.h | 28 * per widget, because only 3 bits are used for queue(pin) ID 33 /* Widget pin type */ 173 * @ipc_setup: Function pointer for setting up widget IPC params 174 * @ipc_free: Function pointer for freeing widget IPC params 175 * @token_list: List of token ID's that should be parsed for the widget 177 * @bind_event: Function pointer for binding events to the widget 178 * @ipc_prepare: Optional op for preparing a widget for set up 179 * @ipc_unprepare: Optional op for unpreparing a widget 197 * @widget: Array of pointers to IPC-specific ops for widgets. This should always be of size 198 * SND_SOF_DAPM_TYPE_COUNT i.e one per widget type. Unsupported widget types will be [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() 311 /* find widget associated with the control */ in sof_ipc4_switch_put() 320 dev_err(scomp->dev, "Failed to find widget for kcontrol %s\n", scontrol->name); in sof_ipc4_switch_put() 370 /* find widget associated with the control */ in sof_ipc4_enum_put() 379 dev_err(scomp->dev, "Failed to find widget for kcontrol %s\n", scontrol->name); in sof_ipc4_enum_put() [all …]
|
H A D | ipc4-topology.c | 266 swidget->widget->name); in sof_ipc4_dbg_module_audio_format() 270 out_fmt_index, swidget->widget->name); in sof_ipc4_dbg_module_audio_format() 279 swidget->widget->name); in sof_ipc4_dbg_module_audio_format() 283 out_fmt_index, swidget->widget->name); in sof_ipc4_dbg_module_audio_format() 308 swidget->widget->name); in sof_ipc4_dbg_module_audio_format() 312 in_fmt_index, out_fmt_index, swidget->widget->name); in sof_ipc4_dbg_module_audio_format() 323 swidget->widget->name); in sof_ipc4_dbg_module_audio_format() 326 in_fmt_index, swidget->widget->name); in sof_ipc4_dbg_module_audio_format() 333 swidget->widget->name); in sof_ipc4_dbg_module_audio_format() 336 out_fmt_index, swidget->widget->name); in sof_ipc4_dbg_module_audio_format() [all …]
|
H A D | topology.c | 1080 dev_err(scomp->dev, "Widget %s does not have stream\n", w->name); in sof_connect_dai_widget() 1109 * Please create DAI widget in the right order in sof_connect_dai_widget() 1111 * widget. in sof_connect_dai_widget() 1125 dev_dbg(scomp->dev, "tplg: connected widget %s -> DAI link %s\n", in sof_connect_dai_widget() 1227 dev_err(scomp->dev, "No token list for widget %s\n", swidget->widget->name); in sof_widget_parse_tokens() 1240 /* parse token list for widget */ in sof_widget_parse_tokens() 1245 dev_err(scomp->dev, "Invalid token id %d for widget %s\n", in sof_widget_parse_tokens() 1246 object_token_list[i], swidget->widget->name); in sof_widget_parse_tokens() 1259 dev_err(scomp->dev, "Failed parsing %s for widget %s\n", in sof_widget_parse_tokens() 1261 swidget->widget->name); in sof_widget_parse_tokens() [all …]
|
H A D | ipc3-control.c | 35 dev_err(sdev->dev, "%s: can't find widget with id %d\n", __func__, in sof_ipc3_set_get_kcontrol_data() 47 * widget use_count would always be > 0 in this case. For the others, in sof_ipc3_set_get_kcontrol_data() 48 * just return the cached value if the widget is not set up. in sof_ipc3_set_get_kcontrol_data() 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() 668 /* set up all controls for the widget */ in sof_ipc3_widget_kcontrol_setup() [all …]
|
/linux/arch/mips/include/asm/sn/sn0/ |
H A D | hubio.h | 25 #define IIO_WIDGET IIO_WID /* Widget identification */ 26 #define IIO_WIDGET_STAT IIO_WSTAT /* Widget status register */ 27 #define IIO_WIDGET_CTRL IIO_WCR /* Widget control register */ 28 #define IIO_WIDGET_TOUT IIO_WRTO /* Widget request timeout */ 29 #define IIO_WIDGET_FLUSH IIO_WTFR /* Widget target flush */ 32 #define IIO_OUTWIDGET_ACCESS IIO_IOWA /* Outbound widget access */ 33 #define IIO_INWIDGET_ACCESS IIO_IIWA /* Inbound widget access */ 82 #define IIO_WID 0x400000 /* Widget identification */ 83 #define IIO_WSTAT 0x400008 /* Widget status */ 84 #define IIO_WCR 0x400020 /* Widget control */ [all …]
|
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/arch/mips/include/asm/xtalk/ |
H A D | xwidget.h | 6 * xwidget.h - generic crosstalk widget header file, derived from IRIX 87 /* Xtalk Widget Device Mfgr Nums */ 101 /* Xtalk Widget Device Part Nums */ 115 /* For Xtalk Widget identification */ 200 * according to the crosstalk spec, only 32-bits access to the widget 203 * widget target flush register are widget dependent thus will not be 209 /* widget configuration registers */ 257 * Crosstalk Widget Hardware Identification, as defined in the Crosstalk spec.
|
H A D | xtalk.h | 19 typedef char xwidgetnum_t; /* xtalk widget number (0..15) */ 23 typedef int xwidget_part_num_t; /* xtalk widget part number */ 27 typedef int xwidget_rev_num_t; /* xtalk widget revision number */ 31 typedef int xwidget_mfg_num_t; /* xtalk widget manufacturing ID */
|
/linux/sound/soc/mediatek/common/ |
H A D | mtk-dsp-sof-common.c | 200 struct snd_soc_dapm_widget *widget = snd_soc_dai_get_widget(cpu_dai, conn->stream_dir); in mtk_sof_card_late_probe() local 203 if (conn->stream_dir == SNDRV_PCM_STREAM_CAPTURE && widget) { in mtk_sof_card_late_probe() 204 snd_soc_dapm_widget_for_each_sink_path(widget, p) { in mtk_sof_card_late_probe() 209 } else if (conn->stream_dir == SNDRV_PCM_STREAM_PLAYBACK && widget) { in mtk_sof_card_late_probe() 210 snd_soc_dapm_widget_for_each_source_path(widget, p) { in mtk_sof_card_late_probe() 216 dev_err(cpu_dai->dev, "stream dir and widget not pair\n"); in mtk_sof_card_late_probe()
|
/linux/sound/soc/intel/atom/ |
H A D | sst-atom-controls.c | 199 dev_err(&drv->pdev->dev, "Slot control: %s doesn't have DAPM widget!!!\n", in sst_check_and_send_slot_map() 304 dev_dbg(&drv->pdev->dev, "Enter: widget=%s\n", pipe); in sst_find_and_send_pipe_algo() 634 dev_dbg(cmpnt->dev, "widget = %s\n", w->name); in sst_swm_mixer_event() 984 dev_dbg(c->dev, "Enter: widget=%s\n", w->name); in sst_set_be_modules() 1006 dev_dbg(c->dev, "widget=%s\n", w->name); in sst_set_media_path() 1043 dev_dbg(c->dev, "Enter:widget=%s\n", w->name); in sst_set_media_loop() 1345 dev_dbg(dai->dev, "send gains for widget=%s\n", in sst_send_pipe_gains() 1361 dev_dbg(dai->dev, "send gain for widget=%s\n", in sst_send_pipe_gains() 1375 * @w: dapm widget 1376 * @type: widget type [all …]
|
/linux/tools/sound/ |
H A D | dapm-graph | 89 # Parse a widget file and generate graph description in graphviz dot format 95 # $3 = widget filename 111 dbg_echo " + Widget: ${w_name}" 123 # Collect widget type if present 124 if echo "${line}" | grep -q '^widget-type '; then 126 dbg_echo " - Widget type: ${w_type_raw}"
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | amlogic,gx-sound-card.yaml | 27 A list off component DAPM widget. Each entry is a pair of strings, 28 the first being the widget type, the second being the widget name
|