Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
i2c-mux-gpio.h
Go to the documentation of this file.
1 /*
2  * i2c-mux-gpio interface to platform code
3  *
4  * Peter Korsgaard <[email protected]>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  */
10 
11 #ifndef _LINUX_I2C_MUX_GPIO_H
12 #define _LINUX_I2C_MUX_GPIO_H
13 
14 /* MUX has no specific idle mode */
15 #define I2C_MUX_GPIO_NO_IDLE ((unsigned)-1)
16 
32  int parent;
33  int base_nr;
34  const unsigned *values;
35  int n_values;
36  const unsigned *classes;
37  char *gpio_chip;
38  const unsigned *gpios;
39  int n_gpios;
40  unsigned idle;
41 };
42 
43 #endif /* _LINUX_I2C_MUX_GPIO_H */