Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/include/zephyr/drivers/
Di2c.h142 #define I2C_MSG_WRITE (0U << 0U) macro
891 msgs[0].flags = I2C_MSG_WRITE; in i2c_write_read_cb()
1210 msg.flags = I2C_MSG_WRITE | I2C_MSG_STOP; in i2c_write()
1305 msg[0].flags = I2C_MSG_WRITE; in i2c_write_read()
1423 msg[0].flags = I2C_MSG_WRITE; in i2c_burst_write()
1427 msg[1].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in i2c_burst_write()
/Zephyr-Core-3.6.0/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-Core-3.6.0/drivers/video/
Dmt9m114.c131 msg[0].flags = I2C_MSG_WRITE; in i2c_burst_write16_dt()
135 msg[1].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in i2c_burst_write16_dt()
Dov7725.c326 msgs[0].flags = I2C_MSG_WRITE; in ov7725_write_reg()
330 msgs[1].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in ov7725_write_reg()
346 msgs[0].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in ov7725_read_reg()
/Zephyr-Core-3.6.0/tests/drivers/sensor/ina230/src/
Dina230_emul.c114 if ((msgs[1].flags & I2C_MSG_READ) == I2C_MSG_WRITE) { in ina230_emul_transfer_i2c()
/Zephyr-Core-3.6.0/tests/drivers/sensor/ina237/src/
Dina237_emul.c108 if ((msgs[1].flags & I2C_MSG_READ) == I2C_MSG_WRITE) { in ina237_emul_transfer_i2c()
/Zephyr-Core-3.6.0/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-Core-3.6.0/drivers/sensor/max44009/
Dmax44009.c27 .flags = I2C_MSG_WRITE, in max44009_reg_read()
/Zephyr-Core-3.6.0/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-Core-3.6.0/drivers/i2c/
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_sedi.c79 if ((msgs[i].flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in i2c_sedi_api_full_io()
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_cc32xx.c41 #define IS_I2C_MSG_WRITE(flags) ((flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE)
Di2c_shell.c80 msgs[0].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in cmd_i2c_scan()
Di2c_cc13xx_cc26xx.c209 if ((msgs[i].flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in i2c_cc13xx_cc26xx_transfer()
Di2c_ite_enhance.c882 if (((msgs[0].flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) && in cq_mode_allowed()
890 if (((msgs[0].flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) && in cq_mode_allowed()
907 if (((msgs[0].flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) && in cq_mode_allowed()
Di2c_mchp_mss.c197 data->dir = I2C_MSG_WRITE; in mss_i2c_write()
Di2c_dw.c427 == I2C_MSG_WRITE) { in i2c_dw_isr()
694 if ((dw->xfr_flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in i2c_dw_transfer()
Di2c_mchp_xec.c666 if ((msgs[i].flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in i2c_xec_transfer()
Di2c_ll_stm32_v2.c838 if ((msg.flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in stm32_i2c_transaction()
Di2c_mchp_xec_v2.c789 if ((m->flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in i2c_xec_transfer()
Di2c_ll_stm32_v1.c1014 if ((msg.flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in stm32_i2c_transaction()
/Zephyr-Core-3.6.0/drivers/usb/bc12/
Demul_bc12_pi3usb9201.c25 #define IS_I2C_MSG_WRITE(flags) ((flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE)

12