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

Go to the source code of this file.

Data Structures

struct  timbgpio
 

Macros

#define DRIVER_NAME   "timb-gpio"
 
#define TGPIOVAL   0x00
 
#define TGPIODIR   0x04
 
#define TGPIO_IER   0x08
 
#define TGPIO_ISR   0x0c
 
#define TGPIO_IPR   0x10
 
#define TGPIO_ICR   0x14
 
#define TGPIO_FLR   0x18
 
#define TGPIO_LVR   0x1c
 
#define TGPIO_VER   0x20
 
#define TGPIO_BFLR   0x24
 

Functions

 module_platform_driver (timbgpio_platform_driver)
 
 MODULE_DESCRIPTION ("Timberdale GPIO driver")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_AUTHOR ("Mocean Laboratories")
 
 MODULE_ALIAS ("platform:"DRIVER_NAME)
 

Macro Definition Documentation

#define DRIVER_NAME   "timb-gpio"

Definition at line 32 of file gpio-timberdale.c.

#define TGPIO_BFLR   0x24

Definition at line 43 of file gpio-timberdale.c.

#define TGPIO_FLR   0x18

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

#define TGPIO_ICR   0x14

Definition at line 39 of file gpio-timberdale.c.

#define TGPIO_IER   0x08

Definition at line 36 of file gpio-timberdale.c.

#define TGPIO_IPR   0x10

Definition at line 38 of file gpio-timberdale.c.

#define TGPIO_ISR   0x0c

Definition at line 37 of file gpio-timberdale.c.

#define TGPIO_LVR   0x1c

Definition at line 41 of file gpio-timberdale.c.

#define TGPIO_VER   0x20

Definition at line 42 of file gpio-timberdale.c.

#define TGPIODIR   0x04

Definition at line 35 of file gpio-timberdale.c.

#define TGPIOVAL   0x00

Definition at line 34 of file gpio-timberdale.c.

Function Documentation

MODULE_ALIAS ( "platform:"  DRIVER_NAME)
MODULE_AUTHOR ( "Mocean Laboratories"  )
MODULE_DESCRIPTION ( "Timberdale GPIO driver )
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( timbgpio_platform_driver  )