Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
gpio-vt8500.c File Reference
#include <linux/module.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/gpio.h>
#include <linux/platform_device.h>
#include <linux/bitops.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/of_device.h>

Go to the source code of this file.

Data Structures

struct  vt8500_gpio_bank_regoffsets
 
struct  vt8500_gpio_data
 
struct  vt8500_gpio_chip
 

Macros

#define NO_REG   0xFFFF
 
#define VT8500_BANK(__en, __dir, __out, __in, __ngpio)
 
#define to_vt8500(__chip)   container_of(__chip, struct vt8500_gpio_chip, chip)
 

Functions

 module_platform_driver (vt8500_gpio_driver)
 
 MODULE_DESCRIPTION ("VT8500 GPIO Driver")
 
 MODULE_AUTHOR ("Tony Prisk <[email protected]>")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_DEVICE_TABLE (of, vt8500_gpio_dt_ids)
 

Macro Definition Documentation

#define NO_REG   0xFFFF

Definition at line 40 of file gpio-vt8500.c.

#define to_vt8500 (   __chip)    container_of(__chip, struct vt8500_gpio_chip, chip)

Definition at line 129 of file gpio-vt8500.c.

#define VT8500_BANK (   __en,
  __dir,
  __out,
  __in,
  __ngpio 
)
Value:
{ \
.en = __en, \
.dir = __dir, \
.data_out = __out, \
.data_in = __in, \
.ngpio = __ngpio, \
}

Definition at line 64 of file gpio-vt8500.c.

Function Documentation

MODULE_AUTHOR ( "Tony Prisk <[email protected]>"  )
MODULE_DESCRIPTION ( "VT8500 GPIO Driver"  )
MODULE_DEVICE_TABLE ( of  ,
vt8500_gpio_dt_ids   
)
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( vt8500_gpio_driver  )