Searched refs:LOONGSON_CHIPCFG (Results 1 – 6 of 6) sorted by relevance
78 LOONGSON_CHIPCFG(0) &= ~0x7; in wait_for_wakeup_events()101 cached_cpu_freq = LOONGSON_CHIPCFG(0); in loongson_suspend_enter()104 LOONGSON_CHIPCFG(0) &= ~0x7; in loongson_suspend_enter()109 LOONGSON_CHIPCFG(0) = cached_cpu_freq; in loongson_suspend_enter()
147 cpu_freq = LOONGSON_CHIPCFG(0); in loongson2_cpu_wait()148 LOONGSON_CHIPCFG(0) &= ~0x7; /* Put CPU into wait mode */ in loongson2_cpu_wait()149 LOONGSON_CHIPCFG(0) = cpu_freq; /* Restore CPU state */ in loongson2_cpu_wait()
121 regval = LOONGSON_CHIPCFG(0); in clk_set_rate()123 LOONGSON_CHIPCFG(0) = regval; in clk_set_rate()
27 LOONGSON_CHIPCFG(0) |= 0x7; in reset_cpu()
699 LOONGSON_CHIPCFG(package_id) &= ~(1 << (12 + core_id)); in loongson3_disable_clock()713 LOONGSON_CHIPCFG(package_id) |= 1 << (12 + core_id); in loongson3_enable_clock()
251 #define LOONGSON_CHIPCFG(id) (*(volatile u32 *)(loongson_chipcfg[id])) macro