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
502 struct_size(new_wlist, widgets, n), in dapm_kcontrol_add_widget()
508 new_wlist->widgets[n - 1] = widget; in dapm_kcontrol_add_widget()
562 switch (dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->id) { in dapm_kcontrol_set_value()
591 return dapm_kcontrol_get_wlist(kcontrol)->widgets[0]; in snd_soc_dapm_kcontrol_widget()
606 return dapm_kcontrol_get_wlist(kcontrol)->widgets[0]->dapm; in snd_soc_dapm_kcontrol_dapm()
665 struct list_head *wlist = &w->dapm->card->widgets; in dapm_wcache_lookup()
933 * prefix for widgets so cut the prefix off the in dapm_create_or_share_kcontrol()
1137 struct list_head *widgets) in dapm_widget_list_create() argument
1144 list_for_each(it, widgets) in dapm_widget_list_create()
1147 *list = kzalloc(struct_size(*list, widgets, size), GFP_KERNEL); in dapm_widget_list_create()
1151 list_for_each_entry(w, widgets, work_list) in dapm_widget_list_create()
1152 (*list)->widgets[i++] = w; in dapm_widget_list_create()
1161 * widget and all widgets that can be reached via incoming or outcoming paths
1254 * direction as an arguments, it should return true if widgets from that point
1285 * snd_soc_dapm_dai_get_connected_widgets - query audio path and it's widgets.
1288 * @list: list of active widgets for this stream.
1294 * current mixer and mux kcontrol settings. Creates list of valid widgets.
1310 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()
1322 paths = is_connected_input_ep(w, &widgets, in snd_soc_dapm_dai_get_connected_widgets()
1327 list_del(widgets.next); in snd_soc_dapm_dai_get_connected_widgets()
1329 ret = dapm_widget_list_create(list, &widgets); in snd_soc_dapm_dai_get_connected_widgets()
1640 * We walk over a pre-sorted list of widgets to apply power to. In
1642 * multiple widgets will be updated in a single write where possible.
1872 * 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()
2114 /* Supply widgets are not handled by is_connected_{input,output}_ep() */ in dapm_widget_power_read_file()
2412 /* only display widgets that burn power */ in dapm_widget_show_component()
2514 * source and sink widgets so that path is removed only once. in snd_soc_dapm_free_widget()
2530 /* free all dapm widgets and resources */
2626 * Walks all dapm audio paths and powers widgets according to their
2650 * Walks all dapm audio paths and powers widgets according to their
2754 * Some widgets have a dynamic category which depends on which neighbors they
2755 * are connected to. This function update the category for these widgets.
2873 "connected() callback only supported for supply widgets (%s -> %s)\n", in snd_soc_dapm_add_path()
2880 "Conditional paths are not supported for supply widgets (%s -> [%s] -> %s)\n", in snd_soc_dapm_add_path()
2988 * find src and dest widgets over all widgets but favor a widget from in snd_soc_dapm_add_route()
3112 * snd_soc_dapm_add_routes - Add routes between DAPM widgets
3117 * Connects 2 dapm widgets together via a named audio path. The sink is
3143 * snd_soc_dapm_del_routes - Remove routes between DAPM widgets
3212 * snd_soc_dapm_weak_routes - Mark routes between DAPM widgets as weak
3247 * snd_soc_dapm_new_widgets - add new dapm widgets
3248 * @card: card to be checked for new dapm widgets
3250 * Checks the codec for any new dapm widgets and creates them if found.
3754 list_add_tail(&w->list, &dapm->card->widgets); in snd_soc_dapm_new_control_unlocked()
3802 * @num: number of widgets
4225 * snd_soc_dapm_new_dai_widgets - Create new DAPM widgets
4303 /* ...find all widgets with the same stream and link them */ in snd_soc_dapm_link_dai_widgets()
4373 /* connect BE DAI playback if widgets are valid */ in dapm_connect_dai_pair()
4528 * Enables input/output pin and its parents or children widgets iff there is
4548 * Enables input/output pin and its parents or children widgets iff there is
4641 * Disables input/output pin and its parents or children widgets.
4660 * Disables input/output pin and its parents or children widgets.
4686 * any parent or child widgets. At present this is identical to
4709 * any parent or child widgets. At present this is identical to
4783 * Free all dapm widgets and resources.
4834 /* If there were no widgets to power down we're already in in soc_dapm_shutdown_dapm()