Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
gpio.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/spinlock.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/gpio.h>
#include <asm/mach-ath79/ar71xx_regs.h>
#include <asm/mach-ath79/ath79.h>
#include "common.h"

Go to the source code of this file.

Functions

void ath79_gpio_function_enable (u32 mask)
 
void ath79_gpio_function_disable (u32 mask)
 
void ath79_gpio_function_setup (u32 set, u32 clear)
 
void __init ath79_gpio_init (void)
 
int gpio_get_value (unsigned gpio)
 
 EXPORT_SYMBOL (gpio_get_value)
 
void gpio_set_value (unsigned gpio, int value)
 
 EXPORT_SYMBOL (gpio_set_value)
 
int gpio_to_irq (unsigned gpio)
 
 EXPORT_SYMBOL (gpio_to_irq)
 
int irq_to_gpio (unsigned irq)
 
 EXPORT_SYMBOL (irq_to_gpio)
 

Function Documentation

void ath79_gpio_function_disable ( u32  mask)

Definition at line 155 of file gpio.c.

void ath79_gpio_function_enable ( u32  mask)

Definition at line 140 of file gpio.c.

void ath79_gpio_function_setup ( u32  set,
u32  clear 
)

Definition at line 170 of file gpio.c.

void __init ath79_gpio_init ( void  )

Definition at line 185 of file gpio.c.

EXPORT_SYMBOL ( gpio_get_value  )
EXPORT_SYMBOL ( gpio_set_value  )
EXPORT_SYMBOL ( gpio_to_irq  )
EXPORT_SYMBOL ( irq_to_gpio  )
int gpio_get_value ( unsigned  gpio)

Definition at line 216 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.