Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
txx9tmr.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  txx9_tmr_reg
 

Macros

#define TXx9_TMTCR_TCE   0x00000080
 
#define TXx9_TMTCR_CCDE   0x00000040
 
#define TXx9_TMTCR_CRE   0x00000020
 
#define TXx9_TMTCR_ECES   0x00000008
 
#define TXx9_TMTCR_CCS   0x00000004
 
#define TXx9_TMTCR_TMODE_MASK   0x00000003
 
#define TXx9_TMTCR_TMODE_ITVL   0x00000000
 
#define TXx9_TMTCR_TMODE_PGEN   0x00000001
 
#define TXx9_TMTCR_TMODE_WDOG   0x00000002
 
#define TXx9_TMTISR_TPIBS   0x00000004
 
#define TXx9_TMTISR_TPIAS   0x00000002
 
#define TXx9_TMTISR_TIIS   0x00000001
 
#define TXx9_TMITMR_TIIE   0x00008000
 
#define TXx9_TMITMR_TZCE   0x00000001
 
#define TXx9_TMWTMR_TWIE   0x00008000
 
#define TXx9_TMWTMR_WDIS   0x00000080
 
#define TXx9_TMWTMR_TWC   0x00000001
 
#define TXX9_TIMER_BITS   32
 

Functions

void txx9_clocksource_init (unsigned long baseaddr, unsigned int imbusclk)
 
void txx9_clockevent_init (unsigned long baseaddr, int irq, unsigned int imbusclk)
 
void txx9_tmr_init (unsigned long baseaddr)
 

Macro Definition Documentation

#define TXX9_TIMER_BITS   32

Definition at line 64 of file txx9tmr.h.

#define TXx9_TMITMR_TIIE   0x00008000

Definition at line 47 of file txx9tmr.h.

#define TXx9_TMITMR_TZCE   0x00000001

Definition at line 48 of file txx9tmr.h.

#define TXx9_TMTCR_CCDE   0x00000040

Definition at line 32 of file txx9tmr.h.

#define TXx9_TMTCR_CCS   0x00000004

Definition at line 35 of file txx9tmr.h.

#define TXx9_TMTCR_CRE   0x00000020

Definition at line 33 of file txx9tmr.h.

#define TXx9_TMTCR_ECES   0x00000008

Definition at line 34 of file txx9tmr.h.

#define TXx9_TMTCR_TCE   0x00000080

Definition at line 31 of file txx9tmr.h.

#define TXx9_TMTCR_TMODE_ITVL   0x00000000

Definition at line 37 of file txx9tmr.h.

#define TXx9_TMTCR_TMODE_MASK   0x00000003

Definition at line 36 of file txx9tmr.h.

#define TXx9_TMTCR_TMODE_PGEN   0x00000001

Definition at line 38 of file txx9tmr.h.

#define TXx9_TMTCR_TMODE_WDOG   0x00000002

Definition at line 39 of file txx9tmr.h.

#define TXx9_TMTISR_TIIS   0x00000001

Definition at line 44 of file txx9tmr.h.

#define TXx9_TMTISR_TPIAS   0x00000002

Definition at line 43 of file txx9tmr.h.

#define TXx9_TMTISR_TPIBS   0x00000004

Definition at line 42 of file txx9tmr.h.

#define TXx9_TMWTMR_TWC   0x00000001

Definition at line 53 of file txx9tmr.h.

#define TXx9_TMWTMR_TWIE   0x00008000

Definition at line 51 of file txx9tmr.h.

#define TXx9_TMWTMR_WDIS   0x00000080

Definition at line 52 of file txx9tmr.h.

Function Documentation

void txx9_clockevent_init ( unsigned long  baseaddr,
int  irq,
unsigned int  imbusclk 
)

Definition at line 154 of file cevt-txx9.c.

void txx9_clocksource_init ( unsigned long  baseaddr,
unsigned int  imbusclk 
)

Definition at line 49 of file cevt-txx9.c.

void txx9_tmr_init ( unsigned long  baseaddr)

Definition at line 178 of file cevt-txx9.c.