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

#include <i2c-mux-gpio.h>

Data Fields

int parent
 
int base_nr
 
const unsigned * values
 
int n_values
 
const unsigned * classes
 
chargpio_chip
 
const unsigned * gpios
 
int n_gpios
 
unsigned idle
 

Detailed Description

struct i2c_mux_gpio_platform_data - Platform-dependent data for i2c-mux-gpio : Parent I2C bus adapter number : Base I2C bus number to number adapters from or zero for dynamic : Array of bitmasks of GPIO settings (low/high) for each position : Number of multiplexer positions (busses to instantiate) : Optional I2C auto-detection classes : Optional GPIO chip name; if set, GPIO pin numbers are given relative to the base GPIO number of that chip : Array of GPIO numbers used to control MUX : Number of GPIOs used to control MUX : Bitmask to write to MUX when idle or GPIO_I2CMUX_NO_IDLE if not used

Definition at line 31 of file i2c-mux-gpio.h.

Field Documentation

int base_nr

Definition at line 33 of file i2c-mux-gpio.h.

const unsigned* classes

Definition at line 36 of file i2c-mux-gpio.h.

char* gpio_chip

Definition at line 37 of file i2c-mux-gpio.h.

const unsigned* gpios

Definition at line 38 of file i2c-mux-gpio.h.

unsigned idle

Definition at line 40 of file i2c-mux-gpio.h.

int n_gpios

Definition at line 39 of file i2c-mux-gpio.h.

int n_values

Definition at line 35 of file i2c-mux-gpio.h.

int parent

Definition at line 32 of file i2c-mux-gpio.h.

const unsigned* values

Definition at line 34 of file i2c-mux-gpio.h.


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