Searched refs:LOONGSON_CHIPCFG (Results 1 – 6 of 6) sorted by relevance
82 LOONGSON_CHIPCFG(0) &= ~0x7; in wait_for_wakeup_events()105 cached_cpu_freq = LOONGSON_CHIPCFG(0); in loongson_suspend_enter()108 LOONGSON_CHIPCFG(0) &= ~0x7; in loongson_suspend_enter()113 LOONGSON_CHIPCFG(0) = cached_cpu_freq; in loongson_suspend_enter()
146 cpu_freq = LOONGSON_CHIPCFG(0); in loongson2_cpu_wait()147 LOONGSON_CHIPCFG(0) &= ~0x7; /* Put CPU into wait mode */ in loongson2_cpu_wait()148 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()
31 LOONGSON_CHIPCFG(0) |= 0x7; in reset_cpu()
707 LOONGSON_CHIPCFG(package_id) &= ~(1 << (12 + core_id)); in loongson3_disable_clock()721 LOONGSON_CHIPCFG(package_id) |= 1 << (12 + core_id); in loongson3_enable_clock()
255 #define LOONGSON_CHIPCFG(id) (*(volatile u32 *)(loongson_chipcfg[id])) macro