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()
59 /* deep sleep? let mpc52xx code handle that */ in lite5200_pm_prepare()
64 return -EINVAL; in lite5200_pm_prepare()
74 return -ENOSYS; in lite5200_pm_prepare()
128 out_be32(&xlb->snoop_window, sxlb.snoop_window); in lite5200_restore_regs()
129 out_be32(&xlb->master_priority, sxlb.master_priority); in lite5200_restore_regs()
130 out_be32(&xlb->master_pri_enable, sxlb.master_pri_enable); in lite5200_restore_regs()
133 out_be32(&xlb->int_enable, sxlb.int_enable); in lite5200_restore_regs()
134 out_be32(&xlb->config, sxlb.config); in lite5200_restore_regs()
137 /* CDM - Clock Distribution Module */ in lite5200_restore_regs()
138 out_8(&cdm->ipb_clk_sel, scdm.ipb_clk_sel); in lite5200_restore_regs()
139 out_8(&cdm->pci_clk_sel, scdm.pci_clk_sel); in lite5200_restore_regs()
141 out_8(&cdm->ext_48mhz_en, scdm.ext_48mhz_en); in lite5200_restore_regs()
142 out_8(&cdm->fd_enable, scdm.fd_enable); in lite5200_restore_regs()
143 out_be16(&cdm->fd_counters, scdm.fd_counters); in lite5200_restore_regs()
145 out_be32(&cdm->clk_enables, scdm.clk_enables); in lite5200_restore_regs()
147 out_8(&cdm->osc_disable, scdm.osc_disable); in lite5200_restore_regs()
149 out_be16(&cdm->mclken_div_psc1, scdm.mclken_div_psc1); in lite5200_restore_regs()
150 out_be16(&cdm->mclken_div_psc2, scdm.mclken_div_psc2); in lite5200_restore_regs()
151 out_be16(&cdm->mclken_div_psc3, scdm.mclken_div_psc3); in lite5200_restore_regs()
152 out_be16(&cdm->mclken_div_psc6, scdm.mclken_div_psc6); in lite5200_restore_regs()
156 out_be32(&bes->taskBar, sbes.taskBar); in lite5200_restore_regs()
157 out_be32(&bes->currentPointer, sbes.currentPointer); in lite5200_restore_regs()
158 out_be32(&bes->endPointer, sbes.endPointer); in lite5200_restore_regs()
159 out_be32(&bes->variablePointer, sbes.variablePointer); in lite5200_restore_regs()
161 out_8(&bes->IntVect1, sbes.IntVect1); in lite5200_restore_regs()
162 out_8(&bes->IntVect2, sbes.IntVect2); in lite5200_restore_regs()
163 out_be16(&bes->PtdCntrl, sbes.PtdCntrl); in lite5200_restore_regs()
166 out_8(&bes->ipr[i], sbes.ipr[i]); in lite5200_restore_regs()
168 out_be32(&bes->cReqSelect, sbes.cReqSelect); in lite5200_restore_regs()
169 out_be32(&bes->task_size0, sbes.task_size0); in lite5200_restore_regs()
170 out_be32(&bes->task_size1, sbes.task_size1); in lite5200_restore_regs()
171 out_be32(&bes->MDEDebug, sbes.MDEDebug); in lite5200_restore_regs()
172 out_be32(&bes->ADSDebug, sbes.ADSDebug); in lite5200_restore_regs()
173 out_be32(&bes->Value1, sbes.Value1); in lite5200_restore_regs()
174 out_be32(&bes->Value2, sbes.Value2); in lite5200_restore_regs()
175 out_be32(&bes->Control, sbes.Control); in lite5200_restore_regs()
176 out_be32(&bes->Status, sbes.Status); in lite5200_restore_regs()
177 out_be32(&bes->PTDDebug, sbes.PTDDebug); in lite5200_restore_regs()
181 out_be16(&bes->tcr[i], sbes.tcr[i]); in lite5200_restore_regs()
184 out_be32(&bes->IntPend, sbes.IntPend); in lite5200_restore_regs()
185 out_be32(&bes->IntMask, sbes.IntMask); in lite5200_restore_regs()
189 out_be32(&pic->per_pri1, spic.per_pri1); in lite5200_restore_regs()
190 out_be32(&pic->per_pri2, spic.per_pri2); in lite5200_restore_regs()
191 out_be32(&pic->per_pri3, spic.per_pri3); in lite5200_restore_regs()
193 out_be32(&pic->main_pri1, spic.main_pri1); in lite5200_restore_regs()
194 out_be32(&pic->main_pri2, spic.main_pri2); in lite5200_restore_regs()
196 out_be32(&pic->enc_status, spic.enc_status); in lite5200_restore_regs()
199 out_be32(&pic->per_mask, spic.per_mask); in lite5200_restore_regs()
200 out_be32(&pic->main_mask, spic.main_mask); in lite5200_restore_regs()
201 out_be32(&pic->ctrl, spic.ctrl); in lite5200_restore_regs()
206 /* deep sleep? let mpc52xx code handle that */ in lite5200_pm_enter()
226 /* deep sleep? let mpc52xx code handle that */ in lite5200_pm_finish()