Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ocpi.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <mach/hardware.h>
#include "common.h"

Go to the source code of this file.

Macros

#define OCPI_BASE   0xfffec320
 
#define OCPI_FAULT   (OCPI_BASE + 0x00)
 
#define OCPI_CMD_FAULT   (OCPI_BASE + 0x04)
 
#define OCPI_SINT0   (OCPI_BASE + 0x08)
 
#define OCPI_TABORT   (OCPI_BASE + 0x0c)
 
#define OCPI_SINT1   (OCPI_BASE + 0x10)
 
#define OCPI_PROT   (OCPI_BASE + 0x14)
 
#define OCPI_SEC   (OCPI_BASE + 0x18)
 
#define HOSTUEADDR   0xfffba0e0
 
#define HOSTUESTATUS   0xfffba0e4
 

Functions

int ocpi_enable (void)
 
 EXPORT_SYMBOL (ocpi_enable)
 
 MODULE_AUTHOR ("Tony Lindgren <[email protected]>")
 
 MODULE_DESCRIPTION ("OMAP OCPI bus controller module")
 
 MODULE_LICENSE ("GPL")
 
 module_init (omap_ocpi_init)
 
 module_exit (omap_ocpi_exit)
 

Macro Definition Documentation

#define HOSTUEADDR   0xfffba0e0

Definition at line 51 of file ocpi.c.

#define HOSTUESTATUS   0xfffba0e4

Definition at line 52 of file ocpi.c.

#define OCPI_BASE   0xfffec320

Definition at line 41 of file ocpi.c.

#define OCPI_CMD_FAULT   (OCPI_BASE + 0x04)

Definition at line 43 of file ocpi.c.

#define OCPI_FAULT   (OCPI_BASE + 0x00)

Definition at line 42 of file ocpi.c.

#define OCPI_PROT   (OCPI_BASE + 0x14)

Definition at line 47 of file ocpi.c.

#define OCPI_SEC   (OCPI_BASE + 0x18)

Definition at line 48 of file ocpi.c.

#define OCPI_SINT0   (OCPI_BASE + 0x08)

Definition at line 44 of file ocpi.c.

#define OCPI_SINT1   (OCPI_BASE + 0x10)

Definition at line 46 of file ocpi.c.

#define OCPI_TABORT   (OCPI_BASE + 0x0c)

Definition at line 45 of file ocpi.c.

Function Documentation

EXPORT_SYMBOL ( ocpi_enable  )
MODULE_AUTHOR ( "Tony Lindgren <[email protected]>"  )
MODULE_DESCRIPTION ( "OMAP OCPI bus controller module )
module_exit ( omap_ocpi_exit  )
module_init ( omap_ocpi_init  )
MODULE_LICENSE ( "GPL"  )
int ocpi_enable ( void  )

Definition at line 60 of file ocpi.c.