Home
last modified time | relevance | path

Searched refs:sys0 (Results 1 – 1 of 1) sorted by relevance

/arch/powerpc/boot/
D4xx.c333 u32 sys0 = mfdcr(DCRN_CPC0_SYS0); in ibm440gp_fixup_clocks() local
336 u32 opdv = CPC0_SYS0_OPDV(sys0); in ibm440gp_fixup_clocks()
337 u32 epdv = CPC0_SYS0_EPDV(sys0); in ibm440gp_fixup_clocks()
339 if (sys0 & CPC0_SYS0_BYPASS) { in ibm440gp_fixup_clocks()
343 if (sys0 & CPC0_SYS0_EXTSL) in ibm440gp_fixup_clocks()
345 m = CPC0_SYS0_FWDVB(sys0) * opdv * epdv; in ibm440gp_fixup_clocks()
348 m = CPC0_SYS0_FBDV(sys0) * CPC0_SYS0_FWDVA(sys0); in ibm440gp_fixup_clocks()
349 cpu = sys_clk * m / CPC0_SYS0_FWDVA(sys0); in ibm440gp_fixup_clocks()
350 plb = sys_clk * m / CPC0_SYS0_FWDVB(sys0); in ibm440gp_fixup_clocks()