Lines Matching refs:muxc
227 struct i2c_mux_core *muxc = i2c_get_clientdata(client); in pca9541_arbitrate() local
228 struct pca9541 *data = i2c_mux_priv(muxc); in pca9541_arbitrate()
296 static int pca9541_select_chan(struct i2c_mux_core *muxc, u32 chan) in pca9541_select_chan() argument
298 struct pca9541 *data = i2c_mux_priv(muxc); in pca9541_select_chan()
321 static int pca9541_release_chan(struct i2c_mux_core *muxc, u32 chan) in pca9541_release_chan() argument
323 struct pca9541 *data = i2c_mux_priv(muxc); in pca9541_release_chan()
338 struct i2c_mux_core *muxc; in pca9541_probe() local
359 muxc = i2c_mux_alloc(adap, &client->dev, 1, sizeof(*data), in pca9541_probe()
362 if (!muxc) in pca9541_probe()
365 data = i2c_mux_priv(muxc); in pca9541_probe()
368 i2c_set_clientdata(client, muxc); in pca9541_probe()
370 ret = i2c_mux_add_adapter(muxc, force, 0, 0); in pca9541_probe()
382 struct i2c_mux_core *muxc = i2c_get_clientdata(client); in pca9541_remove() local
384 i2c_mux_del_adapters(muxc); in pca9541_remove()