coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
tco.h File Reference
#include <stdint.h>
Include dependency graph for tco.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void tco_configure (void)
 
void tco_lockdown (void)
 
uint32_t tco_reset_status (void)
 
uint16_t tco_read_reg (uint16_t tco_reg)
 
void tco_write_reg (uint16_t tco_reg, uint16_t value)
 

Function Documentation

◆ tco_configure()

void tco_configure ( void  )

Definition at line 130 of file tco.c.

References CONFIG, tco_enable_bar(), tco_intruder_smi_enable(), and tco_timer_disable().

Referenced by bootblock_soc_early_init(), and bootblock_soc_init().

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

◆ tco_lockdown()

void tco_lockdown ( void  )

Definition at line 50 of file tco.c.

References PCH_DEV_SMBUS, pci_or_config32(), TCO1_CNT, TCO_BASE_LOCK, TCO_LOCK, tco_read_reg(), tco_write_reg(), and TCOCTL.

Referenced by finalize_smbus(), pch_finalize(), and pch_finalize_script().

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

◆ tco_read_reg()

uint16_t tco_read_reg ( uint16_t  tco_reg)

Definition at line 32 of file tco.c.

References inw(), and tco_get_bar().

Referenced by bootblock_soc_init(), soc_fill_power_state(), tco_intruder_smi_enable(), tco_lockdown(), tco_reset_status(), and tco_timer_disable().

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

◆ tco_reset_status()

uint32_t tco_reset_status ( void  )

Definition at line 64 of file tco.c.

References TCO1_STS, TCO2_STS, tco_read_reg(), TCO_STS_SECOND_TO, and tco_write_reg().

Referenced by pmc_clear_tco_status().

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

◆ tco_write_reg()

void tco_write_reg ( uint16_t  tco_reg,
uint16_t  value 
)

Definition at line 41 of file tco.c.

References outw(), tco_get_bar(), and value.

Referenced by bootblock_soc_init(), tco_intruder_smi_enable(), tco_lockdown(), tco_reset_status(), and tco_timer_disable().

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