Searched refs:i2c_write_read (Results 1 – 12 of 12) sorted by relevance
/Zephyr-latest/tests/drivers/i2c/i2c_target_api/src/ |
D | main.c | 57 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/ |
D | smbus_stm32.c | 184 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/ |
D | tcpci.c | 217 ret = i2c_write_read(i2c->bus, i2c->addr, ®, sizeof(reg), value, sizeof(*value)); in tcpci_read_reg8() 274 ret = i2c_write_read(i2c->bus, i2c->addr, ®, sizeof(reg), value, sizeof(*value)); in tcpci_read_reg16()
|
/Zephyr-latest/tests/boards/nrf/i2c/i2c_slave/src/ |
D | main.c | 118 int ret = i2c_write_read(fixture->dev, fixture->addr, msg, TEST_DATA_SIZE, in ZTEST_USER_F()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | i2c.h | 1366 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/ |
D | eeprom_mb85rcxx.c | 120 ret = i2c_write_read(cfg->i2c.bus, i2c_addr, addr, DIV_ROUND_UP(cfg->addr_width, 8), in mb85rcxx_read()
|
D | eeprom_at2x.c | 286 err = i2c_write_read(config->bus.i2c.bus, bus_addr, in eeprom_at24_read()
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_shell.c | 219 ret = i2c_write_read(dev, dev_addr, in i2c_read_to_buffer()
|
/Zephyr-latest/tests/drivers/i2c/i2c_ram/src/ |
D | test_i2c_ram.c | 124 zassert_ok(i2c_write_read(i2c_dev, RAM_ADDR, rx_cmd, ARRAY_SIZE(rx_cmd), in ZTEST()
|
/Zephyr-latest/drivers/input/ |
D | input_gt911.c | 100 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/ |
D | wm8904.c | 611 ret = i2c_write_read(dev_cfg->i2c.bus, dev_cfg->i2c.addr, ®, sizeof(reg), &value, in wm8904_read_reg()
|
/Zephyr-latest/doc/releases/ |
D | release-notes-2.5.rst | 1328 * :github:`30205` - Missing error check of function i2c_write_read() and dac_write_value()
|