Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/mach-keystone/
H A Dpsc.c248 u32 mdctl, ptcmd, mdstat; in psc_module_keep_in_reset_enabled() local
276 mdstat = __raw_readl(KS2_PSC_BASE + PSC_REG_MDSTAT(mod_num)); in psc_module_keep_in_reset_enabled()
280 if (!(PSC_REG_MDSTAT_GET_STATUS(mdstat) & 0x30) && in psc_module_keep_in_reset_enabled()
281 PSC_REG_MDSTAT_GET_MRSTDONE(mdstat) && in psc_module_keep_in_reset_enabled()
282 PSC_REG_MDSTAT_GET_LRSTDONE(mdstat)) in psc_module_keep_in_reset_enabled()
289 __func__, mdstat); in psc_module_keep_in_reset_enabled()
306 u32 mdctl, mdstat; in psc_module_release_from_reset() local
324 if (!(PSC_REG_MDSTAT_GET_STATUS(mdstat) & 0x30) && in psc_module_release_from_reset()
325 PSC_REG_MDSTAT_GET_MRSTDONE(mdstat) && in psc_module_release_from_reset()
326 PSC_REG_MDSTAT_GET_LRSTDONE(mdstat)) in psc_module_release_from_reset()
[all …]
/openbmc/u-boot/arch/arm/mach-davinci/
H A Dpsc.c35 dv_reg_p mdstat, mdctl, ptstat, ptcmd; in lpsc_transition() local
44 mdstat = REG_P(PSC_MDSTAT_BASE + (id * 4)); in lpsc_transition()
53 mdstat = &psc_regs->psc0.mdstat[id]; in lpsc_transition()
60 mdstat = &psc_regs->psc1.mdstat[id]; in lpsc_transition()
70 if ((readl(mdstat) & PSC_MDSTAT_STATE) == state) in lpsc_transition()
101 while ((readl(mdstat) & PSC_MDSTAT_STATE) != state) in lpsc_transition()
H A Ddm365_lowlevel.c259 while (!((readl(&dv_psc_regs->mdstat[DAVINCI_LPSC_VPSSMASTER]) & in dm365_vpss_sync_reset()
355 while (!((readl(&dv_psc_regs->mdstat[i]) & in dm365_psc_init()
/openbmc/u-boot/board/Barix/ipam390/
H A Dipam390.c45 dv_reg_p mdstat, mdctl, ptstat, ptcmd; in dsp_lpsc_on() local
49 mdstat = &psc_regs->psc0.mdstat[id]; in dsp_lpsc_on()
57 if ((*mdstat & 0x1f) == 0x03) in dsp_lpsc_on()
66 while ((*mdstat & 0x1f) != 0x03) in dsp_lpsc_on()
/openbmc/u-boot/board/davinci/da8xxevm/
H A Domapl138_lcdk.c262 dv_reg_p mdstat, mdctl, ptstat, ptcmd; in dsp_lpsc_on() local
266 mdstat = &psc_regs->psc0.mdstat[id]; in dsp_lpsc_on()
274 if ((*mdstat & 0x1f) == 0x03) in dsp_lpsc_on()
283 while ((*mdstat & 0x1f) != 0x03) in dsp_lpsc_on()
H A Dda850evm.c104 dv_reg_p mdstat, mdctl, ptstat, ptcmd; in dsp_lpsc_on() local
108 mdstat = &psc_regs->psc0.mdstat[id]; in dsp_lpsc_on()
116 if ((*mdstat & 0x1f) == 0x03) in dsp_lpsc_on()
125 while ((*mdstat & 0x1f) != 0x03) in dsp_lpsc_on()
/openbmc/linux/drivers/clk/keystone/
H A Dgate.c74 u32 ptcmd, pdstat, pdctl, mdstat, mdctl, ptstat; in psc_config() local
100 mdstat = readl(control_base + MDSTAT); in psc_config()
101 } while (!((mdstat & MDSTAT_STATE_MASK) == next_state) && count--); in psc_config()
108 u32 mdstat = readl(data->control_base + MDSTAT); in keystone_clk_is_enabled() local
110 return (mdstat & MDSTAT_MCKOUT) ? 1 : 0; in keystone_clk_is_enabled()
/openbmc/linux/drivers/clk/davinci/
H A Dpsc.c112 u32 epcpr, pdstat, mdstat, ptstat; in davinci_lpsc_config() local
140 regmap_read_poll_timeout(lpsc->regmap, MDSTAT(lpsc->md), mdstat, in davinci_lpsc_config()
141 (mdstat & MDSTAT_STATE_MASK) == next_state, in davinci_lpsc_config()
164 u32 mdstat; in davinci_lpsc_clk_is_enabled() local
166 regmap_read(lpsc->regmap, MDSTAT(lpsc->md), &mdstat); in davinci_lpsc_clk_is_enabled()
168 return (mdstat & MDSTAT_MCKOUT) ? 1 : 0; in davinci_lpsc_clk_is_enabled()
/openbmc/openbmc/poky/meta/recipes-core/initscripts/initscripts-1.0/
H A Dhalt26 if grep -qs '^md.*active' /proc/mdstat
/openbmc/u-boot/arch/arm/mach-davinci/include/mach/
H A Dpsc_defs.h47 unsigned int mdstat[52]; /* 0x800 */ member
H A Dhardware.h342 dv_reg mdstat[PSC_PSC0_MODULE_ID_CNT]; member
347 dv_reg mdstat[PSC_PSC1_MODULE_ID_CNT]; member
/openbmc/openbmc/poky/meta/recipes-extended/mdadm/files/
H A Dmdadm.init26 test -f /proc/mdstat || exit 0
/openbmc/openbmc/meta-security/recipes-ids/tripwire/files/
H A Dtwpol-yocto.txt1063 /proc/mdstat -> $(Device) ;