···264 iounmap(bootcr);265}266267-static int tnetd7200_get_clock(int base, struct tnetd7200_clock *clock,268- u32 *bootcr, u32 bus_clock)269-{270- int divisor = ((readl(&clock->prediv) & 0x1f) + 1) *271- ((readl(&clock->postdiv) & 0x1f) + 1);272-273- if (*bootcr & BOOT_PLL_BYPASS)274- return base / divisor;275-276- return base * ((readl(&clock->mul) & 0xf) + 1) / divisor;277-}278-279-280static void tnetd7200_set_clock(int base, struct tnetd7200_clock *clock,281 int prediv, int postdiv, int postdiv2, int mul, u32 frequency)282{
···264 iounmap(bootcr);265}2660000000000000267static void tnetd7200_set_clock(int base, struct tnetd7200_clock *clock,268 int prediv, int postdiv, int postdiv2, int mul, u32 frequency)269{