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,
379 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 *
657 struct snd_soc_dapm_widget *w = wcache->widget;
678 struct snd_soc_dapm_widget *w)
752 struct snd_soc_dapm_widget *w)
849 struct snd_soc_dapm_widget *kcontrolw,
853 struct snd_soc_dapm_widget *w;
877 static int dapm_create_or_share_kcontrol(struct snd_soc_dapm_widget *w,
985 static int dapm_new_mixer(struct snd_soc_dapm_widget *w)
1020 static int dapm_new_mux(struct snd_soc_dapm_widget *w)
1066 static int dapm_new_pga(struct snd_soc_dapm_widget *w)
1080 static int dapm_new_dai_link(struct snd_soc_dapm_widget *w)
1114 static int snd_soc_dapm_suspend_check(struct snd_soc_dapm_widget *widget)
1138 struct snd_soc_dapm_widget *w;
1163 static void invalidate_paths_ep(struct snd_soc_dapm_widget *widget,
1193 static __always_inline int is_connected_ep(struct snd_soc_dapm_widget *widget,
1195 int (*fn)(struct snd_soc_dapm_widget *, struct list_head *,
1196 bool (*custom_stop_condition)(struct snd_soc_dapm_widget *,
1198 bool (*custom_stop_condition)(struct snd_soc_dapm_widget *,
1256 static int is_connected_output_ep(struct snd_soc_dapm_widget *widget,
1258 bool (*custom_stop_condition)(struct snd_soc_dapm_widget *i,
1274 static int is_connected_input_ep(struct snd_soc_dapm_widget *widget,
1276 bool (*custom_stop_condition)(struct snd_soc_dapm_widget *i,
1304 bool (*custom_stop_condition)(struct snd_soc_dapm_widget *,
1308 struct snd_soc_dapm_widget *w;
1348 int dapm_regulator_event(struct snd_soc_dapm_widget *w,
1382 int dapm_pinctrl_event(struct snd_soc_dapm_widget *w,
1407 int dapm_clock_event(struct snd_soc_dapm_widget *w,
1426 static int dapm_widget_power_check(struct snd_soc_dapm_widget *w)
1442 static int dapm_generic_check_power(struct snd_soc_dapm_widget *w)
1454 static int dapm_supply_check_power(struct snd_soc_dapm_widget *w)
1478 static int dapm_always_on_check_power(struct snd_soc_dapm_widget *w)
1483 static int dapm_seq_compare(struct snd_soc_dapm_widget *a,
1484 struct snd_soc_dapm_widget *b,
1517 static void dapm_seq_insert(struct snd_soc_dapm_widget *new_widget,
1521 struct snd_soc_dapm_widget *w;
1533 struct snd_soc_dapm_widget *w, int event)
1589 struct snd_soc_dapm_widget *w;
1594 w = list_first_entry(pending, struct snd_soc_dapm_widget, power_list);
1646 struct snd_soc_dapm_widget *w, *n;
1747 struct snd_soc_dapm_widget *w = NULL;
1865 static void dapm_widget_set_peer_power(struct snd_soc_dapm_widget *peer,
1880 static void dapm_widget_set_power(struct snd_soc_dapm_widget *w, bool power,
1910 static void dapm_power_one_widget(struct snd_soc_dapm_widget *w,
1959 struct snd_soc_dapm_widget *w;
2104 struct snd_soc_dapm_widget *w = file->private_data;
2221 static void dapm_debugfs_add_widget(struct snd_soc_dapm_widget *w)
2244 static inline void dapm_debugfs_add_widget(struct snd_soc_dapm_widget *w)
2388 struct snd_soc_dapm_widget *w;
2486 void snd_soc_dapm_free_widget(struct snd_soc_dapm_widget *w)
2518 struct snd_soc_dapm_widget *w, *next_w;
2528 static struct snd_soc_dapm_widget *dapm_find_widget(
2532 struct snd_soc_dapm_widget *w;
2533 struct snd_soc_dapm_widget *fallback = NULL;
2569 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true);
2650 struct snd_soc_dapm_widget *w,
2680 struct snd_soc_dapm_widget *w;
2730 static void dapm_update_widget_flags(struct snd_soc_dapm_widget *w)
2782 struct snd_soc_dapm_widget *source, struct snd_soc_dapm_widget *sink,
2826 struct snd_soc_dapm_widget *wsource, struct snd_soc_dapm_widget *wsink,
2828 int (*connected)(struct snd_soc_dapm_widget *source,
2829 struct snd_soc_dapm_widget *sink))
2831 struct snd_soc_dapm_widget *widgets[2];
2930 struct snd_soc_dapm_widget *wsource = NULL, *wsink = NULL, *w;
2931 struct snd_soc_dapm_widget *wtsource = NULL, *wtsink = NULL;
3029 struct snd_soc_dapm_widget *wsource, *wsink;
3151 struct snd_soc_dapm_widget *source = dapm_find_widget(dapm,
3154 struct snd_soc_dapm_widget *sink = dapm_find_widget(dapm,
3238 struct snd_soc_dapm_widget *w;
3617 struct snd_soc_dapm_widget *
3619 const struct snd_soc_dapm_widget *widget)
3622 struct snd_soc_dapm_widget *w;
3779 struct snd_soc_dapm_widget *
3781 const struct snd_soc_dapm_widget *widget)
3783 struct snd_soc_dapm_widget *w;
3804 const struct snd_soc_dapm_widget *widget,
3807 struct snd_soc_dapm_widget *w;
3826 snd_soc_dai_link_event_pre_pmu(struct snd_soc_dapm_widget *w,
3943 static int snd_soc_dai_link_event(struct snd_soc_dapm_widget *w,
4034 struct snd_soc_dapm_widget *w = snd_kcontrol_chip(kcontrol);
4045 struct snd_soc_dapm_widget *w = snd_kcontrol_chip(kcontrol);
4149 static struct snd_soc_dapm_widget *
4155 struct snd_soc_dapm_widget template;
4156 struct snd_soc_dapm_widget *w;
4226 struct snd_soc_dapm_widget template;
4227 struct snd_soc_dapm_widget *w;
4271 struct snd_soc_dapm_widget *dai_w, *w;
4272 struct snd_soc_dapm_widget *src, *sink;
4327 struct snd_soc_dapm_widget *src,
4328 struct snd_soc_dapm_widget *dai,
4330 struct snd_soc_dapm_widget *sink)
4350 struct snd_soc_dapm_widget *dai, *codec, *playback_cpu, *capture_cpu;
4401 struct snd_soc_dapm_widget *w;
4583 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true);
4741 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true);
4764 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, false);
4816 struct snd_soc_dapm_widget *w;