• Home
  • Raw
  • Download

Lines Matching refs:value

39 	unsigned long value;  in kirkwood_i2s_set_fmt()  local
59 value = readl(priv->io+KIRKWOOD_I2S_PLAYCTL); in kirkwood_i2s_set_fmt()
60 value &= ~KIRKWOOD_I2S_CTL_JUST_MASK; in kirkwood_i2s_set_fmt()
61 value |= mask; in kirkwood_i2s_set_fmt()
62 writel(value, priv->io+KIRKWOOD_I2S_PLAYCTL); in kirkwood_i2s_set_fmt()
64 value = readl(priv->io+KIRKWOOD_I2S_RECCTL); in kirkwood_i2s_set_fmt()
65 value &= ~KIRKWOOD_I2S_CTL_JUST_MASK; in kirkwood_i2s_set_fmt()
66 value |= mask; in kirkwood_i2s_set_fmt()
67 writel(value, priv->io+KIRKWOOD_I2S_RECCTL); in kirkwood_i2s_set_fmt()
74 unsigned long value; in kirkwood_set_dco() local
76 value = KIRKWOOD_DCO_CTL_OFFSET_0; in kirkwood_set_dco()
80 value |= KIRKWOOD_DCO_CTL_FREQ_11; in kirkwood_set_dco()
83 value |= KIRKWOOD_DCO_CTL_FREQ_12; in kirkwood_set_dco()
86 value |= KIRKWOOD_DCO_CTL_FREQ_24; in kirkwood_set_dco()
89 writel(value, io + KIRKWOOD_DCO_CTL); in kirkwood_set_dco()
94 value = readl(io + KIRKWOOD_DCO_SPCR_STATUS); in kirkwood_set_dco()
95 value &= KIRKWOOD_DCO_SPCR_STATUS_DCO_LOCK; in kirkwood_set_dco()
96 } while (value == 0); in kirkwood_set_dco()
233 uint32_t ctl, value; in kirkwood_i2s_play_trigger() local
244 value = ctl; in kirkwood_i2s_play_trigger()
246 if (!((ctl | value) & KIRKWOOD_PLAYCTL_PLAY_BUSY)) in kirkwood_i2s_play_trigger()
251 if ((ctl | value) & KIRKWOOD_PLAYCTL_PLAY_BUSY) in kirkwood_i2s_play_trigger()
265 value = ctl & ~KIRKWOOD_PLAYCTL_ENABLE_MASK; in kirkwood_i2s_play_trigger()
266 writel(value, priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_play_trigger()
270 value = readl(priv->io + KIRKWOOD_INT_MASK); in kirkwood_i2s_play_trigger()
271 value |= KIRKWOOD_INT_CAUSE_PLAY_BYTES; in kirkwood_i2s_play_trigger()
272 writel(value, priv->io + KIRKWOOD_INT_MASK); in kirkwood_i2s_play_trigger()
285 value = readl(priv->io + KIRKWOOD_INT_MASK); in kirkwood_i2s_play_trigger()
286 value &= ~KIRKWOOD_INT_CAUSE_PLAY_BYTES; in kirkwood_i2s_play_trigger()
287 writel(value, priv->io + KIRKWOOD_INT_MASK); in kirkwood_i2s_play_trigger()
320 uint32_t ctl, value; in kirkwood_i2s_rec_trigger() local
322 value = readl(priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
333 value = ctl & ~KIRKWOOD_RECCTL_ENABLE_MASK; in kirkwood_i2s_rec_trigger()
334 writel(value, priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
337 value = readl(priv->io + KIRKWOOD_INT_MASK); in kirkwood_i2s_rec_trigger()
338 value |= KIRKWOOD_INT_CAUSE_REC_BYTES; in kirkwood_i2s_rec_trigger()
339 writel(value, priv->io + KIRKWOOD_INT_MASK); in kirkwood_i2s_rec_trigger()
347 value = readl(priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
348 value |= KIRKWOOD_RECCTL_PAUSE | KIRKWOOD_RECCTL_MUTE; in kirkwood_i2s_rec_trigger()
349 writel(value, priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
351 value = readl(priv->io + KIRKWOOD_INT_MASK); in kirkwood_i2s_rec_trigger()
352 value &= ~KIRKWOOD_INT_CAUSE_REC_BYTES; in kirkwood_i2s_rec_trigger()
353 writel(value, priv->io + KIRKWOOD_INT_MASK); in kirkwood_i2s_rec_trigger()
356 value = readl(priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
357 value &= ~KIRKWOOD_RECCTL_ENABLE_MASK; in kirkwood_i2s_rec_trigger()
358 writel(value, priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
363 value = readl(priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
364 value |= KIRKWOOD_RECCTL_PAUSE | KIRKWOOD_RECCTL_MUTE; in kirkwood_i2s_rec_trigger()
365 writel(value, priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
370 value = readl(priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
371 value &= ~(KIRKWOOD_RECCTL_PAUSE | KIRKWOOD_RECCTL_MUTE); in kirkwood_i2s_rec_trigger()
372 writel(value, priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
395 unsigned long value; in kirkwood_i2s_init() local
416 value = readl(priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_init()
417 value &= ~KIRKWOOD_PLAYCTL_ENABLE_MASK; in kirkwood_i2s_init()
418 writel(value, priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_init()
420 value = readl(priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_init()
421 value &= ~KIRKWOOD_RECCTL_ENABLE_MASK; in kirkwood_i2s_init()
422 writel(value, priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_init()