timer.c File Reference

Go to the source code of this file.

Classes

struct  tvec_s
struct  tvec_root_s
struct  tvec_base

Defines

#define TVN_BITS   (CONFIG_BASE_SMALL ? 4 : 6)
#define TVR_BITS   (CONFIG_BASE_SMALL ? 6 : 8)
#define TVN_SIZE   (1 << TVN_BITS)
#define TVR_SIZE   (1 << TVR_BITS)
#define TVN_MASK   (TVN_SIZE - 1)
#define TVR_MASK   (TVR_SIZE - 1)

Typedefs

typedef struct tvec_s tvec_t
typedef struct tvec_root_s tvec_root_t
typedef struct tvec_t_base_s tvec_base_t

Functions

 DECLARE_INITVAR (dde26_timer)
struct tvec_base boot_tvec_bases __attribute__ ((unused))
static DEFINE_PER_CPU (struct tvec_base *, tvec_bases)
void add_timer (struct timer_list *timer)
void add_timer_on (struct timer_list *timer, int cpu)
int del_timer (struct timer_list *timer)
int del_timer_sync (struct timer_list *timer)
int __mod_timer (struct timer_list *timer, unsigned long expires)
int mod_timer (struct timer_list *timer, unsigned long expires)
int timer_pending (const struct timer_list *timer)
void msleep (unsigned int msecs)
 msleep - sleep safely even with waitqueue interruptions : Time in milliseconds to sleep for
void __const_udelay (unsigned long xloops)
void __udelay (unsigned long usecs)
void __ndelay (unsigned long nsecs)
void __init l4dde26_init_timers (void)
 core_initcall (l4dde26_init_timers)
 __attribute__ ((weak))
 pcibios_set_pcie_reset_state - set reset state for device dev : the PCI-E device reset : Reset state to enter into
struct timespec current_fs_time (struct super_block *sb)
ktime_t ktime_get_real (void)
void native_io_delay (void)

Variables

struct tvec_base ____cacheline_aligned_in_smp
unsigned long volatile __jiffy_data jiffies


Define Documentation

#define TVN_BITS   (CONFIG_BASE_SMALL ? 4 : 6)

Definition at line 14 of file linux26/lib/src/arch/l4/timer.c.

#define TVN_MASK   (TVN_SIZE - 1)

Definition at line 18 of file linux26/lib/src/arch/l4/timer.c.

#define TVN_SIZE   (1 << TVN_BITS)

Definition at line 16 of file linux26/lib/src/arch/l4/timer.c.

#define TVR_BITS   (CONFIG_BASE_SMALL ? 6 : 8)

Definition at line 15 of file linux26/lib/src/arch/l4/timer.c.

#define TVR_MASK   (TVR_SIZE - 1)

Definition at line 19 of file linux26/lib/src/arch/l4/timer.c.

#define TVR_SIZE   (1 << TVR_BITS)

Definition at line 17 of file linux26/lib/src/arch/l4/timer.c.


Typedef Documentation

typedef struct tvec_t_base_s tvec_base_t

Definition at line 40 of file linux26/lib/src/arch/l4/timer.c.

typedef struct tvec_root_s tvec_root_t

typedef struct tvec_s tvec_t


Function Documentation

__attribute__ ( (weak)   )  [read]

pcibios_set_pcie_reset_state - set reset state for device dev : the PCI-E device reset : Reset state to enter into

pci_ext_cfg_enabled - can we access extended PCI config space? : The PCI device of the root bridge.

Sets the PCI-E reset state for the device. This is the default implementation. Architecture implementations can override this.

Returns 1 if we can access PCI extended config space (offsets greater than 0xff). This is the default implementation. Architecture implementations can override this.

Definition at line 161 of file linux26/lib/src/arch/l4/timer.c.

struct tvec_base boot_tvec_bases __attribute__ ( (unused)   )  [read]

void __const_udelay ( unsigned long  xloops  ) 

Definition at line 130 of file linux26/lib/src/arch/l4/timer.c.

int __mod_timer ( struct timer_list timer,
unsigned long  expires 
)

Definition at line 84 of file linux26/lib/src/arch/l4/timer.c.

void __ndelay ( unsigned long  nsecs  ) 

Definition at line 142 of file linux26/lib/src/arch/l4/timer.c.

void __udelay ( unsigned long  usecs  ) 

Definition at line 136 of file linux26/lib/src/arch/l4/timer.c.

void add_timer ( struct timer_list timer  ) 

Definition at line 51 of file linux26/lib/src/arch/l4/timer.c.

void add_timer_on ( struct timer_list timer,
int  cpu 
)

Definition at line 62 of file linux26/lib/src/arch/l4/timer.c.

core_initcall ( l4dde26_init_timers   ) 

struct timespec current_fs_time ( struct super_block *  sb  )  [read]

Definition at line 166 of file linux26/lib/src/arch/l4/timer.c.

DECLARE_INITVAR ( dde26_timer   ) 

static DEFINE_PER_CPU ( struct tvec_base ,
tvec_bases   
) [static]

Definition at line 44 of file linux26/lib/src/arch/l4/timer.c.

int del_timer ( struct timer_list timer  ) 

Definition at line 68 of file linux26/lib/src/arch/l4/timer.c.

int del_timer_sync ( struct timer_list timer  ) 

Definition at line 78 of file linux26/lib/src/arch/l4/timer.c.

ktime_t ktime_get_real ( void   ) 

Definition at line 173 of file linux26/lib/src/arch/l4/timer.c.

void __init l4dde26_init_timers ( void   ) 

Definition at line 148 of file linux26/lib/src/arch/l4/timer.c.

int mod_timer ( struct timer_list timer,
unsigned long  expires 
)

Definition at line 103 of file linux26/lib/src/arch/l4/timer.c.

void msleep ( unsigned int  msecs  ) 

msleep - sleep safely even with waitqueue interruptions : Time in milliseconds to sleep for

Definition at line 124 of file linux26/lib/src/arch/l4/timer.c.

void native_io_delay ( void   ) 

Definition at line 181 of file linux26/lib/src/arch/l4/timer.c.

int timer_pending ( const struct timer_list timer  ) 

Definition at line 109 of file linux26/lib/src/arch/l4/timer.c.


Variable Documentation

unsigned long volatile __jiffy_data jiffies


Generated on Wed Apr 11 06:39:16 2012 for DDE - The L4 Device Driver Environment by  doxygen 1.5.6