Home
last modified time | relevance | path

Searched refs:i2c_write_read (Results 1 – 12 of 12) sorted by relevance

/Zephyr-latest/tests/drivers/i2c/i2c_target_api/src/
Dmain.c57 ret = i2c_write_read(i2c, addr, start_addr, (addr_width >> 3), i2c_buffer, TEST_DATA_SIZE); in run_full_read()
95 ret = i2c_write_read(i2c, addr, in run_partial_read()
152 ret = i2c_write_read(i2c, addr, in run_program_read()
/Zephyr-latest/drivers/smbus/
Dsmbus_stm32.c184 return i2c_write_read(config->i2c_dev, periph_addr, &command, sizeof(command), byte, in smbus_stm32_byte_data_read()
206 result = i2c_write_read(config->i2c_dev, periph_addr, &command, sizeof(command), word, in smbus_stm32_word_data_read()
223 result = i2c_write_read(config->i2c_dev, periph_addr, buffer, ARRAY_SIZE(buffer), recv_word, in smbus_stm32_pcall()
/Zephyr-latest/drivers/usb_c/tcpc/
Dtcpci.c217 ret = i2c_write_read(i2c->bus, i2c->addr, &reg, sizeof(reg), value, sizeof(*value)); in tcpci_read_reg8()
274 ret = i2c_write_read(i2c->bus, i2c->addr, &reg, sizeof(reg), value, sizeof(*value)); in tcpci_read_reg16()
/Zephyr-latest/tests/boards/nrf/i2c/i2c_slave/src/
Dmain.c118 int ret = i2c_write_read(fixture->dev, fixture->addr, msg, TEST_DATA_SIZE, in ZTEST_USER_F()
/Zephyr-latest/include/zephyr/drivers/
Di2c.h1366 static inline int i2c_write_read(const struct device *dev, uint16_t addr, in i2c_write_read() function
1404 return i2c_write_read(spec->bus, spec->addr, in i2c_write_read_dt()
1433 return i2c_write_read(dev, dev_addr, in i2c_burst_read()
1543 return i2c_write_read(dev, dev_addr, in i2c_reg_read_byte()
/Zephyr-latest/drivers/eeprom/
Deeprom_mb85rcxx.c120 ret = i2c_write_read(cfg->i2c.bus, i2c_addr, addr, DIV_ROUND_UP(cfg->addr_width, 8), in mb85rcxx_read()
Deeprom_at2x.c286 err = i2c_write_read(config->bus.i2c.bus, bus_addr, in eeprom_at24_read()
/Zephyr-latest/drivers/i2c/
Di2c_shell.c219 ret = i2c_write_read(dev, dev_addr, in i2c_read_to_buffer()
/Zephyr-latest/tests/drivers/i2c/i2c_ram/src/
Dtest_i2c_ram.c124 zassert_ok(i2c_write_read(i2c_dev, RAM_ADDR, rx_cmd, ARRAY_SIZE(rx_cmd), in ZTEST()
/Zephyr-latest/drivers/input/
Dinput_gt911.c100 return i2c_write_read(config->bus.bus, data->actual_address, write_buf, num_write, read_buf, in gt911_i2c_write_read()
/Zephyr-latest/drivers/audio/
Dwm8904.c611 ret = i2c_write_read(dev_cfg->i2c.bus, dev_cfg->i2c.addr, &reg, sizeof(reg), &value, in wm8904_read_reg()
/Zephyr-latest/doc/releases/
Drelease-notes-2.5.rst1328 * :github:`30205` - Missing error check of function i2c_write_read() and dac_write_value()