coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
tmu.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tmu_reg
 
struct  temperature_params
 
struct  tmu_data
 
struct  tmu_info
 

Enumerations

enum  tmu_status_t { TMU_STATUS_INIT = 0 , TMU_STATUS_NORMAL , TMU_STATUS_WARNING , TMU_STATUS_TRIPPED }
 

Functions

 check_member (tmu_reg, emul_con, 0x80)
 
enum tmu_status_t tmu_monitor (struct tmu_info *info, int *temp)
 
int tmu_init (struct tmu_info *info)
 

Variables

struct tmu_infotmu_info
 

Enumeration Type Documentation

◆ tmu_status_t

Enumerator
TMU_STATUS_INIT 
TMU_STATUS_NORMAL 
TMU_STATUS_WARNING 
TMU_STATUS_TRIPPED 

Definition at line 45 of file tmu.h.

Function Documentation

◆ check_member()

check_member ( tmu_reg  ,
emul_con  ,
0x80   
)

◆ tmu_init()

int tmu_init ( struct tmu_info info)

Definition at line 189 of file tmu.c.

References info, tmu_setup_parameters(), TMU_STATUS_INIT, and TMU_STATUS_NORMAL.

Referenced by mainboard_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tmu_monitor()

enum tmu_status_t tmu_monitor ( struct tmu_info info,
int *  temp 
)

Definition at line 59 of file tmu.c.

Variable Documentation

◆ tmu_info

struct tmu_info* tmu_info
extern