• Home
  • Raw
  • Download

Lines Matching full:sink

55 			 struct snd_soc_dapm_widget *sink));
243 * or activated with the widget as the sink.
259 * have changed. E.g. if the sink state of a widget changes or a path is added
272 * Resets the cached number of inputs for the sink of the path and the cached
294 dapm_widget_invalidate_input_paths(p->sink); in dapm_path_invalidate()
295 if (p->sink->endpoints[SND_SOC_DAPM_DIR_OUT] != 0) in dapm_path_invalidate()
783 p->sink->kcontrol_news[i].private_value; in dapm_set_mixer_path_status()
792 val = soc_dapm_read(p->sink->dapm, reg); in dapm_set_mixer_path_status()
807 val = soc_dapm_read(p->sink->dapm, mc->rreg); in dapm_set_mixer_path_status()
833 for (i = 0; i < path->sink->num_kcontrols; i++) { in dapm_connect_mixer()
834 if (!strcmp(control_name, path->sink->kcontrol_news[i].name)) { in dapm_connect_mixer()
835 path->name = path->sink->kcontrol_news[i].name; in dapm_connect_mixer()
1463 !path->connected(path->source, path->sink)) in dapm_supply_check_power()
1466 if (dapm_widget_power_check(path->sink)) in dapm_supply_check_power()
1897 dapm_widget_set_peer_power(path->sink, power, in dapm_widget_set_power()
2143 if (p->connected && !p->connected(p->source, p->sink)) in dapm_widget_power_read_file()
2266 dapm_mark_dirty(path->sink, reason); in soc_dapm_connect_path()
2491 * remove source and sink paths associated to this widget. in snd_soc_dapm_free_widget()
2493 * source and sink widgets so that path is removed only once. in snd_soc_dapm_free_widget()
2660 p->source->name, p->sink->name); in dapm_update_dai_chan()
2689 ret = dapm_update_dai_chan(p, p->sink, channels); in dapm_update_dai_unlocked()
2719 * dapm_update_widget_flags() - Re-compute widget sink and source flags
2750 /* On a fully routed card a output is never a sink */ in dapm_update_widget_flags()
2755 if (p->sink->id == snd_soc_dapm_spk || in dapm_update_widget_flags()
2756 p->sink->id == snd_soc_dapm_hp || in dapm_update_widget_flags()
2757 p->sink->id == snd_soc_dapm_line || in dapm_update_widget_flags()
2758 p->sink->id == snd_soc_dapm_input) { in dapm_update_widget_flags()
2779 struct snd_soc_dapm_widget *source, struct snd_soc_dapm_widget *sink, in snd_soc_dapm_check_dynamic_path() argument
2796 switch (sink->id) { in snd_soc_dapm_check_dynamic_path()
2810 source->name, control, sink->name); in snd_soc_dapm_check_dynamic_path()
2815 source->name, control, sink->name); in snd_soc_dapm_check_dynamic_path()
2826 struct snd_soc_dapm_widget *sink)) in snd_soc_dapm_add_path() argument
2929 const char *sink; in snd_soc_dapm_add_route() local
2941 prefix, route->sink); in snd_soc_dapm_add_route()
2942 sink = prefixed_sink; in snd_soc_dapm_add_route()
2947 sink = route->sink; in snd_soc_dapm_add_route()
2952 wsink = dapm_wcache_lookup(&dapm->path_sink_cache, sink); in snd_soc_dapm_add_route()
2962 if (!wsink && !(strcmp(w->name, sink))) { in snd_soc_dapm_add_route()
2972 "ASoC: sink widget %s overwritten\n", in snd_soc_dapm_add_route()
3002 dev_err(dapm->dev, "ASoC: no sink widget found for %s\n", in snd_soc_dapm_add_route()
3003 route->sink); in snd_soc_dapm_add_route()
3019 source, route->control, sink); in snd_soc_dapm_add_route()
3028 const char *sink; in snd_soc_dapm_del_route() local
3043 prefix, route->sink); in snd_soc_dapm_del_route()
3044 sink = prefixed_sink; in snd_soc_dapm_del_route()
3049 sink = route->sink; in snd_soc_dapm_del_route()
3057 if (strcmp(p->sink->name, sink) != 0) in snd_soc_dapm_del_route()
3065 wsink = path->sink; in snd_soc_dapm_del_route()
3079 source, sink); in snd_soc_dapm_del_route()
3091 * Connects 2 dapm widgets together via a named audio path. The sink is
3110 route->sink); in snd_soc_dapm_add_routes()
3151 struct snd_soc_dapm_widget *sink = dapm_find_widget(dapm, in snd_soc_dapm_weak_route() local
3152 route->sink, in snd_soc_dapm_weak_route()
3163 if (!sink) { in snd_soc_dapm_weak_route()
3164 dev_err(dapm->dev, "ASoC: Unable to find sink %s for weak route\n", in snd_soc_dapm_weak_route()
3165 route->sink); in snd_soc_dapm_weak_route()
3171 route->source, route->sink); in snd_soc_dapm_weak_route()
3174 if (path->sink == sink) { in snd_soc_dapm_weak_route()
3182 route->source, route->sink); in snd_soc_dapm_weak_route()
3185 count, route->source, route->sink); in snd_soc_dapm_weak_route()
3829 struct snd_soc_dai *source, *sink; in snd_soc_dai_link_event_pre_pmu() local
3864 sink = path->sink->priv; in snd_soc_dai_link_event_pre_pmu()
3866 ret = snd_soc_dai_startup(sink, substream); in snd_soc_dai_link_event_pre_pmu()
3868 dev_err(sink->dev, in snd_soc_dai_link_event_pre_pmu()
3872 snd_soc_dai_activate(sink, substream->stream); in snd_soc_dai_link_event_pre_pmu()
3923 sink = path->sink->priv; in snd_soc_dai_link_event_pre_pmu()
3925 ret = snd_soc_dai_hw_params(sink, substream, params); in snd_soc_dai_link_event_pre_pmu()
3929 dapm_update_dai_unlocked(substream, params, sink); in snd_soc_dai_link_event_pre_pmu()
3946 struct snd_soc_dai *source, *sink; in snd_soc_dai_link_event() local
3964 sink = path->sink->priv; in snd_soc_dai_link_event()
3966 ret = snd_soc_dai_digital_mute(sink, 0, in snd_soc_dai_link_event()
3969 dev_warn(sink->dev, in snd_soc_dai_link_event()
3977 sink = path->sink->priv; in snd_soc_dai_link_event()
3979 ret = snd_soc_dai_digital_mute(sink, 1, in snd_soc_dai_link_event()
3982 dev_warn(sink->dev, in snd_soc_dai_link_event()
3995 sink = path->sink->priv; in snd_soc_dai_link_event()
3996 snd_soc_dai_hw_free(sink, substream); in snd_soc_dai_link_event()
4008 sink = path->sink->priv; in snd_soc_dai_link_event()
4009 snd_soc_dai_deactivate(sink, substream->stream); in snd_soc_dai_link_event()
4010 snd_soc_dai_shutdown(sink, substream, 0); in snd_soc_dai_link_event()
4270 struct snd_soc_dapm_widget *src, *sink; in snd_soc_dapm_link_dai_widgets() local
4310 sink = w; in snd_soc_dapm_link_dai_widgets()
4313 sink = dai_w; in snd_soc_dapm_link_dai_widgets()
4315 dev_dbg(dai->dev, "%s -> %s\n", src->name, sink->name); in snd_soc_dapm_link_dai_widgets()
4316 snd_soc_dapm_add_path(w->dapm, src, sink, NULL, NULL); in snd_soc_dapm_link_dai_widgets()
4328 struct snd_soc_dapm_widget *sink) in dapm_connect_dai_routes() argument
4332 sink_dai->component->name, sink->name); in dapm_connect_dai_routes()
4339 snd_soc_dapm_add_path(dapm, src, sink, NULL, NULL); in dapm_connect_dai_routes()