Lines Matching defs:sink

669 	 * This list contains modules from source to sink
675 /* Init all pipe modules from source to sink */
680 /* Bind modules from source to sink */
931 struct snd_soc_dapm_widget *sink = NULL, *next_sink = NULL;
942 "%s: sink widget=%s\n", __func__, p->sink->name);
944 next_sink = p->sink;
946 if (!is_skl_dsp_widget_type(p->sink, skl->dev))
947 return skl_tplg_bind_sinks(p->sink, skl, src_w, src_mconfig);
950 * here we will check widgets in sink pipelines, so that
954 if ((p->sink->priv != NULL) &&
955 is_skl_dsp_widget_type(p->sink, skl->dev)) {
957 sink = p->sink;
958 sink_mconfig = sink->priv;
986 /* Bind source to sink, mixin is always source */
994 skl_tplg_set_module_bind_params(sink,
1009 if (!sink && next_sink)
1018 * - Bind to sink pipeline
1019 * Since the sink pipes can be running and we don't get mixer event on
1020 * connect for already running mixer, we need to find the sink pipes
1022 * - Start sink pipeline, if not running
1034 * find which sink it is connected to, bind with the sink,
1035 * if sink is not started, start sink pipe first, then start
1060 dev_dbg(skl->dev, "sink widget=%s\n", w->name);
1064 * here we will check widgets in sink pipelines, so that can
1093 struct snd_soc_dapm_widget *source, *sink;
1097 sink = w;
1098 sink_mconfig = sink->priv;
1102 * one more sink before this sink got connected, Since source is
1103 * started, bind this sink to source and start this pipe.
1108 sink_mconfig = sink->priv;
1126 skl_tplg_set_module_bind_params(sink, sink_mconfig, skl);
1262 * unbind between source and sink has not happened yet
1304 * the sink when it is running (two FE to one BE or one FE to two BE)
1671 if (p->connect && p->sink->power &&
1672 !is_skl_dsp_widget_type(p->sink, dai->dev))
1675 if (p->sink->priv) {
1677 p->sink->name);
1678 return p->sink->priv;
1707 (p->sink->id == snd_soc_dapm_aif_out) &&
1730 p->sink->priv) {
1731 mconfig = p->sink->priv;
1734 mconfig = skl_get_mconfig_cap_cpr(dai, p->sink);
1878 if (p->connect && is_skl_dsp_widget_type(p->sink, dai->dev) &&
1879 p->sink->priv) {
1882 p->sink->priv, params);
1887 dai, p->sink, params);
1897 * BE hw_params can be a source parameters (capture) or sink parameters
1898 * (playback). Based on sink and source we need to either find the source
1899 * list or the sink list and set the pipeline parameters