Searched refs:byte0 (Results 1 – 2 of 2) sorted by relevance
223 unsigned int byte0 = slave_address << 1; in i2c_bitbang_transfer() local225 byte0 |= (flags & I2C_MSG_RW_MASK) == I2C_MSG_READ; in i2c_bitbang_transfer()226 if (!i2c_write_byte(context, byte0)) { in i2c_bitbang_transfer()
182 uint8_t byte0 = addr << 1; in i2c_imx_send_addr() local184 byte0 |= (flags & I2C_MSG_RW_MASK) == I2C_MSG_READ; in i2c_imx_send_addr()185 return i2c_imx_write(dev, &byte0, 1); in i2c_imx_send_addr()