Lines Matching refs:i2c_bus
24 struct udevice *i2c_bus; member
89 priv->i2c_bus = dev_get_parent(mux); in i2c_mux_post_probe()
90 debug("%s: bus=%p/%s\n", __func__, priv->i2c_bus, in i2c_mux_post_probe()
91 priv->i2c_bus->name); in i2c_mux_post_probe()
96 &priv->i2c_bus); in i2c_mux_post_probe()
99 debug("%s: bus=%p/%s\n", __func__, priv->i2c_bus, priv->i2c_bus->name); in i2c_mux_post_probe()
137 ret = dm_i2c_set_bus_speed(priv->i2c_bus, speed); in i2c_mux_bus_set_bus_speed()
148 struct dm_i2c_ops *ops = i2c_get_ops(priv->i2c_bus); in i2c_mux_bus_probe()
151 debug("%s: %s, bus %s\n", __func__, dev->name, priv->i2c_bus->name); in i2c_mux_bus_probe()
157 ret = ops->probe_chip(priv->i2c_bus, chip_addr, chip_flags); in i2c_mux_bus_probe()
168 struct dm_i2c_ops *ops = i2c_get_ops(priv->i2c_bus); in i2c_mux_bus_xfer()
171 debug("%s: %s, bus %s\n", __func__, dev->name, priv->i2c_bus->name); in i2c_mux_bus_xfer()
177 ret = ops->xfer(priv->i2c_bus, msg, nmsgs); in i2c_mux_bus_xfer()