Lines Matching refs:i2c_bus
73 struct i2c_dt_spec i2c_bus; member
113 err = i2c_write_dt(&config->i2c_bus, buf, 2); in rv8263c8_update_disable_timer()
119 return i2c_write_dt(&config->i2c_bus, buf, 2); in rv8263c8_update_disable_timer()
147 err = i2c_write_dt(&config->i2c_bus, buf, 2); in rv8263c8_update_enable_timer()
155 return i2c_write_dt(&config->i2c_bus, buf, 2); in rv8263c8_update_enable_timer()
166 (void)i2c_reg_read_byte_dt(&config->i2c_bus, RV8263C8_REGISTER_CONTROL_2, ®); in rv8263c8_interrupt_worker()
198 i2c_reg_write_byte_dt(&config->i2c_bus, RV8263C8_REGISTER_CONTROL_2, reg); in rv8263c8_interrupt_worker()
226 return i2c_write_dt(&config->i2c_bus, regs, sizeof(regs)); in rv8263c8_time_set()
239 err = i2c_burst_read_dt(&config->i2c_bus, RV8263C8_REGISTER_SECONDS, regs, sizeof(regs)); in rv8263c8_time_get()
288 if (!i2c_is_ready_dt(&config->i2c_bus)) { in rv8263c8_init()
301 err = i2c_reg_write_byte_dt(&config->i2c_bus, RV8263C8_REGISTER_CONTROL_1, in rv8263c8_init()
311 err = i2c_reg_write_byte_dt(&config->i2c_bus, RV8263C8_REGISTER_CONTROL_2, in rv8263c8_init()
325 err = i2c_write_dt(&config->i2c_bus, buf, 2); in rv8263c8_init()
408 err = i2c_reg_update_byte_dt(&config->i2c_bus, RV8263C8_REGISTER_CONTROL_2, in rv8263c8_alarm_set_time()
413 err = i2c_reg_update_byte_dt(&config->i2c_bus, RV8263C8_REGISTER_CONTROL_2, in rv8263c8_alarm_set_time()
454 err = i2c_write_dt(&config->i2c_bus, regs, sizeof(regs)); in rv8263c8_alarm_set_time()
462 err = i2c_reg_update_byte_dt(&config->i2c_bus, RV8263C8_REGISTER_CONTROL_2, in rv8263c8_alarm_set_time()
485 err = i2c_burst_read_dt(&config->i2c_bus, RV8263C8_REGISTER_SECONDS_ALARM, value, in rv8263c8_alarm_get_time()
556 err = i2c_reg_read_byte_dt(&config->i2c_bus, RV8263C8_REGISTER_CONTROL_2, ®); in rv8263c8_alarm_is_pending()
563 err = i2c_reg_write_byte_dt(&config->i2c_bus, RV8263C8_REGISTER_CONTROL_2, reg); in rv8263c8_alarm_is_pending()
642 return i2c_reg_write_byte_dt(&config->i2c_bus, RV8263C8_REGISTER_OFFSET, offset); in rv8263c8_calibration_set()
656 err = i2c_reg_read_byte_dt(&config->i2c_bus, RV8263C8_REGISTER_OFFSET, &offset); in rv8263c8_calibration_get()
705 .i2c_bus = I2C_DT_SPEC_INST_GET(inst), \