Lines Matching defs:widgets
246 * Resets the cached number of inputs for the specified widget and all widgets
263 * Resets the cached number of outputs for the specified widget and all widgets
277 * for the widgets connected to a path
474 * Some widgets have a dynamic category which depends on which neighbors they
475 * are connected to. This function update the category for these widgets.
595 "connected() callback only supported for supply widgets (%s -> %s)\n",
602 "Conditional paths are not supported for supply widgets (%s -> [%s] -> %s)\n",
819 struct_size(new_wlist, widgets, n),
825 new_wlist->widgets[n - 1] = widget;
879 switch (dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->id) {
907 return dapm_kcontrol_get_wlist(kcontrol)->widgets[0];
920 return dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->dapm;
986 struct list_head *wlist = &w->dapm->card->widgets;
1189 * prefix for widgets so cut the prefix off the
1393 struct list_head *widgets)
1400 list_for_each(it, widgets)
1403 *list = kzalloc(struct_size(*list, widgets, size), GFP_KERNEL);
1409 list_for_each_entry(w, widgets, work_list)
1410 (*list)->widgets[i++] = w;
1419 * widget and all widgets that can be reached via incoming or outcoming paths
1512 * direction as an arguments, it should return true if widgets from that point
1543 * snd_soc_dapm_dai_get_connected_widgets - query audio path and it's widgets.
1546 * @list: list of active widgets for this stream.
1552 * current mixer and mux kcontrol settings. Creates list of valid widgets.
1568 LIST_HEAD(widgets);
1576 paths = is_connected_output_ep(w, &widgets,
1580 paths = is_connected_input_ep(w, &widgets,
1585 list_del(widgets.next);
1587 ret = dapm_widget_list_create(list, &widgets);
1895 * We walk over a pre-sorted list of widgets to apply power to. In
1897 * multiple widgets will be updated in a single write where possible.
2126 * will have marked the peer dirty, otherwise the widgets are
2237 /* Check which widgets we need to power and store them in
2239 * only check widgets that have been flagged as dirty but note
2240 * that new widgets may be added to the dirty list while we
2251 /* These widgets always need to be powered */
2319 /* Power down widgets first; try to avoid amplifying pops. */
2419 /* Supply widgets are not handled by is_connected_{input,output}_ep() */
2721 /* only display widgets that burn power */
2823 * source and sink widgets so that path is removed only once.
2839 /* free all dapm widgets and resources */
2935 * Walks all dapm audio paths and powers widgets according to their
2959 * Walks all dapm audio paths and powers widgets according to their
3091 * find src and dest widgets over all widgets but favor a widget from
3215 * snd_soc_dapm_add_routes - Add routes between DAPM widgets
3220 * Connects 2 dapm widgets together via a named audio path. The sink is
3246 * snd_soc_dapm_del_routes - Remove routes between DAPM widgets
3270 * snd_soc_dapm_new_widgets - add new dapm widgets
3271 * @card: card to be checked for new dapm widgets
3273 * Checks the codec for any new dapm widgets and creates them if found.
3828 list_add_tail(&w->list, &dapm->card->widgets);
3876 * @num: number of widgets
4304 * snd_soc_dapm_new_dai_widgets - Create new DAPM widgets
4382 /* ...find all widgets with the same stream and link them */
4452 /* connect BE DAI playback if widgets are valid */
4607 * Enables input/output pin and its parents or children widgets iff there is
4627 * Enables input/output pin and its parents or children widgets iff there is
4720 * Disables input/output pin and its parents or children widgets.
4739 * Disables input/output pin and its parents or children widgets.
4811 * Free all dapm widgets and resources.
4859 /* If there were no widgets to power down we're already in