Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions
giu.h File Reference

Go to the source code of this file.

Enumerations

enum  { GPIO_50PINS_PULLUPDOWN, GPIO_36PINS, GPIO_48PINS_EDGE_SELECT }
 
enum  irq_trigger_t { IRQ_TRIGGER_LEVEL, IRQ_TRIGGER_EDGE, IRQ_TRIGGER_EDGE_FALLING, IRQ_TRIGGER_EDGE_RISING }
 
enum  irq_signal_t { IRQ_SIGNAL_THROUGH, IRQ_SIGNAL_HOLD }
 
enum  irq_level_t { IRQ_LEVEL_LOW, IRQ_LEVEL_HIGH }
 
enum  gpio_pull_t { GPIO_PULL_DOWN, GPIO_PULL_UP, GPIO_PULL_DISABLE }
 

Functions

void vr41xx_set_irq_trigger (unsigned int pin, irq_trigger_t trigger, irq_signal_t signal)
 
void vr41xx_set_irq_level (unsigned int pin, irq_level_t level)
 
int vr41xx_gpio_pullupdown (unsigned int pin, gpio_pull_t pull)
 

Enumeration Type Documentation

anonymous enum
Enumerator:
GPIO_50PINS_PULLUPDOWN 
GPIO_36PINS 
GPIO_48PINS_EDGE_SELECT 

Definition at line 26 of file giu.h.

Enumerator:
GPIO_PULL_DOWN 
GPIO_PULL_UP 
GPIO_PULL_DISABLE 

Definition at line 54 of file giu.h.

Enumerator:
IRQ_LEVEL_LOW 
IRQ_LEVEL_HIGH 

Definition at line 47 of file giu.h.

Enumerator:
IRQ_SIGNAL_THROUGH 
IRQ_SIGNAL_HOLD 

Definition at line 39 of file giu.h.

Enumerator:
IRQ_TRIGGER_LEVEL 
IRQ_TRIGGER_EDGE 
IRQ_TRIGGER_EDGE_FALLING 
IRQ_TRIGGER_EDGE_RISING 

Definition at line 32 of file giu.h.

Function Documentation

int vr41xx_gpio_pullupdown ( unsigned int  pin,
gpio_pull_t  pull 
)

Definition at line 361 of file gpio-vr41xx.c.

void vr41xx_set_irq_level ( unsigned int  pin,
irq_level_t  level 
)

Definition at line 291 of file gpio-vr41xx.c.

void vr41xx_set_irq_trigger ( unsigned int  pin,
irq_trigger_t  trigger,
irq_signal_t  signal 
)

Definition at line 212 of file gpio-vr41xx.c.