Home
last modified time | relevance | path

Searched refs:i2c_write_read_dt (Results 1 – 25 of 43) sorted by relevance

12

/Zephyr-latest/drivers/sensor/ams/ccs811/
Dccs811.c92 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/
Ddps310.c488 int res = i2c_write_read_dt(&config->i2c, &REG_ADDR_PSR_B2, 1, in dps310_measure_tmp_psr()
525 int res = i2c_write_read_dt(&config->i2c, &REG_ADDR_PSR_B2, 1, in dps310_measure_psr()
555 int res = i2c_write_read_dt(&config->i2c, &REG_ADDR_TMP_B2, 1, in dps310_measure_tmp()
607 res = i2c_write_read_dt(&config->i2c, &REG_ADDR_CALIB_COEFF_0, 1, &raw_coef, 18); in dps310_init()
622 res = i2c_write_read_dt(&config->i2c, &REG_ADDR_COEF_SRCE, 1, &tmp_coef_srce, in dps310_init()
/Zephyr-latest/drivers/mfd/
Dmfd_ad559x_i2c.c44 ret = i2c_write_read_dt(&config->i2c, &reg, sizeof(reg), buf, sizeof(buf)); in mfd_ad559x_i2c_read_reg()
/Zephyr-latest/drivers/sensor/ams/ams_as5600/
Dams_as5600.c41 int err = i2c_write_read_dt(&dev_cfg->i2c_port, in as5600_fetch()
/Zephyr-latest/drivers/sensor/nct75/
Dnct75.c55 result = i2c_write_read_dt(&config->i2c, &write_buffer, sizeof(write_buffer), &read_buffer, in nct75_sample_fetch()
/Zephyr-latest/drivers/sensor/maxim/max31790/
Dmax31790_fan_speed.c36 result = i2c_write_read_dt(&config->i2c, &register_address, sizeof(register_address), in max31790_fan_speed_sample_fetch()
/Zephyr-latest/drivers/sensor/aosong/ags10/
Dags10.c30 int ret = i2c_write_read_dt(&conf->bus, &cmd, sizeof(cmd), &recv_buf, rx_bytes); in ags10_read()
/Zephyr-latest/drivers/sensor/microchip/tcn75a/
Dtcn75a.c37 ret = i2c_write_read_dt(&config->i2c_spec, &temp_reg, sizeof(temp_reg), in tcn75a_sample_fetch()
Dtcn75a_trigger.c102 ret = i2c_write_read_dt(&config->i2c_spec, &config_reg, 1, rx_buf, 2); in tcn75a_attr_get()
/Zephyr-latest/drivers/sensor/jedec/jc42/
Djc42.c27 int rc = i2c_write_read_dt(&cfg->i2c, &reg, sizeof(reg), val, sizeof(*val)); in jc42_reg_read()
/Zephyr-latest/drivers/dac/
Ddac_dacx0501.c70 status = i2c_write_read_dt(&config->i2c_spec, &addr, sizeof(addr), raw_data, in dacx0501_reg_read()
/Zephyr-latest/drivers/fuel_gauge/max17048/
Dmax17048.c53 int rc = i2c_write_read_dt(&cfg->i2c, &registerId, sizeof(registerId), max17048_buffer, in max17048_read_register()
/Zephyr-latest/drivers/sensor/sensirion/sht3xd/
Dsht3xd.c105 if (i2c_write_read_dt(&config->bus, tx_buf, sizeof(tx_buf), in sht3xd_sample_fetch()
/Zephyr-latest/drivers/sensor/st/vl53l1x/
Dvl53l1_platform.c54 status_int = i2c_write_read_dt(pdev->i2c, (uint8_t *)(&reg), 2, pdata, count); in VL53L1_ReadMulti()
/Zephyr-latest/drivers/gpio/
Dgpio_npm6001.c56 ret = i2c_write_read_dt(&config->bus, &reg, sizeof(reg), &val, in gpio_npm6001_port_get_raw()
Dgpio_adp5585.c200 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()
Dgpio_sx1509b.c199 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/
Dpwm_pca9685.c109 ret = i2c_write_read_dt(&config->i2c, &addr, sizeof(addr), value, in get_reg()
/Zephyr-latest/drivers/sensor/ti/ina219/
Dina219.c29 rc = i2c_write_read_dt(&cfg->bus, in ina219_reg_read()
/Zephyr-latest/drivers/sensor/vishay/vcnl4040/
Dvcnl4040.c25 ret = i2c_write_read_dt(&config->i2c, in vcnl4040_read()
/Zephyr-latest/drivers/sensor/aosong/dht20/
Ddht20.c103 rc = i2c_write_read_dt(&cfg->bus, tx_buf, sizeof(tx_buf), rx_buf, sizeof(rx_buf)); in reset_register()
/Zephyr-latest/drivers/counter/
Dmaxim_ds3231.c206 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/
Dina3221.c29 rc = i2c_write_read_dt(&cfg->bus, &reg_addr, sizeof(reg_addr), rx_buf, sizeof(rx_buf)); in reg_read()
/Zephyr-latest/drivers/sensor/ams/tsl2561/
Dtsl2561.c107 ret = i2c_write_read_dt(&config->i2c, &cmd, 1U, buf, size); in tsl2561_reg_read()
/Zephyr-latest/drivers/sensor/apds9306/
Dapds9306.c126 if (i2c_write_read_dt(&config->i2c, &reg, sizeof(reg), &buffer, sizeof(buffer)) < 0) { in apds9306_worker()

12