Searched refs:osc_base (Results 1 – 1 of 1) sorted by relevance
43 void __iomem *osc_base = ioremap(PIC32_BASE_OSC, 0x200); in pic32_get_sysclk() local45 osccon = __raw_readl(osc_base + OSCCON); in pic32_get_sysclk()46 spllcon = __raw_readl(osc_base + SPLLCON); in pic32_get_sysclk()81 iounmap(osc_base); in pic32_get_sysclk()89 void __iomem *osc_base = ioremap(PIC32_BASE_OSC, 0x200); in pic32_get_pbclk() local91 u32 pbdiv = (__raw_readl(osc_base + pbxdiv) & PB_MASK) + 1; in pic32_get_pbclk()93 iounmap(osc_base); in pic32_get_pbclk()