![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Macros | |
#define | TRIMINFO_RELOAD 1 |
#define | CORE_EN 1 |
#define | THERM_TRIP_EN (1 << 12) |
#define | INTEN_RISE0 1 |
#define | INTEN_RISE1 (1 << 4) |
#define | INTEN_RISE2 (1 << 8) |
#define | INTEN_FALL0 (1 << 16) |
#define | INTEN_FALL1 (1 << 20) |
#define | INTEN_FALL2 (1 << 24) |
#define | TRIM_INFO_MASK 0xff |
#define | INTCLEAR_RISE0 1 |
#define | INTCLEAR_RISE1 (1 << 4) |
#define | INTCLEAR_RISE2 (1 << 8) |
#define | INTCLEAR_FALL0 (1 << 16) |
#define | INTCLEAR_FALL1 (1 << 20) |
#define | INTCLEAR_FALL2 (1 << 24) |
#define | INTCLEARALL |
Functions | |
static int | get_cur_temp (struct tmu_info *info) |
enum tmu_status_t | tmu_monitor (struct tmu_info *info, int *temp) |
static void | tmu_setup_parameters (struct tmu_info *info) |
int | tmu_init (struct tmu_info *info) |
Variables | |
struct tmu_info | exynos5250_tmu_info |
#define INTCLEARALL |
|
static |
Definition at line 59 of file tmu.c.
References tmu_reg::current_temp, info, and read32().
enum tmu_status_t tmu_monitor | ( | struct tmu_info * | info, |
int * | temp | ||
) |
Definition at line 117 of file tmu.c.
References CORE_EN, tmu_data::efuse_max_value, tmu_data::efuse_min_value, tmu_data::efuse_value, temperature_params::hardware_tripping, info, tmu_reg::intclear, INTCLEARALL, tmu_reg::inten, INTEN_RISE1, INTEN_RISE2, power_enable_hw_thermal_trip(), read32(), tmu_data::slope, temperature_params::start_tripping, temperature_params::start_warning, THERM_TRIP_EN, tmu_reg::threshold_temp_fall, tmu_reg::threshold_temp_rise, tmu_reg::tmu_control, TRIM_INFO_MASK, tmu_reg::triminfo, tmu_reg::triminfo_control, TRIMINFO_RELOAD, tmu_data::ts, and write32().
Referenced by tmu_init().
struct tmu_info exynos5250_tmu_info |
Definition at line 1 of file tmu.c.
Referenced by mainboard_init().