Lines Matching refs:tmp
17 u32 tmp, clk_mode_upll, clk_mode_axosel; in upll_init() local
19 tmp = readl(SG_PINMON0); in upll_init()
20 clk_mode_upll = tmp & SG_PINMON0_CLK_MODE_UPLLSRC_MASK; in upll_init()
21 clk_mode_axosel = tmp & SG_PINMON0_CLK_MODE_AXOSEL_MASK; in upll_init()
24 tmp = readl(SC_UPLLCTRL); in upll_init()
25 tmp &= ~0x18000000; in upll_init()
26 writel(tmp, SC_UPLLCTRL); in upll_init()
32 tmp &= ~0x07ffffff; in upll_init()
33 tmp |= 0x0228f5c0; in upll_init()
36 tmp &= ~0x07ffffff; in upll_init()
37 tmp |= 0x02328000; in upll_init()
41 writel(tmp, SC_UPLLCTRL); in upll_init()
44 tmp |= 0x08000000; in upll_init()
45 writel(tmp, SC_UPLLCTRL); in upll_init()
51 tmp |= 0x10000000; in upll_init()
52 writel(tmp, SC_UPLLCTRL); in upll_init()
57 u32 tmp, clk_mode_axosel; in vpll_init() local
59 tmp = readl(SG_PINMON0); in vpll_init()
60 clk_mode_axosel = tmp & SG_PINMON0_CLK_MODE_AXOSEL_MASK; in vpll_init()
63 tmp = readl(SC_VPLL27ACTRL); in vpll_init()
64 tmp |= 0x00000001; in vpll_init()
65 writel(tmp, SC_VPLL27ACTRL); in vpll_init()
66 tmp = readl(SC_VPLL27BCTRL); in vpll_init()
67 tmp |= 0x00000001; in vpll_init()
68 writel(tmp, SC_VPLL27BCTRL); in vpll_init()
71 tmp = readl(SC_VPLL27ACTRL3); in vpll_init()
72 tmp &= ~0x10000000; in vpll_init()
73 writel(tmp, SC_VPLL27ACTRL3); in vpll_init()
74 tmp = readl(SC_VPLL27BCTRL3); in vpll_init()
75 tmp &= ~0x10000000; in vpll_init()
76 writel(tmp, SC_VPLL27BCTRL3); in vpll_init()
79 tmp = readl(SC_VPLL27ACTRL2); in vpll_init()
80 tmp &= ~0x10000000; in vpll_init()
81 writel(tmp, SC_VPLL27ACTRL2); in vpll_init()
82 tmp = readl(SC_VPLL27BCTRL2); in vpll_init()
83 tmp &= ~0x10000000; in vpll_init()
84 writel(tmp, SC_VPLL27BCTRL2); in vpll_init()
87 tmp = readl(SC_VPLL27ACTRL2); in vpll_init()
88 tmp &= ~0x0000007f; in vpll_init()
89 tmp |= 0x00000020; in vpll_init()
90 writel(tmp, SC_VPLL27ACTRL2); in vpll_init()
91 tmp = readl(SC_VPLL27BCTRL2); in vpll_init()
92 tmp &= ~0x0000007f; in vpll_init()
93 tmp |= 0x00000020; in vpll_init()
94 writel(tmp, SC_VPLL27BCTRL2); in vpll_init()
99 tmp = readl(SC_VPLL27ACTRL3); in vpll_init()
100 tmp &= ~0x000fffff; in vpll_init()
101 tmp |= 0x00066664; in vpll_init()
102 writel(tmp, SC_VPLL27ACTRL3); in vpll_init()
103 tmp = readl(SC_VPLL27BCTRL3); in vpll_init()
104 tmp &= ~0x000fffff; in vpll_init()
105 tmp |= 0x00066664; in vpll_init()
106 writel(tmp, SC_VPLL27BCTRL3); in vpll_init()
109 tmp = readl(SC_VPLL27ACTRL3); in vpll_init()
110 tmp &= ~0x000fffff; in vpll_init()
111 tmp |= 0x000f5800; in vpll_init()
112 writel(tmp, SC_VPLL27ACTRL3); in vpll_init()
113 tmp = readl(SC_VPLL27BCTRL3); in vpll_init()
114 tmp &= ~0x000fffff; in vpll_init()
115 tmp |= 0x000f5800; in vpll_init()
116 writel(tmp, SC_VPLL27BCTRL3); in vpll_init()
120 tmp = readl(SC_VPLL27ACTRL3); in vpll_init()
121 tmp |= 0x10000000; in vpll_init()
122 writel(tmp, SC_VPLL27ACTRL3); in vpll_init()
123 tmp = readl(SC_VPLL27BCTRL3); in vpll_init()
124 tmp |= 0x10000000; in vpll_init()
125 writel(tmp, SC_VPLL27BCTRL3); in vpll_init()
131 tmp = readl(SC_VPLL27ACTRL2); in vpll_init()
132 tmp |= 0x10000000; in vpll_init()
133 writel(tmp, SC_VPLL27ACTRL2); in vpll_init()
134 tmp = readl(SC_VPLL27BCTRL2); in vpll_init()
135 tmp |= 0x10000000; in vpll_init()
136 writel(tmp, SC_VPLL27BCTRL2); in vpll_init()
139 tmp = readl(SC_VPLL27ACTRL); in vpll_init()
140 tmp &= ~0x00000001; in vpll_init()
141 writel(tmp, SC_VPLL27ACTRL); in vpll_init()
142 tmp = readl(SC_VPLL27BCTRL); in vpll_init()
143 tmp |= ~0x00000001; in vpll_init()
144 writel(tmp, SC_VPLL27BCTRL); in vpll_init()