Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
bcsr.c File Reference
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/irq.h>
#include <asm/addrspace.h>
#include <asm/io.h>
#include <asm/mach-db1x00/bcsr.h>

Go to the source code of this file.

Data Structures

struct  bcsr_reg
 

Functions

void __init bcsr_init (unsigned long bcsr1_phys, unsigned long bcsr2_phys)
 
unsigned short bcsr_read (enum bcsr_id reg)
 
 EXPORT_SYMBOL_GPL (bcsr_read)
 
void bcsr_write (enum bcsr_id reg, unsigned short val)
 
 EXPORT_SYMBOL_GPL (bcsr_write)
 
void bcsr_mod (enum bcsr_id reg, unsigned short clr, unsigned short set)
 
 EXPORT_SYMBOL_GPL (bcsr_mod)
 
void __init bcsr_init_irq (int csc_start, int csc_end, int hook_irq)
 

Function Documentation

void __init bcsr_init ( unsigned long  bcsr1_phys,
unsigned long  bcsr2_phys 
)

Definition at line 26 of file bcsr.c.

void __init bcsr_init_irq ( int  csc_start,
int  csc_end,
int  hook_irq 
)

Definition at line 126 of file bcsr.c.

void bcsr_mod ( enum bcsr_id  reg,
unsigned short  clr,
unsigned short  set 
)

Definition at line 70 of file bcsr.c.

unsigned short bcsr_read ( enum bcsr_id  reg)

Definition at line 47 of file bcsr.c.

void bcsr_write ( enum bcsr_id  reg,
unsigned short  val 
)

Definition at line 59 of file bcsr.c.

EXPORT_SYMBOL_GPL ( bcsr_read  )
EXPORT_SYMBOL_GPL ( bcsr_write  )
EXPORT_SYMBOL_GPL ( bcsr_mod  )