Lines Matching defs:sink
703 * This list contains modules from source to sink
709 /* Init all pipe modules from source to sink */
714 /* Bind modules from source to sink */
964 struct snd_soc_dapm_widget *sink = NULL, *next_sink = NULL;
975 "%s: sink widget=%s\n", __func__, p->sink->name);
977 next_sink = p->sink;
979 if (!is_skl_dsp_widget_type(p->sink, skl->dev))
980 return skl_tplg_bind_sinks(p->sink, skl, src_w, src_mconfig);
983 * here we will check widgets in sink pipelines, so that
987 if ((p->sink->priv != NULL) &&
988 is_skl_dsp_widget_type(p->sink, skl->dev)) {
990 sink = p->sink;
991 sink_mconfig = sink->priv;
1019 /* Bind source to sink, mixin is always source */
1027 skl_tplg_set_module_bind_params(sink,
1042 if (!sink && next_sink)
1051 * - Bind to sink pipeline
1052 * Since the sink pipes can be running and we don't get mixer event on
1053 * connect for already running mixer, we need to find the sink pipes
1055 * - Start sink pipeline, if not running
1067 * find which sink it is connected to, bind with the sink,
1068 * if sink is not started, start sink pipe first, then start
1093 dev_dbg(skl->dev, "sink widget=%s\n", w->name);
1097 * here we will check widgets in sink pipelines, so that can
1126 struct snd_soc_dapm_widget *source, *sink;
1130 sink = w;
1131 sink_mconfig = sink->priv;
1135 * one more sink before this sink got connected, Since source is
1136 * started, bind this sink to source and start this pipe.
1141 sink_mconfig = sink->priv;
1159 skl_tplg_set_module_bind_params(sink, sink_mconfig, skl);
1295 * unbind between source and sink has not happened yet
1337 * the sink when it is running (two FE to one BE or one FE to two BE)
1704 if (p->connect && p->sink->power &&
1705 !is_skl_dsp_widget_type(p->sink, dai->dev))
1708 if (p->sink->priv) {
1710 p->sink->name);
1711 return p->sink->priv;
1741 (p->sink->id == snd_soc_dapm_aif_out) &&
1764 p->sink->priv) {
1765 mconfig = p->sink->priv;
1768 mconfig = skl_get_mconfig_cap_cpr(dai, p->sink);
1895 if (p->connect && is_skl_dsp_widget_type(p->sink, dai->dev) &&
1896 p->sink->priv) {
1899 p->sink->priv, params);
1904 dai, p->sink, params);
1914 * BE hw_params can be a source parameters (capture) or sink parameters
1915 * (playback). Based on sink and source we need to either find the source
1916 * list or the sink list and set the pipeline parameters