Lines Matching +full:dvc +full:-
1 // SPDX-License-Identifier: GPL-2.0
3 // Renesas R-Car CMD support
16 #define rsnd_cmd_nr(priv) ((priv)->cmd_nr)
20 ((pos) = (struct rsnd_cmd *)(priv)->cmd + i); \
27 struct rsnd_mod *dvc = rsnd_io_to_mod_dvc(io); in rsnd_cmd_init() local
38 if (!mix && !dvc) in rsnd_cmd_init()
42 return -ENXIO; in rsnd_cmd_init()
55 struct rsnd_dai_stream *tio = &rdai->playback; in rsnd_cmd_init()
61 tio = &rdai->capture; in rsnd_cmd_init()
82 return -EIO; in rsnd_cmd_init()
144 return rsnd_mod_get((struct rsnd_cmd *)(priv->cmd) + id); in rsnd_cmd_mod_get()
151 return rsnd_dai_connect(mod, io, mod->type); in rsnd_cmd_attach()
164 /* same number as DVC */ in rsnd_cmd_probe()
165 nr = priv->dvc_nr; in rsnd_cmd_probe()
171 return -ENOMEM; in rsnd_cmd_probe()
173 priv->cmd_nr = nr; in rsnd_cmd_probe()
174 priv->cmd = cmd; in rsnd_cmd_probe()