Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
sgiwd93.c File Reference
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/gfp.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/spinlock.h>
#include <asm/sgi/hpc3.h>
#include <asm/sgi/ip22.h>
#include <asm/sgi/wd.h>
#include "scsi.h"
#include "wd33c93.h"

Go to the source code of this file.

Data Structures

struct  ip22_hostdata
 
struct  hpc_chunk
 

Macros

#define host_to_hostdata(host)   ((struct ip22_hostdata *)((host)->hostdata))
 
#define HPC_DMA_SIZE   PAGE_SIZE
 
#define DMA_DIR(d)   ((d == DATA_OUT_DIR) ? DMA_TO_DEVICE : DMA_FROM_DEVICE)
 

Functions

void sgiwd93_reset (unsigned long base)
 
 EXPORT_SYMBOL_GPL (sgiwd93_reset)
 
 module_init (sgiwd93_module_init)
 
 module_exit (sgiwd93_module_exit)
 
 MODULE_DESCRIPTION ("SGI WD33C93 driver")
 
 MODULE_AUTHOR ("Ralf Baechle <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:sgiwd93")
 

Macro Definition Documentation

#define DMA_DIR (   d)    ((d == DATA_OUT_DIR) ? DMA_TO_DEVICE : DMA_FROM_DEVICE)

Definition at line 51 of file sgiwd93.c.

#define host_to_hostdata (   host)    ((struct ip22_hostdata *)((host)->hostdata))

Definition at line 41 of file sgiwd93.c.

#define HPC_DMA_SIZE   PAGE_SIZE

Definition at line 49 of file sgiwd93.c.

Function Documentation

EXPORT_SYMBOL_GPL ( sgiwd93_reset  )
MODULE_ALIAS ( "platform:sgiwd93"  )
MODULE_AUTHOR ( "Ralf Baechle <[email protected]>"  )
MODULE_DESCRIPTION ( "SGI WD33C93 driver )
module_exit ( sgiwd93_module_exit  )
module_init ( sgiwd93_module_init  )
MODULE_LICENSE ( "GPL"  )
void sgiwd93_reset ( unsigned long  base)

Definition at line 166 of file sgiwd93.c.