• Home
  • Raw
  • Download

Lines Matching refs:ctu

87 		     ((pos) = (struct rsnd_ctu *)(priv)->ctu + i);	\
93 #define rsnd_ctu_get(priv, id) ((struct rsnd_ctu *)(priv->ctu) + id)
117 struct rsnd_ctu *ctu = rsnd_mod_to_ctu(mod); in rsnd_ctu_value_init() local
123 u32 val = rsnd_kctrl_valm(ctu->pass, i); in rsnd_ctu_value_init()
145 rsnd_mod_write(mod, CTU_SVxxR(i, j), rsnd_kctrl_valm(ctu->sv[i], j)); in rsnd_ctu_value_init()
154 struct rsnd_ctu *ctu = rsnd_mod_to_ctu(mod); in rsnd_ctu_value_reset() local
157 if (!rsnd_kctrl_vals(ctu->reset)) in rsnd_ctu_value_reset()
161 rsnd_kctrl_valm(ctu->pass, i) = 0; in rsnd_ctu_value_reset()
162 rsnd_kctrl_valm(ctu->sv[0], i) = 0; in rsnd_ctu_value_reset()
163 rsnd_kctrl_valm(ctu->sv[1], i) = 0; in rsnd_ctu_value_reset()
164 rsnd_kctrl_valm(ctu->sv[2], i) = 0; in rsnd_ctu_value_reset()
165 rsnd_kctrl_valm(ctu->sv[3], i) = 0; in rsnd_ctu_value_reset()
167 rsnd_kctrl_vals(ctu->reset) = 0; in rsnd_ctu_value_reset()
202 struct rsnd_ctu *ctu = rsnd_mod_to_ctu(mod); in rsnd_ctu_pcm_new() local
205 if (rsnd_flags_has(ctu, KCTRL_INITIALIZED)) in rsnd_ctu_pcm_new()
212 &ctu->pass, RSND_MAX_CHANNELS, in rsnd_ctu_pcm_new()
221 &ctu->sv[0], RSND_MAX_CHANNELS, in rsnd_ctu_pcm_new()
230 &ctu->sv[1], RSND_MAX_CHANNELS, in rsnd_ctu_pcm_new()
239 &ctu->sv[2], RSND_MAX_CHANNELS, in rsnd_ctu_pcm_new()
248 &ctu->sv[3], RSND_MAX_CHANNELS, in rsnd_ctu_pcm_new()
257 &ctu->reset, 1); in rsnd_ctu_pcm_new()
259 rsnd_flags_set(ctu, KCTRL_INITIALIZED); in rsnd_ctu_pcm_new()
321 struct rsnd_ctu *ctu; in rsnd_ctu_probe() local
340 ctu = devm_kcalloc(dev, nr, sizeof(*ctu), GFP_KERNEL); in rsnd_ctu_probe()
341 if (!ctu) { in rsnd_ctu_probe()
347 priv->ctu = ctu; in rsnd_ctu_probe()
352 ctu = rsnd_ctu_get(priv, i); in rsnd_ctu_probe()
368 ret = rsnd_mod_init(priv, rsnd_mod_get(ctu), &rsnd_ctu_ops, in rsnd_ctu_probe()
387 struct rsnd_ctu *ctu; in rsnd_ctu_remove() local
390 for_each_rsnd_ctu(ctu, priv, i) { in rsnd_ctu_remove()
391 rsnd_mod_quit(rsnd_mod_get(ctu)); in rsnd_ctu_remove()