Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
scx200_32.c File Reference
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/mutex.h>
#include <linux/pci.h>
#include <linux/scx200.h>
#include <linux/scx200_gpio.h>

Go to the source code of this file.

Macros

#define scx200_cb_probe(base)   (inw((base) + SCx200_CBA) == (base))
 

Functions

 MODULE_AUTHOR ("Christer Weinigel <[email protected]>")
 
 MODULE_DESCRIPTION ("NatSemi SCx200 Driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (pci, scx200_tbl)
 
u32 scx200_gpio_configure (unsigned index, u32 mask, u32 bits)
 
 module_init (scx200_init)
 
 module_exit (scx200_cleanup)
 
 EXPORT_SYMBOL (scx200_gpio_base)
 
 EXPORT_SYMBOL (scx200_gpio_shadow)
 
 EXPORT_SYMBOL (scx200_gpio_configure)
 
 EXPORT_SYMBOL (scx200_cb_base)
 

Variables

unsigned scx200_gpio_base = 0
 
unsigned long scx200_gpio_shadow [2]
 
unsigned scx200_cb_base = 0
 

Macro Definition Documentation

#define scx200_cb_probe (   base)    (inw((base) + SCx200_CBA) == (base))

Definition at line 18 of file scx200_32.c.

Function Documentation

EXPORT_SYMBOL ( scx200_gpio_base  )
EXPORT_SYMBOL ( scx200_gpio_shadow  )
EXPORT_SYMBOL ( scx200_gpio_configure  )
EXPORT_SYMBOL ( scx200_cb_base  )
MODULE_AUTHOR ( "Christer Weinigel <[email protected]>"  )
MODULE_DESCRIPTION ( "NatSemi SCx200 Driver"  )
MODULE_DEVICE_TABLE ( pci  ,
scx200_tbl   
)
module_exit ( scx200_cleanup  )
module_init ( scx200_init  )
MODULE_LICENSE ( "GPL"  )
u32 scx200_gpio_configure ( unsigned  index,
u32  mask,
u32  bits 
)

Definition at line 94 of file scx200_32.c.

Variable Documentation

unsigned scx200_cb_base = 0

Definition at line 27 of file scx200_32.c.

unsigned scx200_gpio_base = 0

Definition at line 24 of file scx200_32.c.

unsigned long scx200_gpio_shadow[2]

Definition at line 25 of file scx200_32.c.