Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
nlm_hal.c File Reference
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/delay.h>
#include <asm/mipsregs.h>
#include <asm/time.h>
#include <asm/netlogic/haldefs.h>
#include <asm/netlogic/xlp-hal/iomap.h>
#include <asm/netlogic/xlp-hal/xlp.h>
#include <asm/netlogic/xlp-hal/pic.h>
#include <asm/netlogic/xlp-hal/sys.h>

Go to the source code of this file.

Functions

void nlm_hal_init (void)
 
int nlm_irq_to_irt (int irq)
 
int nlm_irt_to_irq (int irt)
 
unsigned int nlm_get_core_frequency (int core)
 
unsigned int nlm_get_cpu_frequency (void)
 

Variables

uint64_t nlm_io_base
 
uint64_t nlm_sys_base
 
uint64_t nlm_pic_base
 

Function Documentation

unsigned int nlm_get_core_frequency ( int  core)

Definition at line 141 of file nlm_hal.c.

unsigned int nlm_get_cpu_frequency ( void  )

Definition at line 160 of file nlm_hal.c.

void nlm_hal_init ( void  )

Definition at line 55 of file nlm_hal.c.

int nlm_irq_to_irt ( int  irq)

Definition at line 62 of file nlm_hal.c.

int nlm_irt_to_irq ( int  irt)

Definition at line 103 of file nlm_hal.c.

Variable Documentation

uint64_t nlm_io_base

Definition at line 50 of file nlm_hal.c.

uint64_t nlm_pic_base

Definition at line 52 of file nlm_hal.c.

uint64_t nlm_sys_base

Definition at line 51 of file nlm_hal.c.