Lines Matching refs:i2c_bus
22 struct udevice *i2c_bus; member
110 priv->i2c_bus = dev_get_parent(mux); in i2c_mux_post_probe()
111 debug("%s: bus=%p/%s\n", __func__, priv->i2c_bus, in i2c_mux_post_probe()
112 priv->i2c_bus->name); in i2c_mux_post_probe()
117 &priv->i2c_bus); in i2c_mux_post_probe()
120 debug("%s: bus=%p/%s\n", __func__, priv->i2c_bus, priv->i2c_bus->name); in i2c_mux_post_probe()
158 ret = dm_i2c_set_bus_speed(priv->i2c_bus, speed); in i2c_mux_bus_set_bus_speed()
169 struct dm_i2c_ops *ops = i2c_get_ops(priv->i2c_bus); in i2c_mux_bus_probe()
172 debug("%s: %s, bus %s\n", __func__, dev->name, priv->i2c_bus->name); in i2c_mux_bus_probe()
178 ret = ops->probe_chip(priv->i2c_bus, chip_addr, chip_flags); in i2c_mux_bus_probe()
189 struct dm_i2c_ops *ops = i2c_get_ops(priv->i2c_bus); in i2c_mux_bus_xfer()
192 debug("%s: %s, bus %s\n", __func__, dev->name, priv->i2c_bus->name); in i2c_mux_bus_xfer()
198 ret = ops->xfer(priv->i2c_bus, msg, nmsgs); in i2c_mux_bus_xfer()