Searched refs:get_sda (Results 1 – 3 of 3) sorted by relevance
51 i2c_get_sda get_sda; member63 i2c_get_sda get_sda) in i2c_create_bus() argument83 bus->get_sda = get_sda; in i2c_create_bus()215 if (bit == 1 && 0 == bus->get_sda(bus->cookie)) { in i2c_writebyte()227 *ack = 0 == bus->get_sda(bus->cookie); in i2c_writebyte()249 byte = (byte << 1) | bus->get_sda(bus->cookie); in i2c_readbyte()
64 get_sda(void *cookie) in get_sda() function74 device->i2c_bus = i2c_create_bus(device, 80000, 2000000, set_scl, set_sda, get_scl, get_sda); in i2c_init()
44 i2c_get_sda get_sda);