Home
last modified time | relevance | path

Searched refs:mdstat (Results 1 – 6 of 6) sorted by relevance

/u-boot/arch/arm/mach-davinci/
A Dpsc.c35 dv_reg_p mdstat, mdctl, ptstat, ptcmd; in lpsc_transition() local
42 mdstat = &psc_regs->psc0.mdstat[id]; in lpsc_transition()
49 mdstat = &psc_regs->psc1.mdstat[id]; in lpsc_transition()
58 if ((readl(mdstat) & PSC_MDSTAT_STATE) == state) in lpsc_transition()
66 while ((readl(mdstat) & PSC_MDSTAT_STATE) != state) in lpsc_transition()
/u-boot/arch/arm/mach-keystone/
A Dpsc.c249 u32 mdctl, ptcmd, mdstat; in psc_module_keep_in_reset_enabled() local
277 mdstat = __raw_readl(KS2_PSC_BASE + PSC_REG_MDSTAT(mod_num)); in psc_module_keep_in_reset_enabled()
281 if (!(PSC_REG_MDSTAT_GET_STATUS(mdstat) & 0x30) && in psc_module_keep_in_reset_enabled()
282 PSC_REG_MDSTAT_GET_MRSTDONE(mdstat) && in psc_module_keep_in_reset_enabled()
283 PSC_REG_MDSTAT_GET_LRSTDONE(mdstat)) in psc_module_keep_in_reset_enabled()
290 __func__, mdstat); in psc_module_keep_in_reset_enabled()
307 u32 mdctl, mdstat; in psc_module_release_from_reset() local
325 if (!(PSC_REG_MDSTAT_GET_STATUS(mdstat) & 0x30) && in psc_module_release_from_reset()
326 PSC_REG_MDSTAT_GET_MRSTDONE(mdstat) && in psc_module_release_from_reset()
327 PSC_REG_MDSTAT_GET_LRSTDONE(mdstat)) in psc_module_release_from_reset()
[all …]
/u-boot/board/davinci/da8xxevm/
A Domapl138_lcdk.c247 dv_reg_p mdstat, mdctl, ptstat, ptcmd; in dsp_lpsc_on() local
251 mdstat = &psc_regs->psc0.mdstat[id]; in dsp_lpsc_on()
259 if ((*mdstat & 0x1f) == 0x03) in dsp_lpsc_on()
268 while ((*mdstat & 0x1f) != 0x03) in dsp_lpsc_on()
A Dda850evm.c78 dv_reg_p mdstat, mdctl, ptstat, ptcmd; in dsp_lpsc_on() local
82 mdstat = &psc_regs->psc0.mdstat[id]; in dsp_lpsc_on()
90 if ((*mdstat & 0x1f) == 0x03) in dsp_lpsc_on()
99 while ((*mdstat & 0x1f) != 0x03) in dsp_lpsc_on()
/u-boot/arch/arm/mach-davinci/include/mach/
A Dpsc_defs.h47 unsigned int mdstat[52]; /* 0x800 */ member
A Dhardware.h178 dv_reg mdstat[PSC_PSC0_MODULE_ID_CNT]; member
183 dv_reg mdstat[PSC_PSC1_MODULE_ID_CNT]; member

Completed in 9 milliseconds