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

Go to the source code of this file.

Data Structures

struct  am335x_cm_per_regs
 
struct  am335x_cm_wkup_regs
 
struct  am335x_cm_dpll_regs
 
struct  am335x_cm_mpu_regs
 
struct  am335x_cm_device_regs
 
struct  am335x_cm_rtc_regs
 
struct  am335x_cm_gfx_regs
 
struct  am335x_cm_cefuse_regs
 

Enumerations

enum  { CM_ST_NO_SLEEP = 0x0 , CM_ST_SW_SLEEP = 0x1 , CM_ST_SW_WKUP = 0x2 }
 
enum  { CM_MODULEMODE_DISABLED = 0x0 , CM_MODULEMODE_ENABLED = 0x2 }
 
enum  { CM_FCLK_DIS = 0x0 << 18 , CM_FCLK_EN = 0x1 << 18 }
 

Variables

struct am335x_cm_per_regs __packed
 
static struct am335x_cm_per_regs *const am335x_cm_per = (void *)0x44e00000
 
static struct am335x_cm_wkup_regs *const am335x_cm_wkup = (void *)0x44e00400
 
static struct am335x_cm_dpll_regs *const am335x_cm_dpll = (void *)0x44e00500
 
static struct am335x_cm_mpu_regs *const am335x_cm_mpu = (void *)0x44e00600
 
static struct am335x_cm_device_regs *const am335x_cm_device
 
static struct am335x_cm_rtc_regs *const am335x_cm_rtc = (void *)0x44e00800
 
static struct am335x_cm_gfx_regs *const am335x_cm_gfx = (void *)0x44e00900
 
static struct am335x_cm_cefuse_regs *const am335x_cm_cefuse
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
CM_ST_NO_SLEEP 
CM_ST_SW_SLEEP 
CM_ST_SW_WKUP 

Definition at line 8 of file clock.h.

◆ anonymous enum

anonymous enum
Enumerator
CM_MODULEMODE_DISABLED 
CM_MODULEMODE_ENABLED 

Definition at line 14 of file clock.h.

◆ anonymous enum

anonymous enum
Enumerator
CM_FCLK_DIS 
CM_FCLK_EN 

Definition at line 19 of file clock.h.

Variable Documentation

◆ __packed

◆ am335x_cm_cefuse

struct am335x_cm_cefuse_regs* const am335x_cm_cefuse
static
Initial value:
=
(void *)0x44e00a00

Definition at line 219 of file clock.h.

◆ am335x_cm_device

struct am335x_cm_device_regs* const am335x_cm_device
static
Initial value:
=
(void *)0x44e00700

Definition at line 192 of file clock.h.

◆ am335x_cm_dpll

struct am335x_cm_dpll_regs* const am335x_cm_dpll = (void *)0x44e00500
static

Definition at line 179 of file clock.h.

Referenced by init_timer().

◆ am335x_cm_gfx

struct am335x_cm_gfx_regs* const am335x_cm_gfx = (void *)0x44e00900
static

Definition at line 211 of file clock.h.

◆ am335x_cm_mpu

struct am335x_cm_mpu_regs* const am335x_cm_mpu = (void *)0x44e00600
static

Definition at line 186 of file clock.h.

◆ am335x_cm_per

struct am335x_cm_per_regs* const am335x_cm_per = (void *)0x44e00000
static

Definition at line 98 of file clock.h.

Referenced by bootblock_mainboard_early_init(), and enable_emif_clocks().

◆ am335x_cm_rtc

struct am335x_cm_rtc_regs* const am335x_cm_rtc = (void *)0x44e00800
static

Definition at line 200 of file clock.h.

◆ am335x_cm_wkup

struct am335x_cm_wkup_regs* const am335x_cm_wkup = (void *)0x44e00400
static

Definition at line 158 of file clock.h.

Referenced by bootblock_mainboard_early_init(), and ddr_pll_config().