Lines Matching refs:int_i2c

95 	const struct i2c_dt_spec int_i2c;  member
127 err = i2c_reg_update_byte_dt(&config->int_i2c, REG_CONTROL1_ADDR, in am1805_set_time()
146 err = i2c_burst_write_dt(&config->int_i2c, REG_SECONDS_ADDR, regs, sizeof(regs)); in am1805_set_time()
152 err = i2c_reg_update_byte_dt(&config->int_i2c, REG_CONTROL1_ADDR, REG_CONTROL1_STOP, 0); in am1805_set_time()
172 err = i2c_reg_read_byte_dt(&config->int_i2c, REG_CONTROL1_ADDR, &ctl_reg); in am1805_get_time()
183 err = i2c_burst_read_dt(&config->int_i2c, REG_SECONDS_ADDR, regs, sizeof(regs)); in am1805_get_time()
257 err = i2c_reg_write_byte_dt(&config->int_i2c, REG_OSC_STATUS_ADDR, reg); in am1805_set_calibration()
265 err = i2c_reg_write_byte_dt(&config->int_i2c, REG_XT_CALIB_ADDR, reg); in am1805_set_calibration()
288 err = i2c_reg_read_byte_dt(&config->int_i2c, REG_OSC_STATUS_ADDR, &reg); in am1805_get_calibration()
296 err = i2c_reg_read_byte_dt(&config->int_i2c, REG_XT_CALIB_ADDR, &reg); in am1805_get_calibration()
336 err = i2c_burst_read_dt(&config->int_i2c, REG_ALM_SECONDS_ADDR, regs, sizeof(regs)); in am1805_alarm_get_time()
382 err = i2c_reg_update_byte_dt(&config->int_i2c, REG_TIMER_CTRL_ADDR, in am1805_alarm_set_time()
389 err = i2c_reg_update_byte_dt(&config->int_i2c, REG_IRQ_MASK_ADDR, in am1805_alarm_set_time()
396 err = i2c_reg_update_byte_dt(&config->int_i2c, REG_STATUS_ADDR, in am1805_alarm_set_time()
420 err = i2c_burst_write_dt(&config->int_i2c, REG_ALM_SECONDS_ADDR, regs, sizeof(regs)); in am1805_alarm_set_time()
426 err = i2c_reg_update_byte_dt(&config->int_i2c, REG_IRQ_MASK_ADDR, in am1805_alarm_set_time()
433 err = i2c_reg_update_byte_dt(&config->int_i2c, REG_TIMER_CTRL_ADDR, in am1805_alarm_set_time()
520 if (!i2c_is_ready_dt(&config->int_i2c)) { in am1805_init()
525 err = i2c_reg_read_byte_dt(&config->int_i2c, REG_STATUS_ADDR, &reg); in am1805_init()
589 .int_i2c = I2C_DT_SPEC_INST_GET(inst), \