Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sead3-pic32-bus.c File Reference
#include <linux/delay.h>
#include <linux/kernel.h>
#include <linux/spinlock.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/errno.h>

Go to the source code of this file.

Macros

#define PIC32_NULL   0x00
 
#define PIC32_RD   0x01
 
#define PIC32_SYSRD   0x02
 
#define PIC32_WR   0x10
 
#define PIC32_SYSWR   0x20
 
#define PIC32_IRQ_CLR   0x40
 
#define PIC32_STATUS   0x80
 
#define DELAY()   udelay(100) /* FIXME: needed? */
 

Functions

u32 pic32_bus_readl (u32 reg)
 
void pic32_bus_writel (u32 val, u32 reg)
 

Macro Definition Documentation

#define DELAY ( )    udelay(100) /* FIXME: needed? */

Definition at line 23 of file sead3-pic32-bus.c.

#define PIC32_IRQ_CLR   0x40

Definition at line 20 of file sead3-pic32-bus.c.

#define PIC32_NULL   0x00

Definition at line 15 of file sead3-pic32-bus.c.

#define PIC32_RD   0x01

Definition at line 16 of file sead3-pic32-bus.c.

#define PIC32_STATUS   0x80

Definition at line 21 of file sead3-pic32-bus.c.

#define PIC32_SYSRD   0x02

Definition at line 17 of file sead3-pic32-bus.c.

#define PIC32_SYSWR   0x20

Definition at line 19 of file sead3-pic32-bus.c.

#define PIC32_WR   0x10

Definition at line 18 of file sead3-pic32-bus.c.

Function Documentation

u32 pic32_bus_readl ( u32  reg)

Definition at line 59 of file sead3-pic32-bus.c.

void pic32_bus_writel ( u32  val,
u32  reg 
)

Definition at line 83 of file sead3-pic32-bus.c.