• Home
  • Raw
  • Download

Lines Matching refs:ctl

220 	uint32_t ctl, value;  in kirkwood_i2s_play_trigger()  local
222 ctl = readl(priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_play_trigger()
223 if (ctl & KIRKWOOD_PLAYCTL_PAUSE) { in kirkwood_i2s_play_trigger()
231 value = ctl; in kirkwood_i2s_play_trigger()
232 ctl = readl(priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_play_trigger()
233 if (!((ctl | value) & KIRKWOOD_PLAYCTL_PLAY_BUSY)) in kirkwood_i2s_play_trigger()
238 if ((ctl | value) & KIRKWOOD_PLAYCTL_PLAY_BUSY) in kirkwood_i2s_play_trigger()
240 ctl); in kirkwood_i2s_play_trigger()
246 ctl = priv->ctl_play; in kirkwood_i2s_play_trigger()
247 value = ctl & ~(KIRKWOOD_PLAYCTL_I2S_EN | in kirkwood_i2s_play_trigger()
257 writel(ctl, priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_play_trigger()
262 ctl |= KIRKWOOD_PLAYCTL_PAUSE | KIRKWOOD_PLAYCTL_I2S_MUTE; in kirkwood_i2s_play_trigger()
263 writel(ctl, priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_play_trigger()
270 ctl &= ~(KIRKWOOD_PLAYCTL_I2S_EN | KIRKWOOD_PLAYCTL_SPDIF_EN); in kirkwood_i2s_play_trigger()
271 writel(ctl, priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_play_trigger()
276 ctl |= KIRKWOOD_PLAYCTL_PAUSE | KIRKWOOD_PLAYCTL_I2S_MUTE; in kirkwood_i2s_play_trigger()
277 writel(ctl, priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_play_trigger()
282 ctl &= ~(KIRKWOOD_PLAYCTL_PAUSE | KIRKWOOD_PLAYCTL_I2S_MUTE); in kirkwood_i2s_play_trigger()
283 writel(ctl, priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_play_trigger()
297 uint32_t ctl, value; in kirkwood_i2s_rec_trigger() local
304 ctl = priv->ctl_rec; in kirkwood_i2s_rec_trigger()
305 value = ctl & ~KIRKWOOD_RECCTL_I2S_EN; in kirkwood_i2s_rec_trigger()
314 writel(ctl, priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()