![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <soc/cpu.h>
Go to the source code of this file.
Data Structures | |
struct | exynos5_power |
Macros | |
#define | MIPI_PHY1_CONTROL_ENABLE (1 << 0) |
#define | MIPI_PHY1_CONTROL_M_RESETN (1 << 2) |
#define | POWER_USB_PHY_CTRL_EN (1 << 0) |
#define | POWER_PS_HOLD_CONTROL_DATA_HIGH (1 << 8) |
#define | POWER_ENABLE_HW_TRIP (1UL << 31) |
#define | EXYNOS_DP_PHY_ENABLE (1 << 0) |
#define | PMU_DEBUG_XXTI 0x1000 |
#define | PMU_DEBUG_CLKOUT_SEL_MASK 0x1f00 |
Functions | |
void | power_enable_hw_thermal_trip (void) |
check_member (exynos5_power, ps_hold_ctrl, 0x330c) | |
void | power_reset (void) |
Perform a software reset. More... | |
void | power_shutdown (void) |
Power off the system; it should never return. More... | |
void | power_enable_dp_phy (void) |
int | power_init (void) |
uint32_t | power_read_reset_status (void) |
void | power_exit_wakeup (void) |
void | power_enable_xclkout (void) |
void | power_release_uart_retention (void) |
Variables | |
struct exynos5_power | __packed |
static struct exynos5_power *const | exynos_power = (void *)EXYNOS5_POWER_BASE |
check_member | ( | exynos5_power | , |
ps_hold_ctrl | , | ||
0x330c | |||
) |
Definition at line 42 of file power.c.
References exynos5_power::dptx_phy_control, EXYNOS_DP_PHY_ENABLE, exynos_power, and setbits32.
Definition at line 47 of file power.c.
References exynos_power, POWER_ENABLE_HW_TRIP, exynos5_power::ps_hold_ctrl, and setbits32.
Definition at line 71 of file power.c.
References clrsetbits32, exynos_power, exynos5_power::pmu_debug, PMU_DEBUG_CLKOUT_SEL_MASK, and PMU_DEBUG_XXTI.
Definition at line 58 of file power.c.
References exynos_power, exynos5_power::inform0, and void().
int power_init | ( | void | ) |
Definition at line 65 of file power.c.
References ps_hold_setup().
Definition at line 53 of file power.c.
References exynos_power, and exynos5_power::inform1.
Definition at line 78 of file power.c.
References exynos_power, exynos5_power::padret_uart_opt, and write32().
Perform a software reset.
Definition at line 20 of file power.c.
References exynos_power, exynos5_power::inform1, setbits32, and exynos5_power::sw_reset.
Referenced by do_board_reset().
Power off the system; it should never return.
Definition at line 34 of file power.c.
References clrbits32, exynos_power, halt(), POWER_PS_HOLD_CONTROL_DATA_HIGH, and exynos5_power::ps_hold_ctrl.
struct exynos5_power __packed |
|
static |