Searched refs:mdctl (Results 1 – 1 of 1) sorted by relevance
54 u32 mdctl; in davinci_psc_reset() local66 mdctl = readl(psc_base + MDCTL + 4 * id); in davinci_psc_reset()68 mdctl &= ~MDCTL_LRST; in davinci_psc_reset()70 mdctl |= MDCTL_LRST; in davinci_psc_reset()71 writel(mdctl, psc_base + MDCTL + 4 * id); in davinci_psc_reset()80 u32 epcpr, ptcmd, ptstat, pdstat, pdctl, mdstat, mdctl; in davinci_psc_config() local100 mdctl = __raw_readl(psc_base + MDCTL + 4 * id); in davinci_psc_config()101 mdctl &= ~MDSTAT_STATE_MASK; in davinci_psc_config()102 mdctl |= next_state; in davinci_psc_config()104 mdctl |= MDCTL_FORCE; in davinci_psc_config()[all …]