Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
htc_egpio_chip Struct Reference

#include <htc-egpio.h>

Data Fields

int reg_start
 
int gpio_base
 
int num_gpios
 
unsigned long direction
 
unsigned long initial_values
 

Detailed Description

struct htc_egpio_chip - descriptor to create gpio_chip for register range : index of first register : gpio number of first pin in this register range : number of gpios in this register range, max BITS_PER_LONG (number of registers = DIV_ROUND_UP(num_gpios, reg_width)) : bitfield, '0' = input, '1' = output,

Definition at line 22 of file htc-egpio.h.

Field Documentation

unsigned long direction

Definition at line 26 of file htc-egpio.h.

int gpio_base

Definition at line 24 of file htc-egpio.h.

unsigned long initial_values

Definition at line 27 of file htc-egpio.h.

int num_gpios

Definition at line 25 of file htc-egpio.h.

int reg_start

Definition at line 23 of file htc-egpio.h.


The documentation for this struct was generated from the following file: