Lines Matching refs:cmd
20 ((pos) = (struct rsnd_cmd *)(priv)->cmd + i); \
144 return rsnd_mod_get((struct rsnd_cmd *)(priv->cmd) + id); in rsnd_cmd_mod_get()
157 struct rsnd_cmd *cmd; in rsnd_cmd_probe() local
169 cmd = devm_kcalloc(dev, nr, sizeof(*cmd), GFP_KERNEL); in rsnd_cmd_probe()
170 if (!cmd) in rsnd_cmd_probe()
174 priv->cmd = cmd; in rsnd_cmd_probe()
176 for_each_rsnd_cmd(cmd, priv, i) { in rsnd_cmd_probe()
177 int ret = rsnd_mod_init(priv, rsnd_mod_get(cmd), in rsnd_cmd_probe()
189 struct rsnd_cmd *cmd; in rsnd_cmd_remove() local
192 for_each_rsnd_cmd(cmd, priv, i) { in rsnd_cmd_remove()
193 rsnd_mod_quit(rsnd_mod_get(cmd)); in rsnd_cmd_remove()