Home
last modified time | relevance | path

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

12

/openbmc/linux/include/linux/
H A 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,
62 void i2c_mux_del_adapters(struct i2c_mux_core *muxc);
/openbmc/linux/drivers/i2c/
H A 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()
224 struct i2c_mux_core *muxc = priv->muxc; in i2c_mux_lock_select()
246 struct i2c_mux_core *muxc = priv->muxc; in i2c_mux_unlock_deselect()
285 int (*select)(struct i2c_mux_core *, u32), in i2c_mux_alloc() argument
286 int (*deselect)(struct i2c_mux_core *, u32)) in i2c_mux_alloc() argument
288 struct i2c_mux_core *muxc; in i2c_mux_alloc()
[all …]
/openbmc/linux/drivers/i2c/muxes/
H A 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()
H A 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()
H A 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()
H A 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()
H A Di2c-mux-pca954x.c301 static int pca954x_select_chan(struct i2c_mux_core *muxc, u32 chan) in pca954x_select_chan()
318 static int pca954x_deselect_mux(struct i2c_mux_core *muxc, u32 chan) in pca954x_deselect_mux()
346 struct i2c_mux_core *muxc = i2c_get_clientdata(client); in idle_state_show()
357 struct i2c_mux_core *muxc = i2c_get_clientdata(client); in idle_state_store()
416 static int pca954x_irq_setup(struct i2c_mux_core *muxc) in pca954x_irq_setup()
447 static void pca954x_cleanup(struct i2c_mux_core *muxc) in pca954x_cleanup()
489 struct i2c_mux_core *muxc; in pca954x_probe()
609 struct i2c_mux_core *muxc = i2c_get_clientdata(client); in pca954x_remove()
619 struct i2c_mux_core *muxc = i2c_get_clientdata(client); in pca954x_resume()
H A 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()
H A Di2c-mux-gpio.c35 static int i2c_mux_gpio_select(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_gpio_select()
44 static int i2c_mux_gpio_deselect(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_gpio_deselect()
126 struct i2c_mux_core *muxc; in i2c_mux_gpio_probe()
232 struct i2c_mux_core *muxc = platform_get_drvdata(pdev); in i2c_mux_gpio_remove()
H A 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()
238 struct i2c_mux_core *muxc = platform_get_drvdata(pdev); in i2c_mux_reg_remove()
H A 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()
/openbmc/linux/drivers/iio/gyro/
H A 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()
H A Dmpu3050.h86 struct i2c_mux_core *i2cmux;
/openbmc/linux/drivers/media/dvb-frontends/
H A Drtl2830_priv.h23 struct i2c_mux_core *muxc;
H A Dsi2168_priv.h25 struct i2c_mux_core *muxc;
H A Dm88ds3103_priv.h42 struct i2c_mux_core *muxc;
H A Drtl2832_priv.h25 struct i2c_mux_core *muxc;
H A 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()
H A 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()
H A Dlgdt3306a.c73 struct i2c_mux_core *muxc;
2156 static int lgdt3306a_select(struct i2c_mux_core *muxc, u32 chan) in lgdt3306a_select()
2164 static int lgdt3306a_deselect(struct i2c_mux_core *muxc, u32 chan) in lgdt3306a_deselect()
H A Drtl2832.c800 static int rtl2832_select(struct i2c_mux_core *muxc, u32 chan_id) in rtl2832_select()
820 static int rtl2832_deselect(struct i2c_mux_core *muxc, u32 chan_id) in rtl2832_deselect()
/openbmc/linux/drivers/power/supply/
H A Dsbs-manager.c40 struct i2c_mux_core *muxc;
172 static int sbsm_select(struct i2c_mux_core *muxc, u32 chan) in sbsm_select()
/openbmc/linux/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_i2c.c21 static int inv_mpu6050_select_bypass(struct i2c_mux_core *muxc, u32 chan_id) in inv_mpu6050_select_bypass()
H A Dinv_mpu_iio.h191 struct i2c_mux_core *muxc;
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dsii902x.c173 struct i2c_mux_core *i2cmux;
932 static int sii902x_i2c_bypass_select(struct i2c_mux_core *mux, u32 chan_id) in sii902x_i2c_bypass_select()
977 static int sii902x_i2c_bypass_deselect(struct i2c_mux_core *mux, u32 chan_id) in sii902x_i2c_bypass_deselect()

12