Home
last modified time | relevance | path

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

12

/linux-6.12.1/include/linux/
Di2c-mux.h18 struct i2c_mux_core { struct
27 int (*select)(struct i2c_mux_core *, u32 chan_id); argument
28 int (*deselect)(struct i2c_mux_core *, u32 chan_id); argument
35 struct i2c_mux_core *i2c_mux_alloc(struct i2c_adapter *parent, argument
38 int (*select)(struct i2c_mux_core *, u32),
39 int (*deselect)(struct i2c_mux_core *, u32));
46 static inline void *i2c_mux_priv(struct i2c_mux_core *muxc) in i2c_mux_priv()
58 int i2c_mux_add_adapter(struct i2c_mux_core *muxc,
61 void i2c_mux_del_adapters(struct i2c_mux_core *muxc);
/linux-6.12.1/drivers/i2c/
Di2c-mux.c35 struct i2c_mux_core *muxc;
43 struct i2c_mux_core *muxc = priv->muxc; in __i2c_mux_master_xfer()
62 struct i2c_mux_core *muxc = priv->muxc; in i2c_mux_master_xfer()
83 struct i2c_mux_core *muxc = priv->muxc; in __i2c_mux_smbus_xfer()
105 struct i2c_mux_core *muxc = priv->muxc; in i2c_mux_smbus_xfer()
226 struct i2c_mux_core *i2c_mux_alloc(struct i2c_adapter *parent, in i2c_mux_alloc()
229 int (*select)(struct i2c_mux_core *, u32), in i2c_mux_alloc() argument
230 int (*deselect)(struct i2c_mux_core *, u32)) in i2c_mux_alloc() argument
232 struct i2c_mux_core *muxc; in i2c_mux_alloc()
270 int i2c_mux_add_adapter(struct i2c_mux_core *muxc, in i2c_mux_add_adapter()
[all …]
/linux-6.12.1/drivers/i2c/muxes/
Di2c-mux-mule.c23 static int mule_i2c_mux_select(struct i2c_mux_core *muxc, u32 dev) in mule_i2c_mux_select()
30 static int mule_i2c_mux_deselect(struct i2c_mux_core *muxc, u32 dev) in mule_i2c_mux_deselect()
37 struct i2c_mux_core *muxc = data; in mule_i2c_mux_remove()
49 struct i2c_mux_core *muxc; in mule_i2c_mux_probe()
Di2c-mux-mlxcpld.c88 static int mlxcpld_mux_select_chan(struct i2c_mux_core *muxc, u32 chan) in mlxcpld_mux_select_chan()
106 static int mlxcpld_mux_deselect(struct i2c_mux_core *muxc, u32 chan) in mlxcpld_mux_deselect()
121 struct i2c_mux_core *muxc; in mlxcpld_mux_probe()
175 struct i2c_mux_core *muxc = platform_get_drvdata(pdev); in mlxcpld_mux_remove()
Di2c-mux-gpmux.c23 static int i2c_mux_select(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_select()
34 static int i2c_mux_deselect(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_deselect()
74 struct i2c_mux_core *muxc; in i2c_mux_probe()
147 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()
289 struct i2c_mux_core *muxc; in pca9541_probe()
329 struct i2c_mux_core *muxc = i2c_get_clientdata(client); in pca9541_remove()
Di2c-arb-gpio-challenge.c42 static int i2c_arbitrator_select(struct i2c_mux_core *muxc, u32 chan) in i2c_arbitrator_select()
85 static int i2c_arbitrator_deselect(struct i2c_mux_core *muxc, u32 chan) in i2c_arbitrator_deselect()
101 struct i2c_mux_core *muxc; in i2c_arbitrator_probe()
179 struct i2c_mux_core *muxc = platform_get_drvdata(pdev); in i2c_arbitrator_remove()
Di2c-mux-pinctrl.c22 static int i2c_mux_pinctrl_select(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_pinctrl_select()
29 static int i2c_mux_pinctrl_deselect(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_pinctrl_deselect()
77 struct i2c_mux_core *muxc; in i2c_mux_pinctrl_probe()
171 struct i2c_mux_core *muxc = platform_get_drvdata(pdev); in i2c_mux_pinctrl_remove()
Di2c-mux-pca954x.c319 static int pca954x_select_chan(struct i2c_mux_core *muxc, u32 chan) in pca954x_select_chan()
336 static int pca954x_deselect_mux(struct i2c_mux_core *muxc, u32 chan) in pca954x_deselect_mux()
364 struct i2c_mux_core *muxc = i2c_get_clientdata(client); in idle_state_show()
375 struct i2c_mux_core *muxc = i2c_get_clientdata(client); in idle_state_store()
434 static int pca954x_irq_setup(struct i2c_mux_core *muxc) in pca954x_irq_setup()
465 static void pca954x_cleanup(struct i2c_mux_core *muxc) in pca954x_cleanup()
562 struct i2c_mux_core *muxc; in pca954x_probe()
680 struct i2c_mux_core *muxc = i2c_get_clientdata(client); in pca954x_remove()
690 struct i2c_mux_core *muxc = i2c_get_clientdata(client); in pca954x_resume()
Di2c-mux-reg.c61 static int i2c_mux_reg_select(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_reg_select()
68 static int i2c_mux_reg_deselect(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_reg_deselect()
158 struct i2c_mux_core *muxc; in i2c_mux_reg_probe()
236 struct i2c_mux_core *muxc = platform_get_drvdata(pdev); in i2c_mux_reg_remove()
Di2c-mux-gpio.c35 static int i2c_mux_gpio_select(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_gpio_select()
47 static int i2c_mux_gpio_deselect(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_gpio_deselect()
130 struct i2c_mux_core *muxc; in i2c_mux_gpio_probe()
236 struct i2c_mux_core *muxc = platform_get_drvdata(pdev); in i2c_mux_gpio_remove()
Di2c-mux-ltc4306.c177 static int ltc4306_select_mux(struct i2c_mux_core *muxc, u32 chan) in ltc4306_select_mux()
185 static int ltc4306_deselect_mux(struct i2c_mux_core *muxc, u32 chan) in ltc4306_deselect_mux()
211 struct i2c_mux_core *muxc; in ltc4306_probe()
298 struct i2c_mux_core *muxc = i2c_get_clientdata(client); in ltc4306_remove()
/linux-6.12.1/drivers/iio/gyro/
Dmpu3050-i2c.c17 static int mpu3050_i2c_bypass_select(struct i2c_mux_core *mux, u32 chan_id) in mpu3050_i2c_bypass_select()
26 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-6.12.1/drivers/media/dvb-frontends/
Drtl2830_priv.h23 struct i2c_mux_core *muxc;
Dsi2168_priv.h25 struct i2c_mux_core *muxc;
Dm88ds3103_priv.h42 struct i2c_mux_core *muxc;
Drtl2832_priv.h25 struct i2c_mux_core *muxc;
Daf9013.c16 struct i2c_mux_core *muxc;
1236 static int af9013_select(struct i2c_mux_core *muxc, u32 chan) in af9013_select()
1257 static int af9013_deselect(struct i2c_mux_core *muxc, u32 chan) in af9013_deselect()
Dsi2168.c598 static int si2168_select(struct i2c_mux_core *muxc, u32 chan) in si2168_select()
616 static int si2168_deselect(struct i2c_mux_core *muxc, u32 chan) in si2168_deselect()
/linux-6.12.1/drivers/power/supply/
Dsbs-manager.c40 struct i2c_mux_core *muxc;
172 static int sbsm_select(struct i2c_mux_core *muxc, u32 chan) in sbsm_select()
/linux-6.12.1/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_i2c.c21 static int inv_mpu6050_select_bypass(struct i2c_mux_core *muxc, u32 chan_id) in inv_mpu6050_select_bypass()
Dinv_mpu_iio.h197 struct i2c_mux_core *muxc;
/linux-6.12.1/drivers/gpu/drm/bridge/
Dsii902x.c181 struct i2c_mux_core *i2cmux;
948 static int sii902x_i2c_bypass_select(struct i2c_mux_core *mux, u32 chan_id) in sii902x_i2c_bypass_select()
993 static int sii902x_i2c_bypass_deselect(struct i2c_mux_core *mux, u32 chan_id) in sii902x_i2c_bypass_deselect()
/linux-6.12.1/drivers/media/i2c/
Dmax96714.c108 struct i2c_mux_core *mux;
663 static int max96714_i2c_mux_select(struct i2c_mux_core *mux, u32 chan) in max96714_i2c_mux_select()

12