Lines Matching full:widgets
241 * Resets the cached number of inputs for the specified widget and all widgets
258 * Resets the cached number of outputs for the specified widget and all widgets
272 * for the widgets connected to a path
501 struct_size(new_wlist, widgets, n), in dapm_kcontrol_add_widget()
507 new_wlist->widgets[n - 1] = widget; in dapm_kcontrol_add_widget()
561 switch (dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->id) { in dapm_kcontrol_set_value()
590 return dapm_kcontrol_get_wlist(kcontrol)->widgets[0]; in snd_soc_dapm_kcontrol_widget()
605 return dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->dapm; in snd_soc_dapm_kcontrol_dapm()
664 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()
1152 list_for_each_entry(w, widgets, work_list) in dapm_widget_list_create()
1153 (*list)->widgets[i++] = w; in dapm_widget_list_create()
1162 * widget and all widgets that can be reached via incoming or outcoming paths
1255 * direction as an arguments, it should return true if widgets from that point
1286 * snd_soc_dapm_dai_get_connected_widgets - query audio path and it's widgets.
1289 * @list: list of active widgets for this stream.
1295 * current mixer and mux kcontrol settings. Creates list of valid widgets.
1311 LIST_HEAD(widgets); in snd_soc_dapm_dai_get_connected_widgets()
1319 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()
1978 /* Check which widgets we need to power and store them in in dapm_power_widgets()
1980 * only check widgets that have been flagged as dirty but note in dapm_power_widgets()
1981 * that new widgets may be added to the dirty list while we in dapm_power_widgets()
1992 /* These widgets always need to be powered */ in dapm_power_widgets()
2060 /* Power down widgets first; try to avoid amplifying pops. */ in dapm_power_widgets()
2160 /* Supply widgets are not handled by is_connected_{input,output}_ep() */ in dapm_widget_power_read_file()
2463 /* only display widgets that burn power */ in dapm_widget_show_component()
2565 * source and sink widgets so that path is removed only once. in snd_soc_dapm_free_widget()
2581 /* free all dapm widgets and resources */
2677 * Walks all dapm audio paths and powers widgets according to their
2701 * Walks all dapm audio paths and powers widgets according to their
2804 * Some widgets have a dynamic category which depends on which neighbors they
2805 * are connected to. This function update the category for these widgets.
2923 "connected() callback only supported for supply widgets (%s -> %s)\n", in snd_soc_dapm_add_path()
2930 "Conditional paths are not supported for supply widgets (%s -> [%s] -> %s)\n", in snd_soc_dapm_add_path()
3038 * find src and dest widgets over all widgets but favor a widget from in snd_soc_dapm_add_route()
3162 * snd_soc_dapm_add_routes - Add routes between DAPM widgets
3167 * Connects 2 dapm widgets together via a named audio path. The sink is
3193 * snd_soc_dapm_del_routes - Remove routes between DAPM widgets
3262 * snd_soc_dapm_weak_routes - Mark routes between DAPM widgets as weak
3297 * snd_soc_dapm_new_widgets - add new dapm widgets
3298 * @card: card to be checked for new dapm widgets
3300 * Checks the codec for any new dapm widgets and creates them if found.
3804 list_add_tail(&w->list, &dapm->card->widgets); in snd_soc_dapm_new_control_unlocked()
3852 * @num: number of widgets
4268 * snd_soc_dapm_new_dai_widgets - Create new DAPM widgets
4346 /* ...find all widgets with the same stream and link them */ in snd_soc_dapm_link_dai_widgets()
4416 /* connect BE DAI playback if widgets are valid */ in dapm_connect_dai_pair()
4571 * Enables input/output pin and its parents or children widgets iff there is
4591 * Enables input/output pin and its parents or children widgets iff there is
4684 * Disables input/output pin and its parents or children widgets.
4703 * Disables input/output pin and its parents or children widgets.
4729 * any parent or child widgets. At present this is identical to
4752 * any parent or child widgets. At present this is identical to
4826 * Free all dapm widgets and resources.
4877 /* If there were no widgets to power down we're already in in soc_dapm_shutdown_dapm()