Lines Matching refs:tmp
129 unsigned int tmp, mips_pll_fcvo; in detect_cpu_clock() local
131 tmp = bcm_misc_readl(MISC_STRAPBUS_6328_REG); in detect_cpu_clock()
132 mips_pll_fcvo = (tmp & STRAPBUS_6328_FCVO_MASK) in detect_cpu_clock()
164 unsigned int tmp, n1, n2, m1; in detect_cpu_clock() local
167 tmp = bcm_perf_readl(PERF_MIPSPLLCTL_REG); in detect_cpu_clock()
168 n1 = (tmp & MIPSPLLCTL_N1_MASK) >> MIPSPLLCTL_N1_SHIFT; in detect_cpu_clock()
169 n2 = (tmp & MIPSPLLCTL_N2_MASK) >> MIPSPLLCTL_N2_SHIFT; in detect_cpu_clock()
170 m1 = (tmp & MIPSPLLCTL_M1CPU_MASK) >> MIPSPLLCTL_M1CPU_SHIFT; in detect_cpu_clock()
179 unsigned int tmp, n1, n2, m1; in detect_cpu_clock() local
182 tmp = bcm_ddr_readl(DDR_DMIPSPLLCFG_REG); in detect_cpu_clock()
183 n1 = (tmp & DMIPSPLLCFG_N1_MASK) >> DMIPSPLLCFG_N1_SHIFT; in detect_cpu_clock()
184 n2 = (tmp & DMIPSPLLCFG_N2_MASK) >> DMIPSPLLCFG_N2_SHIFT; in detect_cpu_clock()
185 m1 = (tmp & DMIPSPLLCFG_M1_MASK) >> DMIPSPLLCFG_M1_SHIFT; in detect_cpu_clock()
191 unsigned int tmp, mips_pll_fcvo; in detect_cpu_clock() local
193 tmp = bcm_misc_readl(MISC_STRAPBUS_6362_REG); in detect_cpu_clock()
194 mips_pll_fcvo = (tmp & STRAPBUS_6362_FCVO_MASK) in detect_cpu_clock()
227 unsigned int tmp, p1, p2, ndiv, m1; in detect_cpu_clock() local
230 tmp = bcm_ddr_readl(DDR_DMIPSPLLCFG_6368_REG); in detect_cpu_clock()
232 p1 = (tmp & DMIPSPLLCFG_6368_P1_MASK) >> in detect_cpu_clock()
235 p2 = (tmp & DMIPSPLLCFG_6368_P2_MASK) >> in detect_cpu_clock()
238 ndiv = (tmp & DMIPSPLLCFG_6368_NDIV_MASK) >> in detect_cpu_clock()
241 tmp = bcm_ddr_readl(DDR_DMIPSPLLDIV_6368_REG); in detect_cpu_clock()
242 m1 = (tmp & DMIPSPLLDIV_6368_MDIV_MASK) >> in detect_cpu_clock()
296 unsigned int tmp; in bcm63xx_cpu_init() local
334 tmp = bcm_readl(chipid_reg); in bcm63xx_cpu_init()
335 bcm63xx_cpu_id = (tmp & REV_CHIPID_MASK) >> REV_CHIPID_SHIFT; in bcm63xx_cpu_init()
336 bcm63xx_cpu_rev = (tmp & REV_REVID_MASK) >> REV_REVID_SHIFT; in bcm63xx_cpu_init()