Lines Matching +full:deep +full:- +full:sleep
1 // SPDX-License-Identifier: GPL-2.0
44 return -EINVAL; in lite5200_pm_begin()
51 { .compatible = "fsl,mpc5200-immr", }, in lite5200_pm_prepare()
52 { .compatible = "fsl,mpc5200b-immr", }, in lite5200_pm_prepare()
60 /* deep sleep? let mpc52xx code handle that */ in lite5200_pm_prepare()
65 return -EINVAL; in lite5200_pm_prepare()
77 return -ENOSYS; in lite5200_pm_prepare()
131 out_be32(&xlb->snoop_window, sxlb.snoop_window); in lite5200_restore_regs()
132 out_be32(&xlb->master_priority, sxlb.master_priority); in lite5200_restore_regs()
133 out_be32(&xlb->master_pri_enable, sxlb.master_pri_enable); in lite5200_restore_regs()
136 out_be32(&xlb->int_enable, sxlb.int_enable); in lite5200_restore_regs()
137 out_be32(&xlb->config, sxlb.config); in lite5200_restore_regs()
140 /* CDM - Clock Distribution Module */ in lite5200_restore_regs()
141 out_8(&cdm->ipb_clk_sel, scdm.ipb_clk_sel); in lite5200_restore_regs()
142 out_8(&cdm->pci_clk_sel, scdm.pci_clk_sel); in lite5200_restore_regs()
144 out_8(&cdm->ext_48mhz_en, scdm.ext_48mhz_en); in lite5200_restore_regs()
145 out_8(&cdm->fd_enable, scdm.fd_enable); in lite5200_restore_regs()
146 out_be16(&cdm->fd_counters, scdm.fd_counters); in lite5200_restore_regs()
148 out_be32(&cdm->clk_enables, scdm.clk_enables); in lite5200_restore_regs()
150 out_8(&cdm->osc_disable, scdm.osc_disable); in lite5200_restore_regs()
152 out_be16(&cdm->mclken_div_psc1, scdm.mclken_div_psc1); in lite5200_restore_regs()
153 out_be16(&cdm->mclken_div_psc2, scdm.mclken_div_psc2); in lite5200_restore_regs()
154 out_be16(&cdm->mclken_div_psc3, scdm.mclken_div_psc3); in lite5200_restore_regs()
155 out_be16(&cdm->mclken_div_psc6, scdm.mclken_div_psc6); in lite5200_restore_regs()
159 out_be32(&bes->taskBar, sbes.taskBar); in lite5200_restore_regs()
160 out_be32(&bes->currentPointer, sbes.currentPointer); in lite5200_restore_regs()
161 out_be32(&bes->endPointer, sbes.endPointer); in lite5200_restore_regs()
162 out_be32(&bes->variablePointer, sbes.variablePointer); in lite5200_restore_regs()
164 out_8(&bes->IntVect1, sbes.IntVect1); in lite5200_restore_regs()
165 out_8(&bes->IntVect2, sbes.IntVect2); in lite5200_restore_regs()
166 out_be16(&bes->PtdCntrl, sbes.PtdCntrl); in lite5200_restore_regs()
169 out_8(&bes->ipr[i], sbes.ipr[i]); in lite5200_restore_regs()
171 out_be32(&bes->cReqSelect, sbes.cReqSelect); in lite5200_restore_regs()
172 out_be32(&bes->task_size0, sbes.task_size0); in lite5200_restore_regs()
173 out_be32(&bes->task_size1, sbes.task_size1); in lite5200_restore_regs()
174 out_be32(&bes->MDEDebug, sbes.MDEDebug); in lite5200_restore_regs()
175 out_be32(&bes->ADSDebug, sbes.ADSDebug); in lite5200_restore_regs()
176 out_be32(&bes->Value1, sbes.Value1); in lite5200_restore_regs()
177 out_be32(&bes->Value2, sbes.Value2); in lite5200_restore_regs()
178 out_be32(&bes->Control, sbes.Control); in lite5200_restore_regs()
179 out_be32(&bes->Status, sbes.Status); in lite5200_restore_regs()
180 out_be32(&bes->PTDDebug, sbes.PTDDebug); in lite5200_restore_regs()
184 out_be16(&bes->tcr[i], sbes.tcr[i]); in lite5200_restore_regs()
187 out_be32(&bes->IntPend, sbes.IntPend); in lite5200_restore_regs()
188 out_be32(&bes->IntMask, sbes.IntMask); in lite5200_restore_regs()
192 out_be32(&pic->per_pri1, spic.per_pri1); in lite5200_restore_regs()
193 out_be32(&pic->per_pri2, spic.per_pri2); in lite5200_restore_regs()
194 out_be32(&pic->per_pri3, spic.per_pri3); in lite5200_restore_regs()
196 out_be32(&pic->main_pri1, spic.main_pri1); in lite5200_restore_regs()
197 out_be32(&pic->main_pri2, spic.main_pri2); in lite5200_restore_regs()
199 out_be32(&pic->enc_status, spic.enc_status); in lite5200_restore_regs()
202 out_be32(&pic->per_mask, spic.per_mask); in lite5200_restore_regs()
203 out_be32(&pic->main_mask, spic.main_mask); in lite5200_restore_regs()
204 out_be32(&pic->ctrl, spic.ctrl); in lite5200_restore_regs()
209 /* deep sleep? let mpc52xx code handle that */ in lite5200_pm_enter()
229 /* deep sleep? let mpc52xx code handle that */ in lite5200_pm_finish()