Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
timer.c File Reference
#include <linux/kernel.h>
#include <linux/err.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <linux/clk.h>
#include <bcm63xx_cpu.h>
#include <bcm63xx_io.h>
#include <bcm63xx_timer.h>
#include <bcm63xx_regs.h>

Go to the source code of this file.

Data Structures

struct  timer_data
 

Functions

int bcm63xx_timer_enable (int id)
 
 EXPORT_SYMBOL (bcm63xx_timer_enable)
 
int bcm63xx_timer_disable (int id)
 
 EXPORT_SYMBOL (bcm63xx_timer_disable)
 
int bcm63xx_timer_register (int id, void(*callback)(void *data), void *data)
 
 EXPORT_SYMBOL (bcm63xx_timer_register)
 
void bcm63xx_timer_unregister (int id)
 
 EXPORT_SYMBOL (bcm63xx_timer_unregister)
 
unsigned int bcm63xx_timer_countdown (unsigned int countdown_us)
 
 EXPORT_SYMBOL (bcm63xx_timer_countdown)
 
int bcm63xx_timer_set (int id, int monotonic, unsigned int countdown_us)
 
 EXPORT_SYMBOL (bcm63xx_timer_set)
 
int bcm63xx_timer_init (void)
 
 arch_initcall (bcm63xx_timer_init)
 

Function Documentation

arch_initcall ( bcm63xx_timer_init  )
unsigned int bcm63xx_timer_countdown ( unsigned int  countdown_us)

Definition at line 143 of file timer.c.

int bcm63xx_timer_disable ( int  id)

Definition at line 80 of file timer.c.

int bcm63xx_timer_enable ( int  id)

Definition at line 56 of file timer.c.

int bcm63xx_timer_init ( void  )

Definition at line 180 of file timer.c.

int bcm63xx_timer_register ( int  id,
void(*)(void *data callback,
void data 
)

Definition at line 104 of file timer.c.

int bcm63xx_timer_set ( int  id,
int  monotonic,
unsigned int  countdown_us 
)

Definition at line 150 of file timer.c.

void bcm63xx_timer_unregister ( int  id)

Definition at line 129 of file timer.c.

EXPORT_SYMBOL ( bcm63xx_timer_enable  )
EXPORT_SYMBOL ( bcm63xx_timer_disable  )
EXPORT_SYMBOL ( bcm63xx_timer_register  )
EXPORT_SYMBOL ( bcm63xx_timer_unregister  )
EXPORT_SYMBOL ( bcm63xx_timer_countdown  )
EXPORT_SYMBOL ( bcm63xx_timer_set  )