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

Go to the source code of this file.

Functions

void flowctrl_cpu_off (int cpu)
 
void flowctrl_cpu_on (int cpu)
 
void flowctrl_cpu_suspend (int cpu)
 
void flowctrl_write_cc4_ctrl (int cpu, uint32_t val)
 
void flowctrl_write_cpu_csr (int cpu, uint32_t val)
 
void flowctrl_write_cpu_halt (int cpu, uint32_t val)
 

Function Documentation

◆ flowctrl_cpu_off()

void flowctrl_cpu_off ( int  cpu)

◆ flowctrl_cpu_on()

void flowctrl_cpu_on ( int  cpu)

Definition at line 77 of file flow_ctrl.c.

References FLOW_CTRL_CSR_ENABLE, FLOW_CTRL_HALT_SCLK, FLOW_CTRL_WAITEVENT, flowctrl_write_cpu_csr(), and flowctrl_write_cpu_halt().

Here is the call graph for this function:

◆ flowctrl_cpu_suspend()

◆ flowctrl_write_cc4_ctrl()

void flowctrl_write_cc4_ctrl ( int  cpu,
uint32_t  val 
)

Definition at line 61 of file flow_ctrl.c.

References flowctrl_offset_cc4_ctrl, read32(), tegra_flowctrl_base, val, and write32().

Referenced by flowctrl_cpu_off().

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

◆ flowctrl_write_cpu_csr()

void flowctrl_write_cpu_csr ( int  cpu,
uint32_t  val 
)

Definition at line 49 of file flow_ctrl.c.

References flowctrl_offset_cpu_csr, read32(), tegra_flowctrl_base, val, and write32().

Referenced by flowctrl_cpu_off(), flowctrl_cpu_on(), and flowctrl_cpu_suspend().

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

◆ flowctrl_write_cpu_halt()

void flowctrl_write_cpu_halt ( int  cpu,
uint32_t  val 
)

Definition at line 55 of file flow_ctrl.c.

References flowctrl_offset_halt_cpu, read32(), tegra_flowctrl_base, val, and write32().

Referenced by flowctrl_cpu_off(), flowctrl_cpu_on(), and flowctrl_cpu_suspend().

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