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

Go to the source code of this file.

Data Structures

struct  rk3288_timer
 

Macros

#define TIMER_LOAD_VAL   0xffffffff
 

Variables

static const u32 clocks_per_usec = OSC_HZ/USECS_PER_SEC
 
static struct rk3288_timer *const timer7_ptr = (void *)TIMER7_BASE
 

Macro Definition Documentation

◆ TIMER_LOAD_VAL

#define TIMER_LOAD_VAL   0xffffffff

Definition at line 24 of file timer.h.

Variable Documentation

◆ clocks_per_usec

const u32 clocks_per_usec = OSC_HZ/USECS_PER_SEC
static

Definition at line 11 of file timer.h.

◆ timer7_ptr

struct rk3288_timer* const timer7_ptr = (void *)TIMER7_BASE
static

Definition at line 22 of file timer.h.

Referenced by init_timer(), and timer_raw_value().