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) in dapm_dirty_widget()
188 static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) in dapm_mark_dirty()
207 struct snd_soc_dapm_widget *w, enum snd_soc_dapm_direction dir) in dapm_widget_invalidate_paths()
210 struct snd_soc_dapm_widget *node; in dapm_widget_invalidate_paths()
247 static void dapm_widget_invalidate_input_paths(struct snd_soc_dapm_widget *w) in dapm_widget_invalidate_input_paths()
264 static void dapm_widget_invalidate_output_paths(struct snd_soc_dapm_widget *w) in dapm_widget_invalidate_output_paths()
303 struct snd_soc_dapm_widget *w; in dapm_mark_endpoints_dirty()
322 static inline struct snd_soc_dapm_widget *dapm_cnew_widget( in dapm_cnew_widget()
323 const struct snd_soc_dapm_widget *_widget) in dapm_cnew_widget()
325 struct snd_soc_dapm_widget *w; in dapm_cnew_widget()
347 struct snd_soc_dapm_widget *widget;
352 static int dapm_kcontrol_data_alloc(struct snd_soc_dapm_widget *widget, in dapm_kcontrol_data_alloc()
374 struct snd_soc_dapm_widget template; in dapm_kcontrol_data_alloc()
417 struct snd_soc_dapm_widget template; in dapm_kcontrol_data_alloc()
483 struct snd_soc_dapm_widget *widget) in dapm_kcontrol_add_widget()
581 struct snd_soc_dapm_widget *snd_soc_dapm_kcontrol_widget( in snd_soc_dapm_kcontrol_widget()
605 struct snd_soc_dapm_widget *w; in dapm_reset()
654 static struct snd_soc_dapm_widget *
655 dapm_wcache_lookup(struct snd_soc_dapm_widget *w, const char *name) in dapm_wcache_lookup()
743 struct snd_soc_dapm_widget *w) in dapm_connect_mux()
841 struct snd_soc_dapm_widget *kcontrolw, in dapm_is_shared_kcontrol()
845 struct snd_soc_dapm_widget *w; in dapm_is_shared_kcontrol()
869 static int dapm_create_or_share_kcontrol(struct snd_soc_dapm_widget *w, in dapm_create_or_share_kcontrol()
979 static int dapm_new_mixer(struct snd_soc_dapm_widget *w) in dapm_new_mixer()
1014 static int dapm_new_mux(struct snd_soc_dapm_widget *w) in dapm_new_mux()
1060 static int dapm_new_pga(struct snd_soc_dapm_widget *w) in dapm_new_pga()
1074 static int dapm_new_dai_link(struct snd_soc_dapm_widget *w) in dapm_new_dai_link()
1108 static int snd_soc_dapm_suspend_check(struct snd_soc_dapm_widget *widget) in snd_soc_dapm_suspend_check()
1132 struct snd_soc_dapm_widget *w; in dapm_widget_list_create()
1157 static void invalidate_paths_ep(struct snd_soc_dapm_widget *widget, in invalidate_paths_ep()
1187 static __always_inline int is_connected_ep(struct snd_soc_dapm_widget *widget, in is_connected_ep()
1189 int (*fn)(struct snd_soc_dapm_widget *, struct list_head *, in is_connected_ep() argument
1190 bool (*custom_stop_condition)(struct snd_soc_dapm_widget *, in is_connected_ep() argument
1192 bool (*custom_stop_condition)(struct snd_soc_dapm_widget *, in is_connected_ep()
1250 static int is_connected_output_ep(struct snd_soc_dapm_widget *widget, in is_connected_output_ep()
1252 bool (*custom_stop_condition)(struct snd_soc_dapm_widget *i, in is_connected_output_ep()
1268 static int is_connected_input_ep(struct snd_soc_dapm_widget *widget, in is_connected_input_ep()
1270 bool (*custom_stop_condition)(struct snd_soc_dapm_widget *i, in is_connected_input_ep()
1298 bool (*custom_stop_condition)(struct snd_soc_dapm_widget *, in snd_soc_dapm_dai_get_connected_widgets() argument
1302 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(dai, stream); in snd_soc_dapm_dai_get_connected_widgets()
1342 int dapm_regulator_event(struct snd_soc_dapm_widget *w, in dapm_regulator_event()
1376 int dapm_pinctrl_event(struct snd_soc_dapm_widget *w, in dapm_pinctrl_event()
1401 int dapm_clock_event(struct snd_soc_dapm_widget *w, in dapm_clock_event()
1420 static int dapm_widget_power_check(struct snd_soc_dapm_widget *w) in dapm_widget_power_check()
1436 static int dapm_generic_check_power(struct snd_soc_dapm_widget *w) in dapm_generic_check_power()
1448 static int dapm_supply_check_power(struct snd_soc_dapm_widget *w) in dapm_supply_check_power()
1472 static int dapm_always_on_check_power(struct snd_soc_dapm_widget *w) in dapm_always_on_check_power()
1477 static int dapm_seq_compare(struct snd_soc_dapm_widget *a, in dapm_seq_compare()
1478 struct snd_soc_dapm_widget *b, in dapm_seq_compare()
1511 static void dapm_seq_insert(struct snd_soc_dapm_widget *new_widget, in dapm_seq_insert()
1515 struct snd_soc_dapm_widget *w; in dapm_seq_insert()
1527 struct snd_soc_dapm_widget *w, int event) in dapm_seq_check_event()
1585 struct snd_soc_dapm_widget *w; in dapm_seq_run_coalesced()
1590 w = list_first_entry(pending, struct snd_soc_dapm_widget, power_list); in dapm_seq_run_coalesced()
1642 struct snd_soc_dapm_widget *w, *n; in dapm_seq_run()
1743 struct snd_soc_dapm_widget *w = NULL; in dapm_widget_update()
1861 static void dapm_widget_set_peer_power(struct snd_soc_dapm_widget *peer, in dapm_widget_set_peer_power()
1876 static void dapm_power_one_widget(struct snd_soc_dapm_widget *w, in dapm_power_one_widget()
1949 struct snd_soc_dapm_widget *w; in dapm_power_widgets()
2094 struct snd_soc_dapm_widget *w = file->private_data; in dapm_widget_power_read_file()
2210 static void dapm_debugfs_add_widget(struct snd_soc_dapm_widget *w) in dapm_debugfs_add_widget()
2221 static void dapm_debugfs_free_widget(struct snd_soc_dapm_widget *w) in dapm_debugfs_free_widget()
2243 static inline void dapm_debugfs_add_widget(struct snd_soc_dapm_widget *w) in dapm_debugfs_add_widget()
2247 static inline void dapm_debugfs_free_widget(struct snd_soc_dapm_widget *w) in dapm_debugfs_free_widget()
2391 struct snd_soc_dapm_widget *w; in dapm_widget_show_component()
2494 void snd_soc_dapm_free_widget(struct snd_soc_dapm_widget *w) in snd_soc_dapm_free_widget()
2526 struct snd_soc_dapm_widget *w, *next_w; in dapm_free_widgets()
2538 static struct snd_soc_dapm_widget *dapm_find_widget( in dapm_find_widget()
2542 struct snd_soc_dapm_widget *w; in dapm_find_widget()
2543 struct snd_soc_dapm_widget *fallback = NULL; in dapm_find_widget()
2579 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); in __snd_soc_dapm_set_pin()
2660 struct snd_soc_dapm_widget *w, in dapm_update_dai_chan()
2690 struct snd_soc_dapm_widget *w; in dapm_update_dai_unlocked()
2731 int snd_soc_dapm_widget_name_cmp(struct snd_soc_dapm_widget *widget, const char *s) in snd_soc_dapm_widget_name_cmp()
2752 static void dapm_update_widget_flags(struct snd_soc_dapm_widget *w) in dapm_update_widget_flags()
2804 struct snd_soc_dapm_widget *source, struct snd_soc_dapm_widget *sink, in snd_soc_dapm_check_dynamic_path()
2848 struct snd_soc_dapm_widget *wsource, struct snd_soc_dapm_widget *wsink, in snd_soc_dapm_add_path()
2850 int (*connected)(struct snd_soc_dapm_widget *source, in snd_soc_dapm_add_path()
2851 struct snd_soc_dapm_widget *sink)) in snd_soc_dapm_add_path()
2950 struct snd_soc_dapm_widget *wsource = NULL, *wsink = NULL, *w; in snd_soc_dapm_add_route()
2951 struct snd_soc_dapm_widget *wtsource = NULL, *wtsink = NULL; in snd_soc_dapm_add_route()
3083 struct snd_soc_dapm_widget *wsource = path->source; in snd_soc_dapm_del_route()
3084 struct snd_soc_dapm_widget *wsink = path->sink; in snd_soc_dapm_del_route()
3162 struct snd_soc_dapm_widget *source = dapm_find_widget(dapm, in snd_soc_dapm_weak_route()
3165 struct snd_soc_dapm_widget *sink = dapm_find_widget(dapm, in snd_soc_dapm_weak_route()
3249 struct snd_soc_dapm_widget *w; in snd_soc_dapm_new_widgets()
3626 struct snd_soc_dapm_widget *
3628 const struct snd_soc_dapm_widget *widget) in snd_soc_dapm_new_control_unlocked()
3631 struct snd_soc_dapm_widget *w; in snd_soc_dapm_new_control_unlocked()
3786 struct snd_soc_dapm_widget *
3788 const struct snd_soc_dapm_widget *widget) in snd_soc_dapm_new_control()
3790 struct snd_soc_dapm_widget *w; in snd_soc_dapm_new_control()
3811 const struct snd_soc_dapm_widget *widget, in snd_soc_dapm_new_controls()
3819 struct snd_soc_dapm_widget *w = snd_soc_dapm_new_control_unlocked(dapm, widget); in snd_soc_dapm_new_controls()
3832 snd_soc_dai_link_event_pre_pmu(struct snd_soc_dapm_widget *w, in snd_soc_dai_link_event_pre_pmu()
3955 static int snd_soc_dai_link_event(struct snd_soc_dapm_widget *w, in snd_soc_dai_link_event()
4038 struct snd_soc_dapm_widget *w = snd_kcontrol_chip(kcontrol); in snd_soc_dapm_dai_link_get()
4049 struct snd_soc_dapm_widget *w = snd_kcontrol_chip(kcontrol); in snd_soc_dapm_dai_link_put()
4153 static struct snd_soc_dapm_widget *
4159 struct snd_soc_dapm_widget template; in snd_soc_dapm_new_dai()
4160 struct snd_soc_dapm_widget *w; in snd_soc_dapm_new_dai()
4237 struct snd_soc_dapm_widget template; in snd_soc_dapm_new_dai_widgets()
4238 struct snd_soc_dapm_widget *w; in snd_soc_dapm_new_dai_widgets()
4283 struct snd_soc_dapm_widget *dai_w, *w; in snd_soc_dapm_link_dai_widgets()
4284 struct snd_soc_dapm_widget *src, *sink; in snd_soc_dapm_link_dai_widgets()
4339 struct snd_soc_dapm_widget *src, in dapm_connect_dai_routes()
4340 struct snd_soc_dapm_widget *dai, in dapm_connect_dai_routes()
4342 struct snd_soc_dapm_widget *sink) in dapm_connect_dai_routes()
4362 struct snd_soc_dapm_widget *codec, *cpu; in dapm_connect_dai_pair()
4365 struct snd_soc_dapm_widget **src[] = { &cpu, &codec }; in dapm_connect_dai_pair()
4366 struct snd_soc_dapm_widget **sink[] = { &codec, &cpu }; in dapm_connect_dai_pair()
4386 struct snd_soc_dapm_widget *dai = snd_soc_dapm_new_dai(card, substream, in dapm_connect_dai_pair()
4404 struct snd_soc_dapm_widget *w; in soc_dapm_dai_stream_event()
4609 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); in snd_soc_dapm_force_enable_pin_unlocked()
4767 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); in snd_soc_dapm_get_pin_status()
4790 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, false); in snd_soc_dapm_ignore_suspend()
4842 struct snd_soc_dapm_widget *w; in soc_dapm_shutdown_dapm()