Lines Matching +full:ctu +full:-
1 // SPDX-License-Identifier: GPL-2.0
9 * +------+ +------+
10 * [SRC3 / SRC6] -> |CTU n0| -> [MIX n0| ->
11 * [SRC4 / SRC9] -> |CTU n1| -> [MIX n1| ->
12 * [SRC0 / SRC1] -> |CTU n2| -> [MIX n2| ->
13 * [SRC2 / SRC5] -> |CTU n3| -> [MIX n3| ->
14 * +------+ +------+
61 #define rsnd_mix_get(priv, id) ((struct rsnd_mix *)(priv->mix) + id)
62 #define rsnd_mix_nr(priv) ((priv)->mix_nr)
66 ((pos) = (struct rsnd_mix *)(priv)->mix + i); \
83 (VOL_MAX - rsnd_kctrl_vals(mix->volume##X)) : 0
115 rsnd_mod_write(mod, MIX_MIXMR, rsnd_kctrl_vals(mix->ren)); in rsnd_mix_volume_init()
116 rsnd_mod_write(mod, MIX_MVPDR, rsnd_kctrl_vals(mix->rup) << 8 | in rsnd_mix_volume_init()
117 rsnd_kctrl_vals(mix->rdw)); in rsnd_mix_volume_init()
189 volume = &mix->volumeA; in rsnd_mix_pcm_new()
194 volume = &mix->volumeB; in rsnd_mix_pcm_new()
199 volume = &mix->volumeC; in rsnd_mix_pcm_new()
204 volume = &mix->volumeD; in rsnd_mix_pcm_new()
209 return -EINVAL; in rsnd_mix_pcm_new()
230 &mix->ren, 1); in rsnd_mix_pcm_new()
238 &mix->rup, in rsnd_mix_pcm_new()
248 &mix->rdw, in rsnd_mix_pcm_new()
308 ret = -EINVAL; in rsnd_mix_probe()
314 ret = -ENOMEM; in rsnd_mix_probe()
318 priv->mix_nr = nr; in rsnd_mix_probe()
319 priv->mix = mix; in rsnd_mix_probe()