Lines Matching refs:mcu_ctrl
84 u32 mcu_ctrl; in aspeed_dp_probe() local
124 mcu_ctrl = MCU_CTRL_CONFIG | MCU_CTRL_IMEM_CLK_OFF | MCU_CTRL_IMEM_SHUT_DOWN | in aspeed_dp_probe()
126 writel(mcu_ctrl, MCU_CTRL); in aspeed_dp_probe()
128 mcu_ctrl &= ~(MCU_CTRL_IMEM_SHUT_DOWN | MCU_CTRL_DMEM_SHUT_DOWN); in aspeed_dp_probe()
129 writel(mcu_ctrl, MCU_CTRL); in aspeed_dp_probe()
131 mcu_ctrl &= ~(MCU_CTRL_IMEM_CLK_OFF | MCU_CTRL_DMEM_CLK_OFF); in aspeed_dp_probe()
132 writel(mcu_ctrl, MCU_CTRL); in aspeed_dp_probe()
134 mcu_ctrl |= MCU_CTRL_AHBS_IMEM_EN; in aspeed_dp_probe()
135 writel(mcu_ctrl, MCU_CTRL); in aspeed_dp_probe()
141 mcu_ctrl &= ~MCU_CTRL_AHBS_IMEM_EN; in aspeed_dp_probe()
142 writel(mcu_ctrl, MCU_CTRL); in aspeed_dp_probe()
143 mcu_ctrl |= MCU_CTRL_CORE_SW_RST | MCU_CTRL_AHBM_SW_RST; in aspeed_dp_probe()
144 writel(mcu_ctrl, MCU_CTRL); in aspeed_dp_probe()