Lines Matching defs:i2c
21 #include <i2c.h>
114 * i2c_transfer: - Transfer one byte over the i2c bus
116 * This function can tranfer a byte over the i2c bus in both directions.
415 * i2c_probe: - Test if a chip answers for a given i2c address
426 * i2c_read: - Read multiple bytes from an i2c device
432 * @addr: i2c data address within the chip
433 * @alen: length of the i2c data address (1..2 bytes)
451 * i2c_write: - Write multiple bytes to an i2c device
457 * @addr: i2c data address within the chip
458 * @alen: length of the i2c data address (1..2 bytes)
483 struct mv_i2c_priv *i2c = dev_get_priv(bus);
501 return __i2c_read(i2c->base, dmsg->addr, omsg->buf,
504 return __i2c_write(i2c->base, dmsg->addr, omsg->buf,
537 { .compatible = "marvell,armada-3700-i2c" },