Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
gpio-omap.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/syscore_ops.h>
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/device.h>
#include <linux/pm_runtime.h>
#include <linux/pm.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/irqdomain.h>
#include <linux/gpio.h>
#include <linux/platform_data/gpio-omap.h>
#include <asm/mach/irq.h>

Go to the source code of this file.

Data Structures

struct  gpio_regs
 
struct  gpio_bank
 

Macros

#define OFF_MODE   1
 
#define GPIO_INDEX(bank, gpio)   (gpio % bank->width)
 
#define GPIO_BIT(bank, gpio)   (1 << GPIO_INDEX(bank, gpio))
 
#define GPIO_MOD_CTRL_BIT   BIT(0)
 
#define omap_gpio_runtime_suspend   NULL
 
#define omap_gpio_runtime_resume   NULL
 

Functions

 postcore_initcall (omap_gpio_drv_reg)
 

Macro Definition Documentation

#define GPIO_BIT (   bank,
  gpio 
)    (1 << GPIO_INDEX(bank, gpio))

Definition at line 87 of file gpio-omap.c.

#define GPIO_INDEX (   bank,
  gpio 
)    (gpio % bank->width)

Definition at line 86 of file gpio-omap.c.

#define GPIO_MOD_CTRL_BIT   BIT(0)

Definition at line 88 of file gpio-omap.c.

#define OFF_MODE   1

Definition at line 33 of file gpio-omap.c.

#define omap_gpio_runtime_resume   NULL

Definition at line 1424 of file gpio-omap.c.

#define omap_gpio_runtime_suspend   NULL

Definition at line 1423 of file gpio-omap.c.

Function Documentation

postcore_initcall ( omap_gpio_drv_reg  )