Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ioc3.c File Reference
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/delay.h>
#include <linux/ioc3.h>
#include <linux/rwsem.h>
#include <linux/slab.h>

Go to the source code of this file.

Macros

#define IOC3_PCI_SIZE   0x100000
 
#define GPCR_MLAN_EN   0x00200000 /* enable MCR to pin 8 */
 

Functions

void ioc3_enable (struct ioc3_submodule *is, struct ioc3_driver_data *idd, unsigned int irqs)
 
void ioc3_ack (struct ioc3_submodule *is, struct ioc3_driver_data *idd, unsigned int irqs)
 
void ioc3_disable (struct ioc3_submodule *is, struct ioc3_driver_data *idd, unsigned int irqs)
 
void ioc3_gpcr_set (struct ioc3_driver_data *idd, unsigned int val)
 
int ioc3_register_submodule (struct ioc3_submodule *is)
 
void ioc3_unregister_submodule (struct ioc3_submodule *is)
 
 MODULE_DEVICE_TABLE (pci, ioc3_id_table)
 
 module_init (ioc3_init)
 
 module_exit (ioc3_exit)
 
 MODULE_AUTHOR ("Stanislaw Skowronek <[email protected]>")
 
 MODULE_DESCRIPTION ("PCI driver for SGI IOC3")
 
 MODULE_LICENSE ("GPL")
 
 EXPORT_SYMBOL_GPL (ioc3_register_submodule)
 
 EXPORT_SYMBOL_GPL (ioc3_unregister_submodule)
 
 EXPORT_SYMBOL_GPL (ioc3_ack)
 
 EXPORT_SYMBOL_GPL (ioc3_gpcr_set)
 
 EXPORT_SYMBOL_GPL (ioc3_disable)
 
 EXPORT_SYMBOL_GPL (ioc3_enable)
 

Macro Definition Documentation

#define GPCR_MLAN_EN   0x00200000 /* enable MCR to pin 8 */

Definition at line 33 of file ioc3.c.

#define IOC3_PCI_SIZE   0x100000

Definition at line 21 of file ioc3.c.

Function Documentation

EXPORT_SYMBOL_GPL ( ioc3_register_submodule  )
EXPORT_SYMBOL_GPL ( ioc3_unregister_submodule  )
EXPORT_SYMBOL_GPL ( ioc3_ack  )
EXPORT_SYMBOL_GPL ( ioc3_gpcr_set  )
EXPORT_SYMBOL_GPL ( ioc3_disable  )
EXPORT_SYMBOL_GPL ( ioc3_enable  )
void ioc3_ack ( struct ioc3_submodule is,
struct ioc3_driver_data idd,
unsigned int  irqs 
)

Definition at line 467 of file ioc3.c.

void ioc3_disable ( struct ioc3_submodule is,
struct ioc3_driver_data idd,
unsigned int  irqs 
)

Definition at line 473 of file ioc3.c.

void ioc3_enable ( struct ioc3_submodule is,
struct ioc3_driver_data idd,
unsigned int  irqs 
)

Definition at line 461 of file ioc3.c.

void ioc3_gpcr_set ( struct ioc3_driver_data idd,
unsigned int  val 
)

Definition at line 479 of file ioc3.c.

int ioc3_register_submodule ( struct ioc3_submodule is)

Definition at line 498 of file ioc3.c.

void ioc3_unregister_submodule ( struct ioc3_submodule is)

Definition at line 541 of file ioc3.c.

MODULE_AUTHOR ( "Stanislaw Skowronek <[email protected]>"  )
MODULE_DESCRIPTION ( "PCI driver for SGI IOC3"  )
MODULE_DEVICE_TABLE ( pci  ,
ioc3_id_table   
)
module_exit ( ioc3_exit  )
module_init ( ioc3_init  )
MODULE_LICENSE ( "GPL"  )