Lines Matching refs:addr8
468 static int gen_start(const struct device *dev, uint8_t addr8, in gen_start() argument
479 data->i2c_addr = addr8; in gen_start()
483 regs->I2CDATA = addr8; in gen_start()
486 regs->I2CDATA = addr8; in gen_start()
542 static int do_start(const struct device *dev, uint8_t addr8, bool is_repeated) in do_start() argument
548 gen_start(dev, addr8, is_repeated); in do_start()
611 uint8_t addr8 = (uint8_t)((addr & 0x7FU) << 1); in ctrl_tx() local
614 data->i2c_addr = addr8; in ctrl_tx()
624 ret = do_start(dev, addr8, I2C_START); in ctrl_tx()
632 data->i2c_addr = addr8; in ctrl_tx()
633 ret = do_start(dev, addr8, I2C_RPT_START); in ctrl_tx()
690 uint8_t addr8 = (uint8_t)(((addr & 0x7FU) << 1) | BIT(0)); in ctrl_rx() local
694 data->i2c_addr = addr8; in ctrl_rx()
702 ret = do_start(dev, addr8, I2C_START); in ctrl_rx()
713 data->i2c_addr = addr8; in ctrl_rx()
714 ret = do_start(dev, addr8, I2C_RPT_START); in ctrl_rx()