Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
gpio-pch.c File Reference
#include <linux/module.h>
#include <linux/kernel.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  pch_regs
 
struct  pch_gpio_reg_data
 
struct  pch_gpio
 

Macros

#define PCH_EDGE_FALLING   0
 
#define PCH_EDGE_RISING   BIT(0)
 
#define PCH_LEVEL_L   BIT(1)
 
#define PCH_LEVEL_H   (BIT(0) | BIT(1))
 
#define PCH_EDGE_BOTH   BIT(2)
 
#define PCH_IM_MASK   (BIT(0) | BIT(1) | BIT(2))
 
#define PCH_IRQ_BASE   24
 
#define pch_gpio_suspend   NULL
 
#define pch_gpio_resume   NULL
 
#define PCI_VENDOR_ID_ROHM   0x10DB
 

Enumerations

enum  pch_type_t { INTEL_EG20T_PCH, OKISEMI_ML7223m_IOH, OKISEMI_ML7223n_IOH }
 

Functions

 MODULE_DEVICE_TABLE (pci, pch_gpio_pcidev_id)
 
 module_pci_driver (pch_gpio_driver)
 
 MODULE_DESCRIPTION ("PCH GPIO PCI Driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define PCH_EDGE_BOTH   BIT(2)

Definition at line 28 of file gpio-pch.c.

#define PCH_EDGE_FALLING   0

Definition at line 24 of file gpio-pch.c.

#define PCH_EDGE_RISING   BIT(0)

Definition at line 25 of file gpio-pch.c.

#define pch_gpio_resume   NULL

Definition at line 517 of file gpio-pch.c.

#define pch_gpio_suspend   NULL

Definition at line 516 of file gpio-pch.c.

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

Definition at line 29 of file gpio-pch.c.

#define PCH_IRQ_BASE   24

Definition at line 31 of file gpio-pch.c.

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

Definition at line 27 of file gpio-pch.c.

#define PCH_LEVEL_L   BIT(1)

Definition at line 26 of file gpio-pch.c.

#define PCI_VENDOR_ID_ROHM   0x10DB

Definition at line 520 of file gpio-pch.c.

Enumeration Type Documentation

enum pch_type_t
Enumerator:
INTEL_EG20T_PCH 
OKISEMI_ML7223m_IOH 
OKISEMI_ML7223n_IOH 

Definition at line 50 of file gpio-pch.c.

Function Documentation

MODULE_DESCRIPTION ( "PCH GPIO PCI Driver"  )
MODULE_DEVICE_TABLE ( pci  ,
pch_gpio_pcidev_id   
)
MODULE_LICENSE ( "GPL"  )
module_pci_driver ( pch_gpio_driver  )