Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
gpio.h File Reference
#include <asm/mach-pnx833x/pnx833x.h>

Go to the source code of this file.

Macros

#define SET_REG_BIT(reg, bit)   do { (reg |= (1 << (bit))); } while (0)
 
#define CLEAR_REG_BIT(reg, bit)   do { (reg &= ~(1 << (bit))); } while (0)
 
#define GPIO_INT_NONE   0
 
#define GPIO_INT_LEVEL_LOW   1
 
#define GPIO_INT_LEVEL_HIGH   2
 
#define GPIO_INT_EDGE_RISING   3
 
#define GPIO_INT_EDGE_FALLING   4
 
#define GPIO_INT_EDGE_BOTH   5
 

Macro Definition Documentation

#define CLEAR_REG_BIT (   reg,
  bit 
)    do { (reg &= ~(1 << (bit))); } while (0)

Definition at line 36 of file gpio.h.

#define GPIO_INT_EDGE_BOTH   5

Definition at line 118 of file gpio.h.

#define GPIO_INT_EDGE_FALLING   4

Definition at line 117 of file gpio.h.

#define GPIO_INT_EDGE_RISING   3

Definition at line 116 of file gpio.h.

#define GPIO_INT_LEVEL_HIGH   2

Definition at line 115 of file gpio.h.

#define GPIO_INT_LEVEL_LOW   1

Definition at line 114 of file gpio.h.

#define GPIO_INT_NONE   0

Definition at line 113 of file gpio.h.

#define SET_REG_BIT (   reg,
  bit 
)    do { (reg |= (1 << (bit))); } while (0)

Definition at line 35 of file gpio.h.