Lines Matching +full:0 +full:x108
23 #define CPG_FRQCRA 0x00
24 #define CPG_FRQCRB 0x04
25 #define CPG_SD0CKCR 0x74
26 #define CPG_SD1CKCR 0x78
27 #define CPG_SD2CKCR 0x7c
28 #define CPG_PLLECR 0xd0
29 #define CPG_PLL0CR 0xd8
30 #define CPG_PLL1CR 0x28
31 #define CPG_PLL2CR 0x2c
32 #define CPG_PLL3CR 0xdc
33 #define CPG_CKSCR 0xc0
34 #define CPG_DSI0PHYCR 0x6c
35 #define CPG_DSI1PHYCR 0x70
49 { "m2", "pll1", CPG_FRQCRA, 0 },
52 { NULL, NULL, 0, 0 },
56 { 0, 2 }, { 1, 3 }, { 2, 4 }, { 3, 6 }, { 4, 8 }, { 5, 12 },
58 { 12, 7 }, { 0, 0 }
62 /* ZSEL == 0 */
63 { 0, 1 }, { 1, 1 }, { 2, 1 }, { 3, 1 }, { 4, 1 }, { 5, 1 },
68 { 22, 16 }, { 24, 24 }, { 27, 48 }, { 0, 0 }
89 u32 enable_bit = name[3] - '0'; in sh73a0_cpg_register_clock()
93 case 0: in sh73a0_cpg_register_clock()
109 mult = ((readl(enable_reg) >> 24) & 0x3f) + 1; in sh73a0_cpg_register_clock()
116 u32 phy_no = name[3] - '0'; in sh73a0_cpg_register_clock()
122 if (!(mult & 0x8000)) in sh73a0_cpg_register_clock()
125 mult = (mult & 0x3f) + 1; in sh73a0_cpg_register_clock()
150 return clk_register_fixed_factor(NULL, name, parent_name, 0, in sh73a0_cpg_register_clock()
153 return clk_register_divider_table(NULL, name, parent_name, 0, in sh73a0_cpg_register_clock()
154 base + reg, shift, width, 0, in sh73a0_cpg_register_clock()
168 if (num_clks < 0) { in sh73a0_cpg_clocks_init()
187 base = of_iomap(np, 0); in sh73a0_cpg_clocks_init()
192 writel(0x108, base + CPG_SD0CKCR); in sh73a0_cpg_clocks_init()
193 writel(0x108, base + CPG_SD1CKCR); in sh73a0_cpg_clocks_init()
194 writel(0x108, base + CPG_SD2CKCR); in sh73a0_cpg_clocks_init()
196 for (i = 0; i < num_clks; ++i) { in sh73a0_cpg_clocks_init()