Lines Matching +full:sync +full:- +full:2
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * This file contains sleep low-level functions for PowerBook G3.
14 #include <asm/asm-offsets.h>
16 #include <asm/feature-fixups.h>
57 /* This gets called by via-pmu.c late during the sleep process.
96 mfsprg r4,2
110 mfdbatu r4,2
112 mfdbatl r4,2
126 mfibatu r4,2
128 mfibatl r4,2
173 /* The ROM can wake us up via 2 different vectors:
174 * - On wallstreet & lombard, we must write a magic
178 * - On Core99, we must store the wakeup vector at
194 /* Setup stuffs at 0x80-0x84 for Core99 */
209 sync
215 sync
217 lwz r0,0(r3) /* perform cache-inhibited load to ROM */
218 sync /* (caches are disabled at this point) */
227 sync
230 sync
240 1: sync
262 sync
269 sync
272 sync
295 sync
320 mtsprg 2,r4
333 mtdbatu 2,r4
335 mtdbatl 2,r4
349 mtibatu 2,r4
351 mtibatl 2,r4
394 1: addic. r4,r4,-0x1000
397 sync
407 /* Restore the callee-saved registers and return */
419 sync