Lines Matching full:widgets

238  * Resets the cached number of inputs for the specified widget and all widgets
255 * Resets the cached number of outputs for the specified widget and all widgets
269 * for the widgets connected to a path
490 struct_size(new_wlist, widgets, n), in dapm_kcontrol_add_widget()
495 new_wlist->widgets[n - 1] = widget; in dapm_kcontrol_add_widget()
550 switch (dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->id) { in dapm_kcontrol_set_value()
579 return dapm_kcontrol_get_wlist(kcontrol)->widgets[0]; in snd_soc_dapm_kcontrol_widget()
594 return dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->dapm; in snd_soc_dapm_kcontrol_dapm()
658 wlist = &w->dapm->card->widgets; in dapm_wcache_lookup()
927 * prefix for widgets so cut the prefix off the in dapm_create_or_share_kcontrol()
1131 struct list_head *widgets) in dapm_widget_list_create() argument
1138 list_for_each(it, widgets) in dapm_widget_list_create()
1141 *list = kzalloc(struct_size(*list, widgets, size), GFP_KERNEL); in dapm_widget_list_create()
1145 list_for_each_entry(w, widgets, work_list) in dapm_widget_list_create()
1146 (*list)->widgets[i++] = w; in dapm_widget_list_create()
1155 * widget and all widgets that can be reached via incoming or outcoming paths
1248 * direction as an arguments, it should return true if widgets from that point
1279 * snd_soc_dapm_dai_get_connected_widgets - query audio path and it's widgets.
1282 * @list: list of active widgets for this stream.
1288 * current mixer and mux kcontrol settings. Creates list of valid widgets.
1304 LIST_HEAD(widgets); in snd_soc_dapm_dai_get_connected_widgets()
1313 paths = is_connected_output_ep(w, &widgets, in snd_soc_dapm_dai_get_connected_widgets()
1318 paths = is_connected_input_ep(w, &widgets, in snd_soc_dapm_dai_get_connected_widgets()
1323 list_del(widgets.next); in snd_soc_dapm_dai_get_connected_widgets()
1325 ret = dapm_widget_list_create(list, &widgets); in snd_soc_dapm_dai_get_connected_widgets()
1632 * We walk over a pre-sorted list of widgets to apply power to. In
1634 * multiple widgets will be updated in a single write where possible.
1866 * will have marked the peer dirty, otherwise the widgets are in dapm_widget_set_peer_power()
1977 /* Check which widgets we need to power and store them in in dapm_power_widgets()
1979 * only check widgets that have been flagged as dirty but note in dapm_power_widgets()
1980 * that new widgets may be added to the dirty list while we in dapm_power_widgets()
1991 /* These widgets always need to be powered */ in dapm_power_widgets()
2059 /* Power down widgets first; try to avoid amplifying pops. */ in dapm_power_widgets()
2115 /* Supply widgets are not handled by is_connected_{input,output}_ep() */ in dapm_widget_power_read_file()
2400 /* only display widgets that burn power */ in dapm_widget_show_component()
2492 * source and sink widgets so that path is removed only once. in snd_soc_dapm_free_widget()
2511 /* free all dapm widgets and resources */
2575 * Walks all dapm audio paths and powers widgets according to their
2599 * Walks all dapm audio paths and powers widgets according to their
2691 * Some widgets have a dynamic category which depends on which neighbors they
2692 * are connected to. This function update the category for these widgets.
2797 struct snd_soc_dapm_widget *widgets[2]; in snd_soc_dapm_add_path() local
2811 "connected() callback only supported for supply widgets (%s -> %s)\n", in snd_soc_dapm_add_path()
2818 "Conditional paths are not supported for supply widgets (%s -> [%s] -> %s)\n", in snd_soc_dapm_add_path()
2833 widgets[SND_SOC_DAPM_DIR_IN] = wsource; in snd_soc_dapm_add_path()
2834 widgets[SND_SOC_DAPM_DIR_OUT] = wsink; in snd_soc_dapm_add_path()
2877 list_add(&path->list_node[dir], &widgets[dir]->edges[dir]); in snd_soc_dapm_add_path()
2880 dapm_update_widget_flags(widgets[dir]); in snd_soc_dapm_add_path()
2881 dapm_mark_dirty(widgets[dir], "Route added"); in snd_soc_dapm_add_path()
2927 * find src and dest widgets over all widgets but favor a widget from in snd_soc_dapm_add_route()
3055 * snd_soc_dapm_add_routes - Add routes between DAPM widgets
3060 * Connects 2 dapm widgets together via a named audio path. The sink is
3091 * snd_soc_dapm_del_routes - Remove routes between DAPM widgets
3160 * snd_soc_dapm_weak_routes - Mark routes between DAPM widgets as weak
3195 * snd_soc_dapm_new_widgets - add new dapm widgets
3196 * @card: card to be checked for new dapm widgets
3198 * Checks the codec for any new dapm widgets and creates them if found.
3716 list_add_tail(&w->list, &dapm->card->widgets); in snd_soc_dapm_new_control_unlocked()
3764 * @num: number of widgets
4260 /* ...find all widgets with the same stream and link them */ in snd_soc_dapm_link_dai_widgets()
4328 /* connect BE DAI playback if widgets are valid */ in dapm_connect_dai_pair()
4346 /* connect BE DAI capture if widgets are valid */ in dapm_connect_dai_pair()
4492 * Enables input/output pin and its parents or children widgets iff there is
4512 * Enables input/output pin and its parents or children widgets iff there is
4605 * Disables input/output pin and its parents or children widgets.
4624 * Disables input/output pin and its parents or children widgets.
4650 * any parent or child widgets. At present this is identical to
4673 * any parent or child widgets. At present this is identical to
4747 * Free all dapm widgets and resources.
4798 /* If there were no widgets to power down we're already in in soc_dapm_shutdown_dapm()