Lines Matching refs:chan_id
37 u32 chan_id; /* the channel id */ member
39 int (*select)(struct i2c_adapter *, void *mux_priv, u32 chan_id);
40 int (*deselect)(struct i2c_adapter *, void *mux_priv, u32 chan_id);
52 ret = priv->select(parent, priv->mux_priv, priv->chan_id); in i2c_mux_master_xfer()
56 priv->deselect(parent, priv->mux_priv, priv->chan_id); in i2c_mux_master_xfer()
72 ret = priv->select(parent, priv->mux_priv, priv->chan_id); in i2c_mux_smbus_xfer()
77 priv->deselect(parent, priv->mux_priv, priv->chan_id); in i2c_mux_smbus_xfer()
106 void *mux_priv, u32 force_nr, u32 chan_id, in i2c_add_mux_adapter() argument
123 priv->chan_id = chan_id; in i2c_add_mux_adapter()
138 "i2c-%d-mux (chan_id %d)", i2c_adapter_id(parent), chan_id); in i2c_add_mux_adapter()
148 chan_id); in i2c_add_mux_adapter()
164 if (chan_id == reg) { in i2c_add_mux_adapter()