Lines Matching refs:reg_set
515 uint32_t reg_set = 0, reg_ctrl = 0, reg = 0; in i2c_cmpl_handler() local
517 reg_set = sys_read32(I2C_SET(dev)); in i2c_cmpl_handler()
549 reg_set = sys_read32(I2C_SET(dev)); in i2c_cmpl_handler()
597 uint32_t reg_set = 0; in andes_i2c_target_event() local
622 reg_set |= (CMD_ACK); in andes_i2c_target_event()
623 sys_write32(reg_set, I2C_CMD(dev)); in andes_i2c_target_event()
631 reg_set = 0; in andes_i2c_target_event()
633 reg_set |= (CMD_ACK); in andes_i2c_target_event()
634 sys_write32(reg_set, I2C_CMD(dev)); in andes_i2c_target_event()
636 reg_set |= (CMD_NACK); in andes_i2c_target_event()
637 sys_write32(reg_set, I2C_CMD(dev)); in andes_i2c_target_event()
697 uint32_t reg_set, reg_stat = 0, reg_ctrl = 0; in i2c_atciic100_irq_handler() local
700 reg_set = sys_read32(I2C_SET(dev)); in i2c_atciic100_irq_handler()
730 if ((reg_stat & STATUS_ARB_LOSE) && (reg_set & SETUP_CONTROLLER)) { in i2c_atciic100_irq_handler()