![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
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) |
void flowctrl_cpu_off | ( | int | cpu | ) |
Definition at line 67 of file flow_ctrl.c.
References FLOW_CTRL_CSR_ENABLE, FLOW_CTRL_CSR_EVENT_FLAG, FLOW_CTRL_CSR_INTR_FLAG, FLOW_CTRL_CSR_WFI_CPU0, FLOW_CTRL_WAITEVENT, flowctrl_write_cc4_ctrl(), flowctrl_write_cpu_csr(), flowctrl_write_cpu_halt(), and val.
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().
void flowctrl_cpu_suspend | ( | int | cpu | ) |
Definition at line 84 of file flow_ctrl.c.
References FLOW_CTRL_CSR_ENABLE, FLOW_CTRL_CSR_EVENT_FLAG, FLOW_CTRL_CSR_INTR_FLAG, FLOW_CTRL_CSR_WFI_CPU0, FLOW_CTRL_HALT_GIC_FIQ, FLOW_CTRL_HALT_GIC_IRQ, FLOW_CTRL_HALT_LIC_FIQ, FLOW_CTRL_HALT_LIC_IRQ, FLOW_CTRL_WAITEVENT, flowctrl_write_cpu_csr(), flowctrl_write_cpu_halt(), and 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().
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().
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().