Lines Matching full:widgets
240 * Resets the cached number of inputs for the specified widget and all widgets
257 * Resets the cached number of outputs for the specified widget and all widgets
271 * for the widgets connected to a path
495 struct_size(new_wlist, widgets, n), in dapm_kcontrol_add_widget()
500 new_wlist->widgets[n - 1] = widget; in dapm_kcontrol_add_widget()
555 switch (dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->id) { in dapm_kcontrol_set_value()
584 return dapm_kcontrol_get_wlist(kcontrol)->widgets[0]; in snd_soc_dapm_kcontrol_widget()
599 return dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->dapm; in snd_soc_dapm_kcontrol_dapm()
660 struct list_head *wlist = &w->dapm->card->widgets; in dapm_wcache_lookup()
932 * prefix for widgets so cut the prefix off the in dapm_create_or_share_kcontrol()
1136 struct list_head *widgets) in dapm_widget_list_create() argument
1143 list_for_each(it, widgets) in dapm_widget_list_create()
1146 *list = kzalloc(struct_size(*list, widgets, size), GFP_KERNEL); in dapm_widget_list_create()
1150 list_for_each_entry(w, widgets, work_list) in dapm_widget_list_create()
1151 (*list)->widgets[i++] = w; in dapm_widget_list_create()
1160 * widget and all widgets that can be reached via incoming or outcoming paths
1253 * direction as an arguments, it should return true if widgets from that point
1284 * snd_soc_dapm_dai_get_connected_widgets - query audio path and it's widgets.
1287 * @list: list of active widgets for this stream.
1293 * current mixer and mux kcontrol settings. Creates list of valid widgets.
1309 LIST_HEAD(widgets); in snd_soc_dapm_dai_get_connected_widgets()
1318 paths = is_connected_output_ep(w, &widgets, in snd_soc_dapm_dai_get_connected_widgets()
1323 paths = is_connected_input_ep(w, &widgets, in snd_soc_dapm_dai_get_connected_widgets()
1328 list_del(widgets.next); in snd_soc_dapm_dai_get_connected_widgets()
1330 ret = dapm_widget_list_create(list, &widgets); in snd_soc_dapm_dai_get_connected_widgets()
1641 * We walk over a pre-sorted list of widgets to apply power to. In
1643 * multiple widgets will be updated in a single write where possible.
1873 * will have marked the peer dirty, otherwise the widgets are in dapm_widget_set_peer_power()
1984 /* Check which widgets we need to power and store them in in dapm_power_widgets()
1986 * only check widgets that have been flagged as dirty but note in dapm_power_widgets()
1987 * that new widgets may be added to the dirty list while we in dapm_power_widgets()
1998 /* These widgets always need to be powered */ in dapm_power_widgets()
2066 /* Power down widgets first; try to avoid amplifying pops. */ in dapm_power_widgets()
2122 /* Supply widgets are not handled by is_connected_{input,output}_ep() */ in dapm_widget_power_read_file()
2406 /* only display widgets that burn power */ in dapm_widget_show_component()
2505 * source and sink widgets so that path is removed only once. in snd_soc_dapm_free_widget()
2525 /* free all dapm widgets and resources */
2619 * Walks all dapm audio paths and powers widgets according to their
2643 * Walks all dapm audio paths and powers widgets according to their
2735 * Some widgets have a dynamic category which depends on which neighbors they
2736 * are connected to. This function update the category for these widgets.
2841 struct snd_soc_dapm_widget *widgets[2]; in snd_soc_dapm_add_path() local
2855 "connected() callback only supported for supply widgets (%s -> %s)\n", in snd_soc_dapm_add_path()
2862 "Conditional paths are not supported for supply widgets (%s -> [%s] -> %s)\n", in snd_soc_dapm_add_path()
2877 widgets[SND_SOC_DAPM_DIR_IN] = wsource; in snd_soc_dapm_add_path()
2878 widgets[SND_SOC_DAPM_DIR_OUT] = wsink; in snd_soc_dapm_add_path()
2921 list_add(&path->list_node[dir], &widgets[dir]->edges[dir]); in snd_soc_dapm_add_path()
2924 dapm_update_widget_flags(widgets[dir]); in snd_soc_dapm_add_path()
2925 dapm_mark_dirty(widgets[dir], "Route added"); in snd_soc_dapm_add_path()
2971 * find src and dest widgets over all widgets but favor a widget from in snd_soc_dapm_add_route()
3098 * snd_soc_dapm_add_routes - Add routes between DAPM widgets
3103 * Connects 2 dapm widgets together via a named audio path. The sink is
3134 * snd_soc_dapm_del_routes - Remove routes between DAPM widgets
3203 * snd_soc_dapm_weak_routes - Mark routes between DAPM widgets as weak
3238 * snd_soc_dapm_new_widgets - add new dapm widgets
3239 * @card: card to be checked for new dapm widgets
3241 * Checks the codec for any new dapm widgets and creates them if found.
3755 list_add_tail(&w->list, &dapm->card->widgets); in snd_soc_dapm_new_control_unlocked()
3804 * @num: number of widgets
4227 * snd_soc_dapm_new_dai_widgets - Create new DAPM widgets
4305 /* ...find all widgets with the same stream and link them */ in snd_soc_dapm_link_dai_widgets()
4374 /* connect BE DAI playback if widgets are valid */ in dapm_connect_dai_pair()
4393 /* connect BE DAI capture if widgets are valid */ in dapm_connect_dai_pair()
4541 * Enables input/output pin and its parents or children widgets iff there is
4561 * Enables input/output pin and its parents or children widgets iff there is
4654 * Disables input/output pin and its parents or children widgets.
4673 * Disables input/output pin and its parents or children widgets.
4699 * any parent or child widgets. At present this is identical to
4722 * any parent or child widgets. At present this is identical to
4796 * Free all dapm widgets and resources.
4847 /* If there were no widgets to power down we're already in in soc_dapm_shutdown_dapm()