Lines Matching refs:muxc
23 static int i2c_mux_select(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_select() argument
25 struct mux *mux = i2c_mux_priv(muxc); in i2c_mux_select()
34 static int i2c_mux_deselect(struct i2c_mux_core *muxc, u32 chan) in i2c_mux_deselect() argument
36 struct mux *mux = i2c_mux_priv(muxc); in i2c_mux_deselect()
74 struct i2c_mux_core *muxc; in i2c_mux_probe() local
99 muxc = i2c_mux_alloc(parent, dev, children, 0, 0, in i2c_mux_probe()
101 if (!muxc) { in i2c_mux_probe()
105 muxc->priv = mux; in i2c_mux_probe()
107 platform_set_drvdata(pdev, muxc); in i2c_mux_probe()
109 muxc->mux_locked = of_property_read_bool(np, "mux-locked"); in i2c_mux_probe()
127 ret = i2c_mux_add_adapter(muxc, 0, chan, 0); in i2c_mux_probe()
137 i2c_mux_del_adapters(muxc); in i2c_mux_probe()
146 struct i2c_mux_core *muxc = platform_get_drvdata(pdev); in i2c_mux_remove() local
148 i2c_mux_del_adapters(muxc); in i2c_mux_remove()
149 i2c_put_adapter(muxc->parent); in i2c_mux_remove()