Lines Matching +full:self +full:- +full:power
1 // SPDX-License-Identifier: GPL-2.0-or-later
21 * mips_cpu_save() - Save general CPU state.
36 * mips_cpu_restore() - Restore general CPU state.
44 if (current->mm) in mips_cpu_restore()
45 write_c0_entryhi(cpu_asid(cpu, current->mm)); in mips_cpu_restore()
52 write_c0_userlocal(current_thread_info()->tp_value); in mips_cpu_restore()
59 * mips_pm_notifier() - Notifier for preserving general CPU context.
60 * @self: Notifier block.
64 * This is called when a CPU power management event occurs, and is used to
65 * ensure that important CPU context is preserved across a CPU power down.
67 static int mips_pm_notifier(struct notifier_block *self, unsigned long cmd, in mips_pm_notifier() argument