Home
last modified time | relevance | path

Searched refs:i2c_mux_core (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v4.19/include/linux/
Di2c-mux.h32 struct i2c_mux_core { struct
41 int (*select)(struct i2c_mux_core *, u32 chan_id); argument
42 int (*deselect)(struct i2c_mux_core *, u32 chan_id); argument
49 struct i2c_mux_core *i2c_mux_alloc(struct i2c_adapter *parent, argument
52 int (*select)(struct i2c_mux_core *, u32),
53 int (*deselect)(struct i2c_mux_core *, u32));
60 static inline void *i2c_mux_priv(struct i2c_mux_core *muxc) in i2c_mux_priv()
72 int i2c_mux_add_adapter(struct i2c_mux_core *muxc,
76 void i2c_mux_del_adapters(struct i2c_mux_core *muxc);
/Linux-v4.19/drivers/i2c/
Di2c-mux.c34 struct i2c_mux_core *muxc;
42 struct i2c_mux_core *muxc = priv->muxc; in __i2c_mux_master_xfer()
61 struct i2c_mux_core *muxc = priv->muxc; in i2c_mux_master_xfer()
82 struct i2c_mux_core *muxc = priv->muxc; in __i2c_mux_smbus_xfer()
104 struct i2c_mux_core *muxc = priv->muxc; in i2c_mux_smbus_xfer()
238 struct i2c_mux_core *i2c_mux_alloc(struct i2c_adapter *parent, in i2c_mux_alloc()
241 int (*select)(struct i2c_mux_core *, u32), in i2c_mux_alloc() argument
242 int (*deselect)(struct i2c_mux_core *, u32)) in i2c_mux_alloc() argument
244 struct i2c_mux_core *muxc; in i2c_mux_alloc()
282 int i2c_mux_add_adapter(struct i2c_mux_core *muxc, in i2c_mux_add_adapter()
[all …]
/Linux-v4.19/drivers/i2c/muxes/
Di2c-mux-mlxcpld.c104 static int mlxcpld_mux_select_chan(struct i2c_mux_core *muxc, u32 chan) in mlxcpld_mux_select_chan()
120 static int mlxcpld_mux_deselect(struct i2c_mux_core *muxc, u32 chan) in mlxcpld_mux_deselect()
137 struct i2c_mux_core *muxc; in mlxcpld_mux_probe()
181 struct i2c_mux_core *muxc = i2c_get_clientdata(client); in mlxcpld_mux_remove()
Di2c-mux-gpmux.c26 static int i2c_mux_select(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_select()
37 static int i2c_mux_deselect(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_deselect()
77 struct i2c_mux_core *muxc; in i2c_mux_probe()
153 struct i2c_mux_core *muxc = platform_get_drvdata(pdev); in i2c_mux_remove()
Di2c-mux-pca9541.c180 struct i2c_mux_core *muxc = i2c_get_clientdata(client); in pca9541_arbitrate()
249 static int pca9541_select_chan(struct i2c_mux_core *muxc, u32 chan) in pca9541_select_chan()
274 static int pca9541_release_chan(struct i2c_mux_core *muxc, u32 chan) in pca9541_release_chan()
291 struct i2c_mux_core *muxc; in pca9541_probe()
335 struct i2c_mux_core *muxc = i2c_get_clientdata(client); in pca9541_remove()
Di2c-arb-gpio-challenge.c58 static int i2c_arbitrator_select(struct i2c_mux_core *muxc, u32 chan) in i2c_arbitrator_select()
101 static int i2c_arbitrator_deselect(struct i2c_mux_core *muxc, u32 chan) in i2c_arbitrator_deselect()
117 struct i2c_mux_core *muxc; in i2c_arbitrator_probe()
213 struct i2c_mux_core *muxc = platform_get_drvdata(pdev); in i2c_arbitrator_remove()
Di2c-mux-pinctrl.c33 static int i2c_mux_pinctrl_select(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_pinctrl_select()
40 static int i2c_mux_pinctrl_deselect(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_pinctrl_deselect()
88 struct i2c_mux_core *muxc; in i2c_mux_pinctrl_probe()
183 struct i2c_mux_core *muxc = platform_get_drvdata(pdev); in i2c_mux_pinctrl_remove()
Di2c-mux-pca954x.c230 static int pca954x_select_chan(struct i2c_mux_core *muxc, u32 chan) in pca954x_select_chan()
253 static int pca954x_deselect_mux(struct i2c_mux_core *muxc, u32 chan) in pca954x_deselect_mux()
298 static int pca954x_irq_setup(struct i2c_mux_core *muxc) in pca954x_irq_setup()
329 static void pca954x_cleanup(struct i2c_mux_core *muxc) in pca954x_cleanup()
357 struct i2c_mux_core *muxc; in pca954x_probe()
469 struct i2c_mux_core *muxc = i2c_get_clientdata(client); in pca954x_remove()
479 struct i2c_mux_core *muxc = i2c_get_clientdata(client); in pca954x_resume()
Di2c-mux-ltc4306.c179 static int ltc4306_select_mux(struct i2c_mux_core *muxc, u32 chan) in ltc4306_select_mux()
187 static int ltc4306_deselect_mux(struct i2c_mux_core *muxc, u32 chan) in ltc4306_deselect_mux()
213 struct i2c_mux_core *muxc; in ltc4306_probe()
300 struct i2c_mux_core *muxc = i2c_get_clientdata(client); in ltc4306_remove()
Di2c-mux-reg.c65 static int i2c_mux_reg_select(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_reg_select()
72 static int i2c_mux_reg_deselect(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_reg_deselect()
162 struct i2c_mux_core *muxc; in i2c_mux_reg_probe()
247 struct i2c_mux_core *muxc = platform_get_drvdata(pdev); in i2c_mux_reg_remove()
Di2c-mux-gpio.c39 static int i2c_mux_gpio_select(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_gpio_select()
48 static int i2c_mux_gpio_deselect(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_gpio_deselect()
143 struct i2c_mux_core *muxc; in i2c_mux_gpio_probe()
272 struct i2c_mux_core *muxc = platform_get_drvdata(pdev); in i2c_mux_gpio_remove()
/Linux-v4.19/drivers/iio/gyro/
Dmpu3050-i2c.c16 static int mpu3050_i2c_bypass_select(struct i2c_mux_core *mux, u32 chan_id) in mpu3050_i2c_bypass_select()
25 static int mpu3050_i2c_bypass_deselect(struct i2c_mux_core *mux, u32 chan_id) in mpu3050_i2c_bypass_deselect()
Dmpu3050.h86 struct i2c_mux_core *i2cmux;
/Linux-v4.19/drivers/media/dvb-frontends/
Drtl2830_priv.h33 struct i2c_mux_core *muxc;
Dsi2168_priv.h35 struct i2c_mux_core *muxc;
Dm88ds3103_priv.h44 struct i2c_mux_core *muxc;
Drtl2832_priv.h38 struct i2c_mux_core *muxc;
Daf9013.c26 struct i2c_mux_core *muxc;
1246 static int af9013_select(struct i2c_mux_core *muxc, u32 chan) in af9013_select()
1267 static int af9013_deselect(struct i2c_mux_core *muxc, u32 chan) in af9013_deselect()
Dsi2168.c642 static int si2168_select(struct i2c_mux_core *muxc, u32 chan) in si2168_select()
662 static int si2168_deselect(struct i2c_mux_core *muxc, u32 chan) in si2168_deselect()
Dlgdt3306a.c82 struct i2c_mux_core *muxc;
2184 static int lgdt3306a_select(struct i2c_mux_core *muxc, u32 chan) in lgdt3306a_select()
2192 static int lgdt3306a_deselect(struct i2c_mux_core *muxc, u32 chan) in lgdt3306a_deselect()
Drtl2832.c812 static int rtl2832_select(struct i2c_mux_core *muxc, u32 chan_id) in rtl2832_select()
832 static int rtl2832_deselect(struct i2c_mux_core *muxc, u32 chan_id) in rtl2832_deselect()
/Linux-v4.19/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_i2c.c28 static int inv_mpu6050_select_bypass(struct i2c_mux_core *muxc, u32 chan_id) in inv_mpu6050_select_bypass()
49 static int inv_mpu6050_deselect_bypass(struct i2c_mux_core *muxc, u32 chan_id) in inv_mpu6050_deselect_bypass()
Dinv_mpu_iio.h140 struct i2c_mux_core *muxc;
/Linux-v4.19/drivers/power/supply/
Dsbs-manager.c43 struct i2c_mux_core *muxc;
175 static int sbsm_select(struct i2c_mux_core *muxc, u32 chan) in sbsm_select()
/Linux-v4.19/drivers/media/usb/cx231xx/
Dcx231xx-i2c.c562 static int cx231xx_i2c_mux_select(struct i2c_mux_core *muxc, u32 chan_id) in cx231xx_i2c_mux_select()

12