• Home
  • Raw
  • Download

Lines Matching refs:io

65 	value = readl(priv->io+KIRKWOOD_I2S_PLAYCTL);  in kirkwood_i2s_set_fmt()
68 writel(value, priv->io+KIRKWOOD_I2S_PLAYCTL); in kirkwood_i2s_set_fmt()
70 value = readl(priv->io+KIRKWOOD_I2S_RECCTL); in kirkwood_i2s_set_fmt()
73 writel(value, priv->io+KIRKWOOD_I2S_RECCTL); in kirkwood_i2s_set_fmt()
78 static inline void kirkwood_set_dco(void __iomem *io, unsigned long rate) in kirkwood_set_dco() argument
95 writel(value, io + KIRKWOOD_DCO_CTL); in kirkwood_set_dco()
100 value = readl(io + KIRKWOOD_DCO_SPCR_STATUS); in kirkwood_set_dco()
115 kirkwood_set_dco(priv->io, rate); in kirkwood_set_rate()
127 writel(clks_ctrl, priv->io + KIRKWOOD_CLOCKS_CTRL); in kirkwood_set_rate()
156 i2s_value = readl(priv->io+i2s_reg); in kirkwood_i2s_hw_params()
220 writel(i2s_value, priv->io+i2s_reg); in kirkwood_i2s_hw_params()
241 ctl = readl(priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_play_trigger()
251 ctl = readl(priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_play_trigger()
272 writel(value, priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_play_trigger()
276 value = readl(priv->io + KIRKWOOD_INT_MASK); in kirkwood_i2s_play_trigger()
278 writel(value, priv->io + KIRKWOOD_INT_MASK); in kirkwood_i2s_play_trigger()
282 writel(ctl, priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_play_trigger()
289 writel(ctl, priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_play_trigger()
291 value = readl(priv->io + KIRKWOOD_INT_MASK); in kirkwood_i2s_play_trigger()
293 writel(value, priv->io + KIRKWOOD_INT_MASK); in kirkwood_i2s_play_trigger()
297 writel(ctl, priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_play_trigger()
304 writel(ctl, priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_play_trigger()
312 writel(ctl, priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_play_trigger()
328 value = readl(priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
340 writel(value, priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
343 value = readl(priv->io + KIRKWOOD_INT_MASK); in kirkwood_i2s_rec_trigger()
345 writel(value, priv->io + KIRKWOOD_INT_MASK); in kirkwood_i2s_rec_trigger()
348 writel(ctl, priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
353 value = readl(priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
355 writel(value, priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
357 value = readl(priv->io + KIRKWOOD_INT_MASK); in kirkwood_i2s_rec_trigger()
359 writel(value, priv->io + KIRKWOOD_INT_MASK); in kirkwood_i2s_rec_trigger()
362 value = readl(priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
364 writel(value, priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
369 value = readl(priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
371 writel(value, priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
376 value = readl(priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
378 writel(value, priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_rec_trigger()
406 writel(0xffffffff, priv->io + KIRKWOOD_INT_CAUSE); in kirkwood_i2s_init()
407 writel(0, priv->io + KIRKWOOD_INT_MASK); in kirkwood_i2s_init()
409 reg_data = readl(priv->io + 0x1200); in kirkwood_i2s_init()
412 writel(reg_data, priv->io + 0x1200); in kirkwood_i2s_init()
416 reg_data = readl(priv->io + 0x1200); in kirkwood_i2s_init()
419 writel(reg_data, priv->io + 0x1200); in kirkwood_i2s_init()
422 value = readl(priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_init()
424 writel(value, priv->io + KIRKWOOD_PLAYCTL); in kirkwood_i2s_init()
426 value = readl(priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_init()
428 writel(value, priv->io + KIRKWOOD_RECCTL); in kirkwood_i2s_init()
547 priv->io = devm_ioremap_resource(&pdev->dev, mem); in kirkwood_i2s_dev_probe()
548 if (IS_ERR(priv->io)) in kirkwood_i2s_dev_probe()
549 return PTR_ERR(priv->io); in kirkwood_i2s_dev_probe()