Lines Matching refs:snd_soc_dapm_widget
52 struct snd_soc_dapm_widget *wsource, struct snd_soc_dapm_widget *wsink,
54 int (*connected)(struct snd_soc_dapm_widget *source,
55 struct snd_soc_dapm_widget *sink));
57 struct snd_soc_dapm_widget *
59 const struct snd_soc_dapm_widget *widget);
61 struct snd_soc_dapm_widget *
63 const struct snd_soc_dapm_widget *widget);
183 static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w)
188 static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason)
207 struct snd_soc_dapm_widget *w, enum snd_soc_dapm_direction dir)
210 struct snd_soc_dapm_widget *node;
247 static void dapm_widget_invalidate_input_paths(struct snd_soc_dapm_widget *w)
264 static void dapm_widget_invalidate_output_paths(struct snd_soc_dapm_widget *w)
303 struct snd_soc_dapm_widget *w;
322 static inline struct snd_soc_dapm_widget *dapm_cnew_widget(
323 const struct snd_soc_dapm_widget *_widget)
325 struct snd_soc_dapm_widget *w;
347 struct snd_soc_dapm_widget *widget;
352 static int dapm_kcontrol_data_alloc(struct snd_soc_dapm_widget *widget,
374 struct snd_soc_dapm_widget template;
417 struct snd_soc_dapm_widget template;
483 struct snd_soc_dapm_widget *widget)
581 struct snd_soc_dapm_widget *snd_soc_dapm_kcontrol_widget(
605 struct snd_soc_dapm_widget *w;
654 static struct snd_soc_dapm_widget *
655 dapm_wcache_lookup(struct snd_soc_dapm_widget *w, const char *name)
743 struct snd_soc_dapm_widget *w)
841 struct snd_soc_dapm_widget *kcontrolw,
845 struct snd_soc_dapm_widget *w;
869 static int dapm_create_or_share_kcontrol(struct snd_soc_dapm_widget *w,
979 static int dapm_new_mixer(struct snd_soc_dapm_widget *w)
1014 static int dapm_new_mux(struct snd_soc_dapm_widget *w)
1060 static int dapm_new_pga(struct snd_soc_dapm_widget *w)
1074 static int dapm_new_dai_link(struct snd_soc_dapm_widget *w)
1108 static int snd_soc_dapm_suspend_check(struct snd_soc_dapm_widget *widget)
1132 struct snd_soc_dapm_widget *w;
1157 static void invalidate_paths_ep(struct snd_soc_dapm_widget *widget,
1187 static __always_inline int is_connected_ep(struct snd_soc_dapm_widget *widget,
1189 int (*fn)(struct snd_soc_dapm_widget *, struct list_head *,
1190 bool (*custom_stop_condition)(struct snd_soc_dapm_widget *,
1192 bool (*custom_stop_condition)(struct snd_soc_dapm_widget *,
1250 static int is_connected_output_ep(struct snd_soc_dapm_widget *widget,
1252 bool (*custom_stop_condition)(struct snd_soc_dapm_widget *i,
1268 static int is_connected_input_ep(struct snd_soc_dapm_widget *widget,
1270 bool (*custom_stop_condition)(struct snd_soc_dapm_widget *i,
1298 bool (*custom_stop_condition)(struct snd_soc_dapm_widget *,
1302 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(dai, stream);
1342 int dapm_regulator_event(struct snd_soc_dapm_widget *w,
1376 int dapm_pinctrl_event(struct snd_soc_dapm_widget *w,
1401 int dapm_clock_event(struct snd_soc_dapm_widget *w,
1420 static int dapm_widget_power_check(struct snd_soc_dapm_widget *w)
1436 static int dapm_generic_check_power(struct snd_soc_dapm_widget *w)
1448 static int dapm_supply_check_power(struct snd_soc_dapm_widget *w)
1472 static int dapm_always_on_check_power(struct snd_soc_dapm_widget *w)
1477 static int dapm_seq_compare(struct snd_soc_dapm_widget *a,
1478 struct snd_soc_dapm_widget *b,
1511 static void dapm_seq_insert(struct snd_soc_dapm_widget *new_widget,
1515 struct snd_soc_dapm_widget *w;
1527 struct snd_soc_dapm_widget *w, int event)
1585 struct snd_soc_dapm_widget *w;
1590 w = list_first_entry(pending, struct snd_soc_dapm_widget, power_list);
1642 struct snd_soc_dapm_widget *w, *n;
1743 struct snd_soc_dapm_widget *w = NULL;
1861 static void dapm_widget_set_peer_power(struct snd_soc_dapm_widget *peer,
1876 static void dapm_power_one_widget(struct snd_soc_dapm_widget *w,
1949 struct snd_soc_dapm_widget *w;
2094 struct snd_soc_dapm_widget *w = file->private_data;
2210 static void dapm_debugfs_add_widget(struct snd_soc_dapm_widget *w)
2221 static void dapm_debugfs_free_widget(struct snd_soc_dapm_widget *w)
2243 static inline void dapm_debugfs_add_widget(struct snd_soc_dapm_widget *w)
2247 static inline void dapm_debugfs_free_widget(struct snd_soc_dapm_widget *w)
2391 struct snd_soc_dapm_widget *w;
2494 void snd_soc_dapm_free_widget(struct snd_soc_dapm_widget *w)
2526 struct snd_soc_dapm_widget *w, *next_w;
2538 static struct snd_soc_dapm_widget *dapm_find_widget(
2542 struct snd_soc_dapm_widget *w;
2543 struct snd_soc_dapm_widget *fallback = NULL;
2579 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true);
2660 struct snd_soc_dapm_widget *w,
2690 struct snd_soc_dapm_widget *w;
2731 int snd_soc_dapm_widget_name_cmp(struct snd_soc_dapm_widget *widget, const char *s)
2752 static void dapm_update_widget_flags(struct snd_soc_dapm_widget *w)
2804 struct snd_soc_dapm_widget *source, struct snd_soc_dapm_widget *sink,
2848 struct snd_soc_dapm_widget *wsource, struct snd_soc_dapm_widget *wsink,
2850 int (*connected)(struct snd_soc_dapm_widget *source,
2851 struct snd_soc_dapm_widget *sink))
2950 struct snd_soc_dapm_widget *wsource = NULL, *wsink = NULL, *w;
2951 struct snd_soc_dapm_widget *wtsource = NULL, *wtsink = NULL;
3083 struct snd_soc_dapm_widget *wsource = path->source;
3084 struct snd_soc_dapm_widget *wsink = path->sink;
3162 struct snd_soc_dapm_widget *source = dapm_find_widget(dapm,
3165 struct snd_soc_dapm_widget *sink = dapm_find_widget(dapm,
3249 struct snd_soc_dapm_widget *w;
3626 struct snd_soc_dapm_widget *
3628 const struct snd_soc_dapm_widget *widget)
3631 struct snd_soc_dapm_widget *w;
3786 struct snd_soc_dapm_widget *
3788 const struct snd_soc_dapm_widget *widget)
3790 struct snd_soc_dapm_widget *w;
3811 const struct snd_soc_dapm_widget *widget,
3819 struct snd_soc_dapm_widget *w = snd_soc_dapm_new_control_unlocked(dapm, widget);
3832 snd_soc_dai_link_event_pre_pmu(struct snd_soc_dapm_widget *w,
3955 static int snd_soc_dai_link_event(struct snd_soc_dapm_widget *w,
4037 struct snd_soc_dapm_widget *w = snd_kcontrol_chip(kcontrol);
4048 struct snd_soc_dapm_widget *w = snd_kcontrol_chip(kcontrol);
4152 static struct snd_soc_dapm_widget *
4158 struct snd_soc_dapm_widget template;
4159 struct snd_soc_dapm_widget *w;
4236 struct snd_soc_dapm_widget template;
4237 struct snd_soc_dapm_widget *w;
4282 struct snd_soc_dapm_widget *dai_w, *w;
4283 struct snd_soc_dapm_widget *src, *sink;
4338 struct snd_soc_dapm_widget *src,
4339 struct snd_soc_dapm_widget *dai,
4341 struct snd_soc_dapm_widget *sink)
4361 struct snd_soc_dapm_widget *codec, *cpu;
4364 struct snd_soc_dapm_widget **src[] = { &cpu, &codec };
4365 struct snd_soc_dapm_widget **sink[] = { &codec, &cpu };
4385 struct snd_soc_dapm_widget *dai = snd_soc_dapm_new_dai(card, substream,
4403 struct snd_soc_dapm_widget *w;
4608 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true);
4766 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true);
4789 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, false);
4841 struct snd_soc_dapm_widget *w;