/Zephyr-latest/drivers/sensor/ams/ccs811/ |
D | ccs811.c | 92 rc = i2c_write_read_dt(&config->i2c, &cmd, sizeof(cmd), &ptr->hw_version, in ccs811_configver_fetch() 96 rc = i2c_write_read_dt(&config->i2c, &cmd, sizeof(cmd), in ccs811_configver_fetch() 104 rc = i2c_write_read_dt(&config->i2c, &cmd, sizeof(cmd), in ccs811_configver_fetch() 130 rc = i2c_write_read_dt(&config->i2c, &cmd, sizeof(cmd), (uint8_t *)&baseline, in ccs811_baseline_fetch() 235 rc = i2c_write_read_dt(&config->i2c, &cmd, sizeof(cmd), (uint8_t *)buf, sizeof(buf)); in ccs811_sample_fetch() 519 if (i2c_write_read_dt(&config->i2c, &cmd, sizeof(cmd), &fw_ver, sizeof(fw_ver)) < 0) { in ccs811_init()
|
/Zephyr-latest/drivers/sensor/infineon/dps310/ |
D | dps310.c | 488 int res = i2c_write_read_dt(&config->i2c, ®_ADDR_PSR_B2, 1, in dps310_measure_tmp_psr() 525 int res = i2c_write_read_dt(&config->i2c, ®_ADDR_PSR_B2, 1, in dps310_measure_psr() 555 int res = i2c_write_read_dt(&config->i2c, ®_ADDR_TMP_B2, 1, in dps310_measure_tmp() 607 res = i2c_write_read_dt(&config->i2c, ®_ADDR_CALIB_COEFF_0, 1, &raw_coef, 18); in dps310_init() 622 res = i2c_write_read_dt(&config->i2c, ®_ADDR_COEF_SRCE, 1, &tmp_coef_srce, in dps310_init()
|
/Zephyr-latest/drivers/mfd/ |
D | mfd_ad559x_i2c.c | 44 ret = i2c_write_read_dt(&config->i2c, ®, sizeof(reg), buf, sizeof(buf)); in mfd_ad559x_i2c_read_reg()
|
/Zephyr-latest/drivers/sensor/ams/ams_as5600/ |
D | ams_as5600.c | 41 int err = i2c_write_read_dt(&dev_cfg->i2c_port, in as5600_fetch()
|
/Zephyr-latest/drivers/sensor/nct75/ |
D | nct75.c | 55 result = i2c_write_read_dt(&config->i2c, &write_buffer, sizeof(write_buffer), &read_buffer, in nct75_sample_fetch()
|
/Zephyr-latest/drivers/sensor/maxim/max31790/ |
D | max31790_fan_speed.c | 36 result = i2c_write_read_dt(&config->i2c, ®ister_address, sizeof(register_address), in max31790_fan_speed_sample_fetch()
|
/Zephyr-latest/drivers/sensor/aosong/ags10/ |
D | ags10.c | 30 int ret = i2c_write_read_dt(&conf->bus, &cmd, sizeof(cmd), &recv_buf, rx_bytes); in ags10_read()
|
/Zephyr-latest/drivers/sensor/microchip/tcn75a/ |
D | tcn75a.c | 37 ret = i2c_write_read_dt(&config->i2c_spec, &temp_reg, sizeof(temp_reg), in tcn75a_sample_fetch()
|
D | tcn75a_trigger.c | 102 ret = i2c_write_read_dt(&config->i2c_spec, &config_reg, 1, rx_buf, 2); in tcn75a_attr_get()
|
/Zephyr-latest/drivers/sensor/jedec/jc42/ |
D | jc42.c | 27 int rc = i2c_write_read_dt(&cfg->i2c, ®, sizeof(reg), val, sizeof(*val)); in jc42_reg_read()
|
/Zephyr-latest/drivers/dac/ |
D | dac_dacx0501.c | 70 status = i2c_write_read_dt(&config->i2c_spec, &addr, sizeof(addr), raw_data, in dacx0501_reg_read()
|
/Zephyr-latest/drivers/fuel_gauge/max17048/ |
D | max17048.c | 53 int rc = i2c_write_read_dt(&cfg->i2c, ®isterId, sizeof(registerId), max17048_buffer, in max17048_read_register()
|
/Zephyr-latest/drivers/sensor/sensirion/sht3xd/ |
D | sht3xd.c | 105 if (i2c_write_read_dt(&config->bus, tx_buf, sizeof(tx_buf), in sht3xd_sample_fetch()
|
/Zephyr-latest/drivers/sensor/st/vl53l1x/ |
D | vl53l1_platform.c | 54 status_int = i2c_write_read_dt(pdev->i2c, (uint8_t *)(®), 2, pdata, count); in VL53L1_ReadMulti()
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_npm6001.c | 56 ret = i2c_write_read_dt(&config->bus, ®, sizeof(reg), &val, in gpio_npm6001_port_get_raw()
|
D | gpio_adp5585.c | 200 ret = i2c_write_read_dt(&parent_cfg->i2c_bus, &gpi_status_reg, 1U, in gpio_adp5585_port_read() 410 ret = i2c_write_read_dt(&parent_cfg->i2c_bus, gpo_data_out_buf, 1U, in gpio_adp5585_init()
|
D | gpio_sx1509b.c | 199 ret = i2c_write_read_dt(&cfg->bus, &cmd, sizeof(cmd), in sx1509b_handle_interrupt() 399 rc = i2c_write_read_dt(&cfg->bus, &cmd, sizeof(cmd), &pin_data, in port_get()
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_pca9685.c | 109 ret = i2c_write_read_dt(&config->i2c, &addr, sizeof(addr), value, in get_reg()
|
/Zephyr-latest/drivers/sensor/ti/ina219/ |
D | ina219.c | 29 rc = i2c_write_read_dt(&cfg->bus, in ina219_reg_read()
|
/Zephyr-latest/drivers/sensor/vishay/vcnl4040/ |
D | vcnl4040.c | 25 ret = i2c_write_read_dt(&config->i2c, in vcnl4040_read()
|
/Zephyr-latest/drivers/sensor/aosong/dht20/ |
D | dht20.c | 103 rc = i2c_write_read_dt(&cfg->bus, tx_buf, sizeof(tx_buf), rx_buf, sizeof(rx_buf)); in reset_register()
|
/Zephyr-latest/drivers/counter/ |
D | maxim_ds3231.c | 206 rc = i2c_write_read_dt(&cfg->bus, &addr, sizeof(addr), &rp->ctrl_stat, in rsc_stat() 455 rc = i2c_write_read_dt(&cfg->bus, &addr, sizeof(addr), &data->registers, in update_registers() 491 rv = i2c_write_read_dt(&cfg->bus, &addr, sizeof(addr), rbp, len); in maxim_ds3231_get_alarm() 750 int rc = i2c_write_read_dt(&cfg->bus, &addr, sizeof(addr), in read_time()
|
/Zephyr-latest/drivers/sensor/ti/ina3221/ |
D | ina3221.c | 29 rc = i2c_write_read_dt(&cfg->bus, ®_addr, sizeof(reg_addr), rx_buf, sizeof(rx_buf)); in reg_read()
|
/Zephyr-latest/drivers/sensor/ams/tsl2561/ |
D | tsl2561.c | 107 ret = i2c_write_read_dt(&config->i2c, &cmd, 1U, buf, size); in tsl2561_reg_read()
|
/Zephyr-latest/drivers/sensor/apds9306/ |
D | apds9306.c | 126 if (i2c_write_read_dt(&config->i2c, ®, sizeof(reg), &buffer, sizeof(buffer)) < 0) { in apds9306_worker()
|