Searched refs:LOONGSON_CHIPCFG (Results 1 – 6 of 6) 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()
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()
244 #define LOONGSON_CHIPCFG(id) (*(volatile u32 *)(loongson_chipcfg[id])) macro
221 #define LOONGSON_CHIPCFG (void __iomem *)TO_UNCAC(0x1fc00180) macro
834 LOONGSON_CHIPCFG(package_id) &= ~(1 << (12 + core_id)); in loongson3_disable_clock()848 LOONGSON_CHIPCFG(package_id) |= 1 << (12 + core_id); in loongson3_enable_clock()