Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
gpio.c File Reference
#include <linux/stddef.h>
#include <linux/proc_fs.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/fs.h>
#include <linux/init.h>

Go to the source code of this file.

Macros

#define _(addr)   (volatile unsigned char *)(addr)
 

Functions

char_platform_gpio_table (int length)
 
int h8300_reserved_gpio (int port, unsigned int bits)
 
int h8300_free_gpio (int port, unsigned int bits)
 
int h8300_set_gpio_dir (int port_bit, int dir)
 
int h8300_get_gpio_dir (int port_bit)
 
void __init h8300_gpio_init (void)
 

Macro Definition Documentation

#define _ (   addr)    (volatile unsigned char *)(addr)

Definition at line 19 of file gpio.c.

Function Documentation

char* _platform_gpio_table ( int  length)
int h8300_free_gpio ( int  port,
unsigned int  bits 
)

Definition at line 76 of file gpio.c.

int h8300_get_gpio_dir ( int  port_bit)

Definition at line 107 of file gpio.c.

void __init h8300_gpio_init ( void  )

Definition at line 170 of file gpio.c.

int h8300_reserved_gpio ( int  port,
unsigned int  bits 
)

Definition at line 63 of file gpio.c.

int h8300_set_gpio_dir ( int  port_bit,
int  dir 
)

Definition at line 89 of file gpio.c.

Variable Documentation

unsigned char ddr

Definition at line 58 of file gpio.c.

unsigned char used

Definition at line 57 of file gpio.c.