Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
gpio-it8761e.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/io.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/gpio.h>

Go to the source code of this file.

Macros

#define SIO_CHIP_ID   0x8761
 
#define CHIP_ID_HIGH_BYTE   0x20
 
#define CHIP_ID_LOW_BYTE   0x21
 
#define GPIO_NAME   "it8761-gpio"
 
#define GPIO_BA_HIGH_BYTE   0x60
 
#define GPIO_BA_LOW_BYTE   0x61
 
#define GPIO_IOSIZE   4
 
#define GPIO1X_IO   0xf0
 
#define GPIO2X_IO   0xf1
 

Functions

 module_init (it8761e_gpio_init)
 
 module_exit (it8761e_gpio_exit)
 
 MODULE_AUTHOR ("Denis Turischev <[email protected]>")
 
 MODULE_DESCRIPTION ("GPIO interface for IT8761E Super I/O chip")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define CHIP_ID_HIGH_BYTE   0x20

Definition at line 30 of file gpio-it8761e.c.

#define CHIP_ID_LOW_BYTE   0x21

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

#define GPIO1X_IO   0xf0

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

#define GPIO2X_IO   0xf1

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

#define GPIO_BA_HIGH_BYTE   0x60

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

#define GPIO_BA_LOW_BYTE   0x61

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

#define GPIO_IOSIZE   4

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

#define GPIO_NAME   "it8761-gpio"

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

#define SIO_CHIP_ID   0x8761

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

Function Documentation

MODULE_AUTHOR ( "Denis Turischev <[email protected]>"  )
MODULE_DESCRIPTION ( "GPIO interface for IT8761E Super I/O chip )
module_exit ( it8761e_gpio_exit  )
module_init ( it8761e_gpio_init  )
MODULE_LICENSE ( "GPL"  )