Searched refs:mdctl (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/arch/arm/mach-davinci/ |
H A D | psc.c | 54 u32 mdctl; davinci_psc_reset() local 66 mdctl = readl(psc_base + MDCTL + 4 * id); davinci_psc_reset() 68 mdctl &= ~MDCTL_LRST; davinci_psc_reset() 70 mdctl |= MDCTL_LRST; davinci_psc_reset() 71 writel(mdctl, psc_base + MDCTL + 4 * id); davinci_psc_reset() 80 u32 epcpr, ptcmd, ptstat, pdstat, pdctl, mdstat, mdctl; davinci_psc_config() local 100 mdctl = __raw_readl(psc_base + MDCTL + 4 * id); davinci_psc_config() 101 mdctl &= ~MDSTAT_STATE_MASK; davinci_psc_config() 102 mdctl |= next_state; davinci_psc_config() 104 mdctl |= MDCTL_FORCE; davinci_psc_config() 105 __raw_writel(mdctl, psc_base + MDCTL + 4 * id); davinci_psc_config()
|
H A D | sleep.S | 187 /* Set next state in mdctl for DDR2 */
|
/linux-4.1.27/drivers/clk/keystone/ |
H A D | gate.c | 79 u32 ptcmd, pdstat, pdctl, mdstat, mdctl, ptstat; psc_config() local 82 mdctl = readl(control_base + MDCTL); psc_config() 83 mdctl &= ~MDSTAT_STATE_MASK; psc_config() 84 mdctl |= next_state; psc_config() 87 mdctl &= ~MDCTL_LRESET; psc_config() 88 writel(mdctl, control_base + MDCTL); psc_config()
|
Completed in 148 milliseconds