Lines Matching refs:snd_soc_dapm_widget
58 struct snd_soc_dapm_widget *wsource, struct snd_soc_dapm_widget *wsink,
60 int (*connected)(struct snd_soc_dapm_widget *source,
61 struct snd_soc_dapm_widget *sink));
63 struct snd_soc_dapm_widget *
65 const struct snd_soc_dapm_widget *widget);
67 struct snd_soc_dapm_widget *
69 const struct snd_soc_dapm_widget *widget);
160 static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w) in dapm_dirty_widget()
165 static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) in dapm_mark_dirty()
184 struct snd_soc_dapm_widget *w, enum snd_soc_dapm_direction dir) in dapm_widget_invalidate_paths()
187 struct snd_soc_dapm_widget *node; in dapm_widget_invalidate_paths()
224 static void dapm_widget_invalidate_input_paths(struct snd_soc_dapm_widget *w) in dapm_widget_invalidate_input_paths()
241 static void dapm_widget_invalidate_output_paths(struct snd_soc_dapm_widget *w) in dapm_widget_invalidate_output_paths()
280 struct snd_soc_dapm_widget *w; in dapm_mark_endpoints_dirty()
299 static inline struct snd_soc_dapm_widget *dapm_cnew_widget( in dapm_cnew_widget()
300 const struct snd_soc_dapm_widget *_widget) in dapm_cnew_widget()
307 struct snd_soc_dapm_widget *widget;
312 static int dapm_kcontrol_data_alloc(struct snd_soc_dapm_widget *widget, in dapm_kcontrol_data_alloc()
334 struct snd_soc_dapm_widget template; in dapm_kcontrol_data_alloc()
372 struct snd_soc_dapm_widget template; in dapm_kcontrol_data_alloc()
433 struct snd_soc_dapm_widget *widget) in dapm_kcontrol_add_widget()
516 struct snd_soc_dapm_widget *snd_soc_dapm_kcontrol_widget( in snd_soc_dapm_kcontrol_widget()
540 struct snd_soc_dapm_widget *w; in dapm_reset()
590 static struct snd_soc_dapm_widget *
593 struct snd_soc_dapm_widget *w = wcache->widget; in dapm_wcache_lookup()
614 struct snd_soc_dapm_widget *w) in dapm_wcache_update()
690 struct snd_soc_dapm_widget *w) in dapm_connect_mux()
766 struct snd_soc_dapm_widget *kcontrolw, in dapm_is_shared_kcontrol()
770 struct snd_soc_dapm_widget *w; in dapm_is_shared_kcontrol()
794 static int dapm_create_or_share_kcontrol(struct snd_soc_dapm_widget *w, in dapm_create_or_share_kcontrol()
900 static int dapm_new_mixer(struct snd_soc_dapm_widget *w) in dapm_new_mixer()
935 static int dapm_new_mux(struct snd_soc_dapm_widget *w) in dapm_new_mux()
981 static int dapm_new_pga(struct snd_soc_dapm_widget *w) in dapm_new_pga()
995 static int dapm_new_dai_link(struct snd_soc_dapm_widget *w) in dapm_new_dai_link()
1028 static int snd_soc_dapm_suspend_check(struct snd_soc_dapm_widget *widget) in snd_soc_dapm_suspend_check()
1047 struct snd_soc_dapm_widget *w; in dapm_widget_list_create()
1074 static __always_inline int is_connected_ep(struct snd_soc_dapm_widget *widget, in is_connected_ep()
1076 int (*fn)(struct snd_soc_dapm_widget *, struct list_head *)) in is_connected_ep() argument
1123 static int is_connected_output_ep(struct snd_soc_dapm_widget *widget, in is_connected_output_ep()
1134 static int is_connected_input_ep(struct snd_soc_dapm_widget *widget, in is_connected_input_ep()
1157 struct snd_soc_dapm_widget *w; in snd_soc_dapm_dai_get_connected_widgets()
1194 int dapm_regulator_event(struct snd_soc_dapm_widget *w, in dapm_regulator_event()
1228 int dapm_clock_event(struct snd_soc_dapm_widget *w, in dapm_clock_event()
1248 static int dapm_widget_power_check(struct snd_soc_dapm_widget *w) in dapm_widget_power_check()
1265 static int dapm_generic_check_power(struct snd_soc_dapm_widget *w) in dapm_generic_check_power()
1277 static int dapm_supply_check_power(struct snd_soc_dapm_widget *w) in dapm_supply_check_power()
1301 static int dapm_always_on_check_power(struct snd_soc_dapm_widget *w) in dapm_always_on_check_power()
1306 static int dapm_seq_compare(struct snd_soc_dapm_widget *a, in dapm_seq_compare()
1307 struct snd_soc_dapm_widget *b, in dapm_seq_compare()
1334 static void dapm_seq_insert(struct snd_soc_dapm_widget *new_widget, in dapm_seq_insert()
1338 struct snd_soc_dapm_widget *w; in dapm_seq_insert()
1350 struct snd_soc_dapm_widget *w, int event) in dapm_seq_check_event()
1406 struct snd_soc_dapm_widget *w; in dapm_seq_run_coalesced()
1411 w = list_first_entry(pending, struct snd_soc_dapm_widget, power_list); in dapm_seq_run_coalesced()
1463 struct snd_soc_dapm_widget *w, *n; in dapm_seq_run()
1566 struct snd_soc_dapm_widget *w = NULL; in dapm_widget_update()
1679 static void dapm_widget_set_peer_power(struct snd_soc_dapm_widget *peer, in dapm_widget_set_peer_power()
1694 static void dapm_widget_set_power(struct snd_soc_dapm_widget *w, bool power, in dapm_widget_set_power()
1724 static void dapm_power_one_widget(struct snd_soc_dapm_widget *w, in dapm_power_one_widget()
1773 struct snd_soc_dapm_widget *w; in dapm_power_widgets()
1912 struct snd_soc_dapm_widget *w = file->private_data; in dapm_widget_power_read_file()
2041 static void dapm_debugfs_add_widget(struct snd_soc_dapm_widget *w) in dapm_debugfs_add_widget()
2069 static inline void dapm_debugfs_add_widget(struct snd_soc_dapm_widget *w) in dapm_debugfs_add_widget()
2187 struct snd_soc_dapm_widget *w; in dapm_widget_show_component()
2282 void snd_soc_dapm_free_widget(struct snd_soc_dapm_widget *w) in snd_soc_dapm_free_widget()
2312 struct snd_soc_dapm_widget *w, *next_w; in dapm_free_widgets()
2322 static struct snd_soc_dapm_widget *dapm_find_widget( in dapm_find_widget()
2326 struct snd_soc_dapm_widget *w; in dapm_find_widget()
2327 struct snd_soc_dapm_widget *fallback = NULL; in dapm_find_widget()
2347 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); in snd_soc_dapm_set_pin()
2422 static void dapm_update_widget_flags(struct snd_soc_dapm_widget *w) in dapm_update_widget_flags()
2474 struct snd_soc_dapm_widget *source, struct snd_soc_dapm_widget *sink, in snd_soc_dapm_check_dynamic_path()
2518 struct snd_soc_dapm_widget *wsource, struct snd_soc_dapm_widget *wsink, in snd_soc_dapm_add_path()
2520 int (*connected)(struct snd_soc_dapm_widget *source, in snd_soc_dapm_add_path()
2521 struct snd_soc_dapm_widget *sink)) in snd_soc_dapm_add_path()
2523 struct snd_soc_dapm_widget *widgets[2]; in snd_soc_dapm_add_path()
2622 struct snd_soc_dapm_widget *wsource = NULL, *wsink = NULL, *w; in snd_soc_dapm_add_route()
2623 struct snd_soc_dapm_widget *wtsource = NULL, *wtsink = NULL; in snd_soc_dapm_add_route()
2709 struct snd_soc_dapm_widget *wsource, *wsink; in snd_soc_dapm_del_route()
2831 struct snd_soc_dapm_widget *source = dapm_find_widget(dapm, in snd_soc_dapm_weak_route()
2834 struct snd_soc_dapm_widget *sink = dapm_find_widget(dapm, in snd_soc_dapm_weak_route()
2918 struct snd_soc_dapm_widget *w; in snd_soc_dapm_new_widgets()
3269 struct snd_soc_dapm_widget *
3271 const struct snd_soc_dapm_widget *widget) in snd_soc_dapm_new_control()
3273 struct snd_soc_dapm_widget *w; in snd_soc_dapm_new_control()
3286 struct snd_soc_dapm_widget *
3288 const struct snd_soc_dapm_widget *widget) in snd_soc_dapm_new_control_unlocked()
3291 struct snd_soc_dapm_widget *w; in snd_soc_dapm_new_control_unlocked()
3424 const struct snd_soc_dapm_widget *widget, in snd_soc_dapm_new_controls()
3427 struct snd_soc_dapm_widget *w; in snd_soc_dapm_new_controls()
3448 static int snd_soc_dai_link_event(struct snd_soc_dapm_widget *w, in snd_soc_dai_link_event()
3576 struct snd_soc_dapm_widget *w = snd_kcontrol_chip(kcontrol); in snd_soc_dapm_dai_link_get()
3586 struct snd_soc_dapm_widget *w = snd_kcontrol_chip(kcontrol); in snd_soc_dapm_dai_link_put()
3606 struct snd_soc_dapm_widget *source, in snd_soc_dapm_new_pcm()
3607 struct snd_soc_dapm_widget *sink) in snd_soc_dapm_new_pcm()
3609 struct snd_soc_dapm_widget template; in snd_soc_dapm_new_pcm()
3610 struct snd_soc_dapm_widget *w; in snd_soc_dapm_new_pcm()
3734 struct snd_soc_dapm_widget template; in snd_soc_dapm_new_dai_widgets()
3735 struct snd_soc_dapm_widget *w; in snd_soc_dapm_new_dai_widgets()
3785 struct snd_soc_dapm_widget *dai_w, *w; in snd_soc_dapm_link_dai_widgets()
3786 struct snd_soc_dapm_widget *src, *sink; in snd_soc_dapm_link_dai_widgets()
3836 struct snd_soc_dapm_widget *sink, *source; in dapm_connect_dai_link_widgets()
3871 struct snd_soc_dapm_widget *w; in soc_dapm_dai_stream_event()
4023 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); in snd_soc_dapm_force_enable_pin_unlocked()
4181 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); in snd_soc_dapm_get_pin_status()
4204 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, false); in snd_soc_dapm_ignore_suspend()
4234 struct snd_soc_dapm_widget *w; in soc_dapm_shutdown_dapm()