Lines Matching refs:source
54 int (*connected)(struct snd_soc_dapm_widget *source,
295 if (p->source->endpoints[SND_SOC_DAPM_DIR_IN] != 0) in dapm_path_invalidate()
298 dapm_widget_invalidate_output_paths(p->source); in dapm_path_invalidate()
1011 path->source, in dapm_new_mixer()
1468 !path->connected(path->source, path->sink)) in dapm_supply_check_power()
1895 dapm_widget_set_peer_power(path->source, power, path->connect); in dapm_widget_set_power()
2146 if (p->connected && !p->connected(p->source, p->sink)) in dapm_widget_power_read_file()
2268 dapm_mark_dirty(path->source, reason); in soc_dapm_connect_path()
2663 p->source->name, p->sink->name); in dapm_update_dai_chan()
2698 ret = dapm_update_dai_chan(p, p->source, channels); in dapm_update_dai_unlocked()
2743 if (p->source->id == snd_soc_dapm_micbias || in dapm_update_widget_flags()
2744 p->source->id == snd_soc_dapm_mic || in dapm_update_widget_flags()
2745 p->source->id == snd_soc_dapm_line || in dapm_update_widget_flags()
2746 p->source->id == snd_soc_dapm_output) { in dapm_update_widget_flags()
2782 struct snd_soc_dapm_widget *source, struct snd_soc_dapm_widget *sink, in snd_soc_dapm_check_dynamic_path() argument
2791 switch (source->id) { in snd_soc_dapm_check_dynamic_path()
2813 source->name, control, sink->name); in snd_soc_dapm_check_dynamic_path()
2818 source->name, control, sink->name); in snd_soc_dapm_check_dynamic_path()
2828 int (*connected)(struct snd_soc_dapm_widget *source, in snd_soc_dapm_add_path() argument
2933 const char *source; in snd_soc_dapm_add_route() local
2947 prefix, route->source); in snd_soc_dapm_add_route()
2948 source = prefixed_source; in snd_soc_dapm_add_route()
2951 source = route->source; in snd_soc_dapm_add_route()
2954 wsource = dapm_wcache_lookup(&dapm->path_source_cache, source); in snd_soc_dapm_add_route()
2979 if (!wsource && !(strcmp(w->name, source))) { in snd_soc_dapm_add_route()
3001 route->source); in snd_soc_dapm_add_route()
3022 source, route->control, sink); in snd_soc_dapm_add_route()
3032 const char *source; in snd_soc_dapm_del_route() local
3049 prefix, route->source); in snd_soc_dapm_del_route()
3050 source = prefixed_source; in snd_soc_dapm_del_route()
3053 source = route->source; in snd_soc_dapm_del_route()
3058 if (strcmp(p->source->name, source) != 0) in snd_soc_dapm_del_route()
3067 wsource = path->source; in snd_soc_dapm_del_route()
3082 source, sink); in snd_soc_dapm_del_route()
3111 route->source, in snd_soc_dapm_add_routes()
3151 struct snd_soc_dapm_widget *source = dapm_find_widget(dapm, in snd_soc_dapm_weak_route() local
3152 route->source, in snd_soc_dapm_weak_route()
3160 if (!source) { in snd_soc_dapm_weak_route()
3162 route->source); in snd_soc_dapm_weak_route()
3174 route->source, route->sink); in snd_soc_dapm_weak_route()
3176 snd_soc_dapm_widget_for_each_sink_path(source, path) { in snd_soc_dapm_weak_route()
3185 route->source, route->sink); in snd_soc_dapm_weak_route()
3188 count, route->source, route->sink); in snd_soc_dapm_weak_route()
3830 struct snd_soc_dai *source, *sink; in snd_soc_dai_link_event_pre_pmu() local
3852 source = path->source->priv; in snd_soc_dai_link_event_pre_pmu()
3854 ret = snd_soc_dai_startup(source, substream); in snd_soc_dai_link_event_pre_pmu()
3856 dev_err(source->dev, in snd_soc_dai_link_event_pre_pmu()
3860 snd_soc_dai_activate(source, substream->stream); in snd_soc_dai_link_event_pre_pmu()
3913 source = path->source->priv; in snd_soc_dai_link_event_pre_pmu()
3915 ret = snd_soc_dai_hw_params(source, substream, params); in snd_soc_dai_link_event_pre_pmu()
3919 dapm_update_dai_unlocked(substream, params, source); in snd_soc_dai_link_event_pre_pmu()
3947 struct snd_soc_dai *source, *sink; in snd_soc_dai_link_event() local
3990 source = path->source->priv; in snd_soc_dai_link_event()
3991 snd_soc_dai_hw_free(source, substream); in snd_soc_dai_link_event()
4002 source = path->source->priv; in snd_soc_dai_link_event()
4003 snd_soc_dai_deactivate(source, substream->stream); in snd_soc_dai_link_event()
4004 snd_soc_dai_shutdown(source, substream, 0); in snd_soc_dai_link_event()