Searched refs:I2C_DATA (Results 1 – 3 of 3) sorted by relevance
75 *data->current->buf = I2C_DATA(cfg->reg); in i2c_gd32_xfer_read()88 I2C_DATA(cfg->reg) = *data->current->buf; in i2c_gd32_xfer_write()239 I2C_DATA(cfg->reg) = (data->addr1 << 1U) | 1U; in i2c_gd32_event_isr()241 I2C_DATA(cfg->reg) = (data->addr1 << 1U) | 0U; in i2c_gd32_event_isr()244 I2C_DATA(cfg->reg) = data->addr2; in i2c_gd32_event_isr()
419 sys_write32(*data, I2C_DATA(dev)); in i2c_atciic100_target_send()425 *data = sys_read32(I2C_DATA(dev)); in i2c_atciic100_target_receive()451 sys_write32((write_data & DATA_MSK), I2C_DATA(dev)); in i2c_controller_fifo_write()479 read_data = sys_read32(I2C_DATA(dev)) & DATA_MSK; in i2c_controller_fifo_read()
39 #define I2C_DATA(dev) (I2C_BASE(dev) + REG_DATA) macro