Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
gpio-ep93xx.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/gpio.h>
#include <linux/irq.h>
#include <linux/slab.h>
#include <linux/basic_mmio_gpio.h>
#include <mach/hardware.h>
#include <mach/gpio-ep93xx.h>

Go to the source code of this file.

Data Structures

struct  ep93xx_gpio
 
struct  ep93xx_gpio_bank
 

Macros

#define irq_to_gpio(irq)   ((irq) - gpio_to_irq(0))
 
#define EP93XX_GPIO_BANK(_label, _data, _dir, _base, _debounce)
 

Functions

 postcore_initcall (ep93xx_gpio_init)
 
 MODULE_AUTHOR ("Ryan Mallon <[email protected]> ""H Hartley Sweeten <[email protected]>")
 
 MODULE_DESCRIPTION ("EP93XX GPIO driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define EP93XX_GPIO_BANK (   _label,
  _data,
  _dir,
  _base,
  _debounce 
)
Value:
{ \
.label = _label, \
.data = _data, \
.dir = _dir, \
.base = _base, \
.has_debounce = _debounce, \
}

Definition at line 272 of file gpio-ep93xx.c.

#define irq_to_gpio (   irq)    ((irq) - gpio_to_irq(0))

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

Function Documentation

MODULE_AUTHOR ( "Ryan Mallon <[email protected]> ""H Hartley Sweeten <[email protected]>"  )
MODULE_DESCRIPTION ( "EP93XX GPIO driver )
MODULE_LICENSE ( "GPL"  )
postcore_initcall ( ep93xx_gpio_init  )