Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
time.h File Reference

Go to the source code of this file.

Macros

#define IRQ_IOP_TIMER0   IRQ_IOP13XX_TIMER0
 
#define IOP_TMR_EN   0x02
 
#define IOP_TMR_RELOAD   0x04
 
#define IOP_TMR_PRIVILEGED   0x08
 
#define IOP_TMR_RATIO_1_1   0x00
 
#define IOP13XX_XSI_FREQ_RATIO_MASK   (3 << 19)
 
#define IOP13XX_XSI_FREQ_RATIO_2   (0 << 19)
 
#define IOP13XX_XSI_FREQ_RATIO_3   (1 << 19)
 
#define IOP13XX_XSI_FREQ_RATIO_4   (2 << 19)
 
#define IOP13XX_CORE_FREQ_MASK   (7 << 16)
 
#define IOP13XX_CORE_FREQ_600   (0 << 16)
 
#define IOP13XX_CORE_FREQ_667   (1 << 16)
 
#define IOP13XX_CORE_FREQ_800   (2 << 16)
 
#define IOP13XX_CORE_FREQ_933   (3 << 16)
 
#define IOP13XX_CORE_FREQ_1000   (4 << 16)
 
#define IOP13XX_CORE_FREQ_1200   (5 << 16)
 

Functions

void iop_init_time (unsigned long tickrate)
 

Macro Definition Documentation

#define IOP13XX_CORE_FREQ_1000   (4 << 16)

Definition at line 19 of file time.h.

#define IOP13XX_CORE_FREQ_1200   (5 << 16)

Definition at line 20 of file time.h.

#define IOP13XX_CORE_FREQ_600   (0 << 16)

Definition at line 15 of file time.h.

#define IOP13XX_CORE_FREQ_667   (1 << 16)

Definition at line 16 of file time.h.

#define IOP13XX_CORE_FREQ_800   (2 << 16)

Definition at line 17 of file time.h.

#define IOP13XX_CORE_FREQ_933   (3 << 16)

Definition at line 18 of file time.h.

#define IOP13XX_CORE_FREQ_MASK   (7 << 16)

Definition at line 14 of file time.h.

#define IOP13XX_XSI_FREQ_RATIO_2   (0 << 19)

Definition at line 11 of file time.h.

#define IOP13XX_XSI_FREQ_RATIO_3   (1 << 19)

Definition at line 12 of file time.h.

#define IOP13XX_XSI_FREQ_RATIO_4   (2 << 19)

Definition at line 13 of file time.h.

#define IOP13XX_XSI_FREQ_RATIO_MASK   (3 << 19)

Definition at line 10 of file time.h.

#define IOP_TMR_EN   0x02

Definition at line 5 of file time.h.

#define IOP_TMR_PRIVILEGED   0x08

Definition at line 7 of file time.h.

#define IOP_TMR_RATIO_1_1   0x00

Definition at line 8 of file time.h.

#define IOP_TMR_RELOAD   0x04

Definition at line 6 of file time.h.

#define IRQ_IOP_TIMER0   IRQ_IOP13XX_TIMER0

Definition at line 3 of file time.h.

Function Documentation

void iop_init_time ( unsigned long  tickrate)

Definition at line 141 of file time.c.