Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
gpio-ml-ioh.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/pci.h>
#include <linux/gpio.h>
#include <linux/interrupt.h>
#include <linux/irq.h>

Go to the source code of this file.

Data Structures

struct  ioh_reg_comn
 
struct  ioh_regs
 
struct  ioh_gpio_reg_data
 
struct  ioh_gpio
 

Macros

#define IOH_EDGE_FALLING   0
 
#define IOH_EDGE_RISING   BIT(0)
 
#define IOH_LEVEL_L   BIT(1)
 
#define IOH_LEVEL_H   (BIT(0) | BIT(1))
 
#define IOH_EDGE_BOTH   BIT(2)
 
#define IOH_IM_MASK   (BIT(0) | BIT(1) | BIT(2))
 
#define IOH_IRQ_BASE   0
 
#define PCI_VENDOR_ID_ROHM   0x10DB
 
#define ioh_gpio_suspend   NULL
 
#define ioh_gpio_resume   NULL
 

Functions

 MODULE_DEVICE_TABLE (pci, ioh_gpio_pcidev_id)
 
 module_pci_driver (ioh_gpio_driver)
 
 MODULE_DESCRIPTION ("OKI SEMICONDUCTOR ML-IOH series GPIO Driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define IOH_EDGE_BOTH   BIT(2)

Definition at line 29 of file gpio-ml-ioh.c.

#define IOH_EDGE_FALLING   0

Definition at line 25 of file gpio-ml-ioh.c.

#define IOH_EDGE_RISING   BIT(0)

Definition at line 26 of file gpio-ml-ioh.c.

#define ioh_gpio_resume   NULL

Definition at line 596 of file gpio-ml-ioh.c.

#define ioh_gpio_suspend   NULL

Definition at line 595 of file gpio-ml-ioh.c.

#define IOH_IM_MASK   (BIT(0) | BIT(1) | BIT(2))

Definition at line 30 of file gpio-ml-ioh.c.

#define IOH_IRQ_BASE   0

Definition at line 32 of file gpio-ml-ioh.c.

#define IOH_LEVEL_H   (BIT(0) | BIT(1))

Definition at line 28 of file gpio-ml-ioh.c.

#define IOH_LEVEL_L   BIT(1)

Definition at line 27 of file gpio-ml-ioh.c.

#define PCI_VENDOR_ID_ROHM   0x10DB

Definition at line 34 of file gpio-ml-ioh.c.

Function Documentation

MODULE_DESCRIPTION ( "OKI SEMICONDUCTOR ML-IOH series GPIO Driver"  )
MODULE_DEVICE_TABLE ( pci  ,
ioh_gpio_pcidev_id   
)
MODULE_LICENSE ( "GPL"  )
module_pci_driver ( ioh_gpio_driver  )