Home
last modified time | relevance | path

Searched refs:I2C_MSG_WRITE (Results 1 – 25 of 44) sorted by relevance

12

/Zephyr-latest/tests/drivers/i2c/i2c_ram/src/
Dtest_i2c_ram.c96 msgs[0].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in ZTEST()
104 msgs[0].flags = I2C_MSG_WRITE; in ZTEST()
147 msgs[0].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in ZTEST()
158 msgs[0].flags = I2C_MSG_WRITE; in ZTEST()
198 msgs[0].flags = I2C_MSG_WRITE; in ZTEST()
255 msgs[0].flags = I2C_MSG_WRITE; in ram_rtio_isr()
/Zephyr-latest/drivers/crypto/
Dcrypto_ataes132a_priv.h150 msg[0].flags = I2C_MSG_WRITE; in burst_write_i2c()
154 msg[1].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in burst_write_i2c()
171 msg[0].flags = I2C_MSG_WRITE; in burst_read_i2c()
/Zephyr-latest/drivers/i2c/
Di2c_rtio_default.c38 I2C_MSG_WRITE; in i2c_msg_from_tx()
51 I2C_MSG_WRITE; in i2c_msg_from_tiny_tx()
Di2c_nrfx_twi_rtio.c74 return i2c_nrfx_twi_rtio_msg_start(dev, I2C_MSG_WRITE | sqe->iodev_flags, in i2c_nrfx_twi_rtio_start()
78 return i2c_nrfx_twi_rtio_msg_start(dev, I2C_MSG_WRITE | sqe->iodev_flags, in i2c_nrfx_twi_rtio_start()
Di2c_nrfx_twim_rtio.c55 return i2c_nrfx_twim_rtio_msg_start(dev, I2C_MSG_WRITE | sqe->iodev_flags, in i2c_nrfx_twim_rtio_start()
76 return i2c_nrfx_twim_rtio_msg_start(dev, I2C_MSG_WRITE | sqe->iodev_flags, in i2c_nrfx_twim_rtio_start()
Di2c_mcux_lpi2c_rtio.c197 return mcux_lpi2c_msg_start(dev, I2C_MSG_WRITE | sqe->iodev_flags, in mcux_lpi2c_start()
201 return mcux_lpi2c_msg_start(dev, I2C_MSG_WRITE | sqe->iodev_flags, in mcux_lpi2c_start()
Di2c_max32_rtio.c285 return max32_msg_start(dev, I2C_MSG_WRITE | sqe->iodev_flags, in max32_start()
289 return max32_msg_start(dev, I2C_MSG_WRITE | sqe->iodev_flags, in max32_start()
Di2c_andes_atciic100.c160 if ((msgs[0].flags == I2C_MSG_WRITE) in i2c_atciic100_transfer()
161 && (msgs[1].flags == (I2C_MSG_WRITE | I2C_MSG_STOP))) { in i2c_atciic100_transfer()
181 if ((msgs[i].flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in i2c_atciic100_transfer()
Di2c_ifx_cat1.c299 if ((msg[i].flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in ifx_cat1_i2c_transfer()
354 if ((msg[i].flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in ifx_cat1_i2c_transfer()
Di2c_sedi.c79 if ((msgs[i].flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in i2c_sedi_api_full_io()
/Zephyr-latest/tests/boards/frdm_k64f/i2c/src/
Di2c.c91 static struct i2c_msg msgs[2] = { { .buf = &reg, .len = 1, .flags = I2C_MSG_WRITE },
191 struct i2c_msg umsgs[2] = { { .buf = &ureg, .len = 1, .flags = I2C_MSG_WRITE }, in test_i2c_fxos8700_transfer_signal()
/Zephyr-latest/tests/subsys/rtio/rtio_i2c/src/
Dmain.cpp49 .flags = I2C_MSG_WRITE | I2C_MSG_STOP, in ZTEST()
102 zassert_equal(I2C_MSG_WRITE | I2C_MSG_STOP, msgs[0].flags); in ZTEST()
232 .flags = I2C_MSG_WRITE | I2C_MSG_STOP, in ZTEST()
/Zephyr-latest/include/zephyr/drivers/
Di2c.h144 #define I2C_MSG_WRITE (0U << 0U) macro
927 msgs[0].flags = I2C_MSG_WRITE; in i2c_write_read_cb()
1279 msg.flags = I2C_MSG_WRITE | I2C_MSG_STOP; in i2c_write()
1374 msg[0].flags = I2C_MSG_WRITE; in i2c_write_read()
1492 msg[0].flags = I2C_MSG_WRITE; in i2c_burst_write()
1496 msg[1].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in i2c_burst_write()
/Zephyr-latest/drivers/eeprom/
Deeprom_mb85rcxx.c145 msgs[0].flags = I2C_MSG_WRITE; in mb85rcxx_i2c_write()
149 msgs[1].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in mb85rcxx_i2c_write()
/Zephyr-latest/tests/drivers/i2c/i2c_target_api/src/
Dmain.c141 msg[0].flags = I2C_MSG_WRITE; in run_program_read()
144 msg[1].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in run_program_read()
/Zephyr-latest/drivers/video/
Dov7725.c324 msgs[0].flags = I2C_MSG_WRITE; in ov7725_write_reg()
328 msgs[1].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in ov7725_write_reg()
344 msgs[0].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in ov7725_read_reg()
Dmt9m114.c209 msg[0].flags = I2C_MSG_WRITE; in i2c_burst_write16_dt()
213 msg[1].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in i2c_burst_write16_dt()
/Zephyr-latest/tests/drivers/sensor/ina237/src/
Dina237_emul.c108 if ((msgs[1].flags & I2C_MSG_READ) == I2C_MSG_WRITE) { in ina237_emul_transfer_i2c()
/Zephyr-latest/drivers/w1/
Dw1_ds2477_85_common.c196 {.buf = buf, .len = (CMD_WR_BLOCK_LEN + CMD_OVERHEAD_LEN), .flags = I2C_MSG_WRITE}, in ds2477_85_write_block()
197 {.buf = (uint8_t *)buffer, .len = tx_len, .flags = (I2C_MSG_WRITE | I2C_MSG_STOP)}, in ds2477_85_write_block()
/Zephyr-latest/drivers/usb_c/tcpc/
Dps8xxx.c251 buf[0].flags = I2C_MSG_WRITE; in ps8xxx_tcpc_get_rx_pending_msg()
361 buf[0].flags = I2C_MSG_WRITE; in ps8xxx_tcpc_transmit_data()
365 buf[1].flags = I2C_MSG_WRITE; in ps8xxx_tcpc_transmit_data()
369 buf[2].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in ps8xxx_tcpc_transmit_data()
/Zephyr-latest/drivers/sensor/maxim/max44009/
Dmax44009.c27 .flags = I2C_MSG_WRITE, in max44009_reg_read()
/Zephyr-latest/tests/drivers/sensor/ina230/src/
Dina230_emul.c119 if ((msgs[1].flags & I2C_MSG_READ) == I2C_MSG_WRITE) { in ina230_emul_transfer_i2c()
/Zephyr-latest/tests/drivers/i2c/i2c_emul/src/
Dtest_forwarding_buf.cpp105 .flags = I2C_MSG_WRITE, in ZTEST()
/Zephyr-latest/tests/drivers/i2c/i2c_target_api/common/
Di2c_virtual.c187 if ((current->flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in i2c_virtual_transfer()
/Zephyr-latest/samples/drivers/i2c/rtio_loopback/src/
Dmain.c153 msgs[0].flags = I2C_MSG_WRITE; in sample_standard_write_read()

12