Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
csrc-octeon.c File Reference
#include <linux/clocksource.h>
#include <linux/export.h>
#include <linux/init.h>
#include <linux/smp.h>
#include <asm/cpu-info.h>
#include <asm/time.h>
#include <asm/octeon/octeon.h>
#include <asm/octeon/cvmx-ipd-defs.h>
#include <asm/octeon/cvmx-mio-defs.h>

Go to the source code of this file.

Functions

void __init octeon_setup_delays (void)
 
void octeon_init_cvmcount (void)
 
unsigned long long notrace sched_clock (void)
 
void __init plat_time_init (void)
 
void __udelay (unsigned long us)
 
 EXPORT_SYMBOL (__udelay)
 
void __ndelay (unsigned long ns)
 
 EXPORT_SYMBOL (__ndelay)
 
void __delay (unsigned long loops)
 
 EXPORT_SYMBOL (__delay)
 
void octeon_io_clk_delay (unsigned long count)
 
 EXPORT_SYMBOL (octeon_io_clk_delay)
 

Function Documentation

void __delay ( unsigned long  loops)
inline

Definition at line 156 of file csrc-octeon.c.

void __ndelay ( unsigned long  ns)

Definition at line 142 of file csrc-octeon.c.

void __udelay ( unsigned long  us)

Definition at line 128 of file csrc-octeon.c.

EXPORT_SYMBOL ( __udelay  )
EXPORT_SYMBOL ( __ndelay  )
EXPORT_SYMBOL ( __delay  )
EXPORT_SYMBOL ( octeon_io_clk_delay  )
void octeon_init_cvmcount ( void  )

Definition at line 56 of file csrc-octeon.c.

void octeon_io_clk_delay ( unsigned long  count)

octeon_io_clk_delay - wait for a given number of io clock cycles to pass.

We scale the wait by the clock ratio, and then wait for the corresponding number of core clocks.

: The number of clocks to wait.

Definition at line 177 of file csrc-octeon.c.

void __init octeon_setup_delays ( void  )

Definition at line 28 of file csrc-octeon.c.

void __init plat_time_init ( void  )

Definition at line 122 of file csrc-octeon.c.

unsigned long long notrace sched_clock ( void  )

Definition at line 98 of file csrc-octeon.c.