Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
gpio.c File Reference
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/gpio.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/spinlock.h>
#include <linux/irqdomain.h>
#include <linux/io.h>
#include <mach/ilsel.h>
#include <mach/hardware.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define KEYCTLR   0xb81c0000
 
#define KEYOUTR   0xb81c0002
 
#define KEYDETR   0xb81c0004
 

Functions

int __init x3proto_gpio_setup (void)
 

Variables

struct gpio_chip x3proto_gpio_chip
 

Macro Definition Documentation

#define KEYCTLR   0xb81c0000

Definition at line 25 of file gpio.c.

#define KEYDETR   0xb81c0004

Definition at line 27 of file gpio.c.

#define KEYOUTR   0xb81c0002

Definition at line 26 of file gpio.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 12 of file gpio.c.

Function Documentation

int __init x3proto_gpio_setup ( void  )

Definition at line 102 of file gpio.c.

Variable Documentation

struct gpio_chip x3proto_gpio_chip
Initial value:
= {
.label = "x3proto-gpio",
.direction_input = x3proto_gpio_direction_input,
.get = x3proto_gpio_get,
.to_irq = x3proto_gpio_to_irq,
.base = -1,
}

Definition at line 79 of file gpio.c.