Searched refs:LOONGSON_CHIPCFG (Results 1 – 7 of 7) sorted by relevance
78 writel(readl(LOONGSON_CHIPCFG) & ~0x7, LOONGSON_CHIPCFG); in wait_for_wakeup_events()101 cached_cpu_freq = readl(LOONGSON_CHIPCFG); in loongson_suspend_enter()104 writel(readl(LOONGSON_CHIPCFG) & ~0x7, LOONGSON_CHIPCFG); in loongson_suspend_enter()109 writel(cached_cpu_freq, LOONGSON_CHIPCFG); in loongson_suspend_enter()
133 cpu_freq = readl(LOONGSON_CHIPCFG); in loongson2_cpu_wait()135 writel(readl(LOONGSON_CHIPCFG) & ~0x7, LOONGSON_CHIPCFG); in loongson2_cpu_wait()137 writel(cpu_freq, LOONGSON_CHIPCFG); in loongson2_cpu_wait()
45 regval = readl(LOONGSON_CHIPCFG); in loongson2_cpu_set_rate()47 writel(regval, LOONGSON_CHIPCFG); in loongson2_cpu_set_rate()
27 writel(readl(LOONGSON_CHIPCFG) | 0x7, LOONGSON_CHIPCFG); in reset_cpu()
219 #define LOONGSON_CHIPCFG(id) (*(volatile u32 *)(loongson_chipcfg[id])) macro
758 LOONGSON_CHIPCFG(package_id) &= ~(1 << (12 + core_id)); in loongson3_disable_clock()772 LOONGSON_CHIPCFG(package_id) |= 1 << (12 + core_id); in loongson3_enable_clock()
230 #define LOONGSON_CHIPCFG (void __iomem *)TO_UNCAC(0x1fc00180) macro