Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
axonram.c File Reference
#include <linux/bio.h>
#include <linux/blkdev.h>
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/genhd.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/irq.h>
#include <linux/irqreturn.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/of_device.h>
#include <linux/of_platform.h>
#include <asm/page.h>
#include <asm/prom.h>

Go to the source code of this file.

Data Structures

struct  axon_ram_bank
 

Macros

#define AXON_RAM_MODULE_NAME   "axonram"
 
#define AXON_RAM_DEVICE_NAME   "axonram"
 
#define AXON_RAM_MINORS_PER_DISK   16
 
#define AXON_RAM_BLOCK_SHIFT   PAGE_SHIFT
 
#define AXON_RAM_BLOCK_SIZE   1 << AXON_RAM_BLOCK_SHIFT
 
#define AXON_RAM_SECTOR_SHIFT   9
 
#define AXON_RAM_SECTOR_SIZE   1 << AXON_RAM_SECTOR_SHIFT
 
#define AXON_RAM_IRQ_FLAGS   IRQF_SHARED | IRQF_TRIGGER_RISING
 

Functions

 module_init (axon_ram_init)
 
 module_exit (axon_ram_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Maxim Shchetynin <[email protected]>")
 
 MODULE_DESCRIPTION ("Axon DDR2 RAM device driver for IBM Cell BE")
 

Macro Definition Documentation

#define AXON_RAM_BLOCK_SHIFT   PAGE_SHIFT

Definition at line 53 of file axonram.c.

#define AXON_RAM_BLOCK_SIZE   1 << AXON_RAM_BLOCK_SHIFT

Definition at line 54 of file axonram.c.

#define AXON_RAM_DEVICE_NAME   "axonram"

Definition at line 51 of file axonram.c.

#define AXON_RAM_IRQ_FLAGS   IRQF_SHARED | IRQF_TRIGGER_RISING

Definition at line 57 of file axonram.c.

#define AXON_RAM_MINORS_PER_DISK   16

Definition at line 52 of file axonram.c.

#define AXON_RAM_MODULE_NAME   "axonram"

Definition at line 50 of file axonram.c.

#define AXON_RAM_SECTOR_SHIFT   9

Definition at line 55 of file axonram.c.

#define AXON_RAM_SECTOR_SIZE   1 << AXON_RAM_SECTOR_SHIFT

Definition at line 56 of file axonram.c.

Function Documentation

MODULE_AUTHOR ( "Maxim Shchetynin <[email protected]>"  )
MODULE_DESCRIPTION ( "Axon DDR2 RAM device driver for IBM Cell BE )
module_exit ( axon_ram_exit  )
module_init ( axon_ram_init  )
MODULE_LICENSE ( "GPL"  )