Lines Matching defs:list
212 LIST_HEAD(list);
219 list_add_tail(&w->work_list, &list);
222 list_for_each_entry(w, &list, work_list) {
229 list_add_tail(&node->work_list, &list);
665 list_for_each_entry_from(w, wlist, list) {
875 * create it. Either way, add the widget into the control's widget list
1130 static void dapm_widget_list_free(struct snd_soc_dapm_widget_list **list)
1132 kfree(*list);
1135 static int dapm_widget_list_create(struct snd_soc_dapm_widget_list **list,
1146 *list = kzalloc(struct_size(*list, widgets, size), GFP_KERNEL);
1147 if (*list == NULL)
1151 (*list)->widgets[i++] = w;
1153 (*list)->num_widgets = i;
1194 struct list_head *list, enum snd_soc_dapm_direction dir,
1210 /* do we need to add this widget to the list ? */
1211 if (list)
1212 list_add_tail(&widget->work_list, list);
1215 list = NULL;
1237 con += fn(path->node[dir], list, custom_stop_condition);
1254 * in the graph onwards should not be added to the widget list.
1257 struct list_head *list,
1261 return is_connected_ep(widget, list, SND_SOC_DAPM_DIR_OUT,
1275 struct list_head *list,
1279 return is_connected_ep(widget, list, SND_SOC_DAPM_DIR_IN,
1287 * @list: list of active widgets for this stream.
1293 * current mixer and mux kcontrol settings. Creates list of valid widgets.
1303 struct snd_soc_dapm_widget_list **list,
1330 ret = dapm_widget_list_create(list, &widgets);
1340 void snd_soc_dapm_dai_free_widgets(struct snd_soc_dapm_widget_list **list)
1342 dapm_widget_list_free(list);
1518 struct list_head *list,
1523 list_for_each_entry(w, list, power_list)
1529 list_add_tail(&new_widget->power_list, list);
1637 * We walk over a pre-sorted list of widgets to apply power to. In
1644 struct list_head *list, int event, bool power_up)
1661 list_for_each_entry_safe(w, n, list, power_list) {
1983 * that new widgets may be added to the dirty list while we
2482 list_del(&path->list);
2491 list_del(&w->list);
2871 INIT_LIST_HEAD(&path->list);
2909 list_add(&path->list, &dapm->card->paths);
3057 list_for_each_entry(p, &dapm->card->paths, list) {
3746 INIT_LIST_HEAD(&w->list);
3749 list_add_tail(&w->list, &dapm->card->widgets);
4787 list_del(&dapm->list);
4807 INIT_LIST_HEAD(&dapm->list);
4809 list_add(&dapm->list, &card->dapm_list);