Home
last modified time | relevance | path

Searched refs:scu_ctrl (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/arm/kernel/
H A Dsmp_scu.c40 u32 scu_ctrl; in scu_enable() local
45 scu_ctrl = readl_relaxed(scu_base + 0x30); in scu_enable()
46 if (!(scu_ctrl & 1)) in scu_enable()
47 writel_relaxed(scu_ctrl | 0x1, scu_base + 0x30); in scu_enable()
51 scu_ctrl = readl_relaxed(scu_base + SCU_CTRL); in scu_enable()
53 if (scu_ctrl & SCU_ENABLE) in scu_enable()
56 scu_ctrl |= SCU_ENABLE; in scu_enable()
61 scu_ctrl |= SCU_STANDBY_ENABLE; in scu_enable()
63 writel_relaxed(scu_ctrl, scu_base + SCU_CTRL); in scu_enable()
/openbmc/u-boot/arch/arm/mach-uniphier/arm32/
H A Dpsci.c103 u32 scu_ctrl, tmp; in psci_board_init() local
107 scu_ctrl = readl(scu_base + 0x30); in psci_board_init()
108 if (!(scu_ctrl & 1)) in psci_board_init()
109 writel(scu_ctrl | 0x1, scu_base + 0x30); in psci_board_init()
111 scu_ctrl = readl(scu_base + SCU_CTRL); in psci_board_init()
112 scu_ctrl |= SCU_ENABLE | SCU_STANDBY_ENABLE; in psci_board_init()
113 writel(scu_ctrl, scu_base + SCU_CTRL); in psci_board_init()
/openbmc/u-boot/arch/arm/mach-tegra/
H A Dap.c121 if (readl(&scu->scu_ctrl) & SCU_CTRL_ENABLE) in enable_scu()
128 reg = readl(&scu->scu_ctrl); in enable_scu()
130 writel(reg, &scu->scu_ctrl); in enable_scu()
/openbmc/u-boot/arch/arm/include/asm/arch-tegra/
H A Dscu.h12 uint scu_ctrl; /* SCU Control Register, offset 00 */ member