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

Go to the source code of this file.

Functions

int gpio_request (unsigned gpio, const char *label)
 
void gpio_free (unsigned gpio)
 
int gpio_direction_input (unsigned gpio)
 
int gpio_direction_output (unsigned gpio, int value)
 
int gpio_get_value (unsigned gpio)
 
void gpio_set_value (unsigned gpio, int value)
 
int gpio_to_irq (unsigned gpio)
 
int irq_to_gpio (unsigned irq)
 

Function Documentation

int gpio_direction_input ( unsigned  gpio)

Definition at line 1399 of file gpiolib.c.

int gpio_direction_output ( unsigned  gpio,
int  value 
)

Definition at line 1454 of file gpiolib.c.

void gpio_free ( unsigned  gpio)

Definition at line 55 of file gpio.c.

int gpio_get_value ( unsigned  gpio)

Definition at line 216 of file gpio.c.

int gpio_request ( unsigned  gpio,
const char label 
)

Definition at line 22 of file gpio.c.

void gpio_set_value ( unsigned  gpio,
int  value 
)

Definition at line 225 of file gpio.c.

int gpio_to_irq ( unsigned  gpio)

Definition at line 234 of file gpio.c.

int irq_to_gpio ( unsigned  irq)

Definition at line 241 of file gpio.c.