Lines Matching +full:0 +full:x1200

37 #define A38X_PLL_CONF_REG0			0x0
39 #define A38X_PLL_FB_CLK_DIV_MASK 0x7fc00
40 #define A38X_PLL_CONF_REG1 0x4
41 #define A38X_PLL_FREQ_OFFSET_MASK 0xffff
44 #define A38X_PLL_CONF_REG2 0x8
45 #define A38X_PLL_AUDIO_POSTDIV_MASK 0x7f
80 for (i = 0; i < 2; i++) { in armada_38x_i2s_init_quirk()
85 return 0; in armada_38x_i2s_init_quirk()
91 u16 freq_offset = 0x22b0; in armada_38x_set_pll()
92 u8 audio_postdiv, fb_clk_div = 0x1d; in armada_38x_set_pll()
106 freq_offset = 0x735; in armada_38x_set_pll()
107 fb_clk_div = 0x1b; in armada_38x_set_pll()
108 audio_postdiv = 0xc; in armada_38x_set_pll()
111 audio_postdiv = 0xc; in armada_38x_set_pll()
114 audio_postdiv = 0x6; in armada_38x_set_pll()
117 audio_postdiv = 0x3; in armada_38x_set_pll()
185 return 0; in kirkwood_i2s_set_fmt()
212 } while (value == 0); in kirkwood_set_dco()
249 return 0; in kirkwood_i2s_startup()
335 return 0; in kirkwood_i2s_hw_params()
355 if ((ctl & KIRKWOOD_PLAYCTL_ENABLE_MASK) == 0) { in kirkwood_i2s_play_trigger()
379 if (dai->id == 0) in kirkwood_i2s_play_trigger()
432 return 0; in kirkwood_i2s_play_trigger()
447 if (dai->id == 0) in kirkwood_i2s_rec_trigger()
498 return 0; in kirkwood_i2s_rec_trigger()
509 return 0; in kirkwood_i2s_trigger()
519 writel(0xffffffff, priv->io + KIRKWOOD_INT_CAUSE); in kirkwood_i2s_init()
520 writel(0, priv->io + KIRKWOOD_INT_MASK); in kirkwood_i2s_init()
522 reg_data = readl(priv->io + 0x1200); in kirkwood_i2s_init()
523 reg_data &= (~(0x333FF8)); in kirkwood_i2s_init()
524 reg_data |= 0x111D18; in kirkwood_i2s_init()
525 writel(reg_data, priv->io + 0x1200); in kirkwood_i2s_init()
529 reg_data = readl(priv->io + 0x1200); in kirkwood_i2s_init()
530 reg_data &= (~(0x333FF8)); in kirkwood_i2s_init()
531 reg_data |= 0x111D18; in kirkwood_i2s_init()
532 writel(reg_data, priv->io + 0x1200); in kirkwood_i2s_init()
543 return 0; in kirkwood_i2s_init()
557 .id = 0,
598 .id = 0,
657 priv->io = devm_platform_ioremap_resource(pdev, 0); in kirkwood_i2s_dev_probe()
661 priv->irq = platform_get_irq(pdev, 0); in kirkwood_i2s_dev_probe()
662 if (priv->irq < 0) in kirkwood_i2s_dev_probe()
667 if (err < 0) in kirkwood_i2s_dev_probe()
704 if (err < 0) in kirkwood_i2s_dev_probe()
729 return 0; in kirkwood_i2s_dev_probe()