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

Go to the source code of this file.

Macros

#define BCM47XX_EXTIF_GPIO_LINES   5
 
#define BCM47XX_CHIPCO_GPIO_LINES   16
 
#define gpio_get_value_cansleep   gpio_get_value
 
#define gpio_set_value_cansleep   gpio_set_value
 

Functions

int gpio_request (unsigned gpio, const char *label)
 
void gpio_free (unsigned gpio)
 
int gpio_to_irq (unsigned gpio)
 

Macro Definition Documentation

#define BCM47XX_CHIPCO_GPIO_LINES   16

Definition at line 17 of file gpio.h.

#define BCM47XX_EXTIF_GPIO_LINES   5

Definition at line 16 of file gpio.h.

#define gpio_get_value_cansleep   gpio_get_value

Definition at line 39 of file gpio.h.

#define gpio_set_value_cansleep   gpio_set_value

Definition at line 59 of file gpio.h.

Function Documentation

void gpio_free ( unsigned  gpio)

Definition at line 55 of file gpio.c.

int gpio_request ( unsigned  gpio,
const char label 
)

Definition at line 22 of file gpio.c.

int gpio_to_irq ( unsigned  gpio)

Definition at line 234 of file gpio.c.