Lines Matching +full:sync +full:- +full:1
1 /* SPDX-License-Identifier: GPL-2.0 */
10 mpc52xx_deep_sleep: /* args r3-r6: SRAM, SDRAM regs, CDM regs, INTR regs */
16 sync; isync;
21 lwz r8, 0x14(r6) /* intr->main_mask */
25 sync
29 stw r8, 0x40(r6) /* intr->main_emulate */
30 sync
33 1:
34 cmpi cr0, r10, 1
35 bne cr0, 1b
40 sync; isync;
42 sync; isync;
57 sync; isync;
59 sync; isync;
68 /* put SDRAM into self-refresh */
69 lwz r8, 0x4(r4) /* sdram->ctrl */
73 sync
77 sync
82 sync
87 sync
90 lwz r8, 0x14(r5) /* cdm->clkenable */
94 sync
99 oris r10, r10, 0x0004 /* POW = 1 */
100 sync; isync;
102 sync; isync;
109 sync
111 /* get ram out of self-refresh */
115 sync
120 .long $-mpc52xx_ds_sram
123 /* ### interrupt handler for wakeup from deep-sleep ### */
131 addi r7, r7, 0x540 /* intr->main_emul */
134 sync
139 addi r7, r7, 0x524 /* intr->enc_status */
143 sync
146 /* flag - we handled the interrupt */
147 li r10, 1
155 .long $-mpc52xx_ds_cached