Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
i2c-mux.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/i2c-mux.h>
#include <linux/of.h>
#include <linux/of_i2c.h>

Go to the source code of this file.

Data Structures

struct  i2c_mux_priv
 

Functions

struct i2c_adapteri2c_add_mux_adapter (struct i2c_adapter *parent, struct device *mux_dev, void *mux_priv, u32 force_nr, u32 chan_id, unsigned int class, int(*select)(struct i2c_adapter *, void *, u32), int(*deselect)(struct i2c_adapter *, void *, u32))
 
 EXPORT_SYMBOL_GPL (i2c_add_mux_adapter)
 
int i2c_del_mux_adapter (struct i2c_adapter *adap)
 
 EXPORT_SYMBOL_GPL (i2c_del_mux_adapter)
 
 MODULE_AUTHOR ("Rodolfo Giometti <[email protected]>")
 
 MODULE_DESCRIPTION ("I2C driver for multiplexed I2C busses")
 
 MODULE_LICENSE ("GPL v2")
 

Function Documentation

EXPORT_SYMBOL_GPL ( i2c_add_mux_adapter  )
EXPORT_SYMBOL_GPL ( i2c_del_mux_adapter  )
struct i2c_adapter* i2c_add_mux_adapter ( struct i2c_adapter parent,
struct device mux_dev,
void mux_priv,
u32  force_nr,
u32  chan_id,
unsigned int  class,
int(*)(struct i2c_adapter *, void *, u32 select,
int(*)(struct i2c_adapter *, void *, u32 deselect 
)
read

Definition at line 104 of file i2c-mux.c.

int i2c_del_mux_adapter ( struct i2c_adapter adap)

Definition at line 194 of file i2c-mux.c.

MODULE_AUTHOR ( "Rodolfo Giometti <[email protected]>"  )
MODULE_DESCRIPTION ( "I2C driver for multiplexed I2C busses"  )
MODULE_LICENSE ( "GPL v2 )