Home
last modified time | relevance | path

Searched refs:I2C_MSG_RESTART (Results 1 – 25 of 42) sorted by relevance

12

/Zephyr-latest/drivers/i2c/
Di2c_bitbang.c209 flags = I2C_MSG_RESTART; in i2c_bitbang_transfer()
222 flags &= I2C_MSG_RESTART; in i2c_bitbang_transfer()
225 if (flags & I2C_MSG_RESTART) { in i2c_bitbang_transfer()
227 } else if (msgs->flags & I2C_MSG_RESTART) { in i2c_bitbang_transfer()
235 if (flags & I2C_MSG_RESTART) { in i2c_bitbang_transfer()
242 flags &= ~I2C_MSG_RESTART; in i2c_bitbang_transfer()
Di2c_common.c69 msg->flags & I2C_MSG_RESTART ? "Sr" : "", in i2c_dump_msgs_rw()
73 msg->flags & I2C_MSG_RESTART ? "Sr" : "", in i2c_dump_msgs_rw()
Di2c_rtio_default.c23 ((iodev_sqe->sqe.iodev_flags & RTIO_IODEV_I2C_RESTART) ? I2C_MSG_RESTART : 0) | in i2c_msg_from_rx()
36 ((iodev_sqe->sqe.iodev_flags & RTIO_IODEV_I2C_RESTART) ? I2C_MSG_RESTART : 0) | in i2c_msg_from_tx()
49 ((iodev_sqe->sqe.iodev_flags & RTIO_IODEV_I2C_RESTART) ? I2C_MSG_RESTART : 0) | in i2c_msg_from_tiny_tx()
Di2c_mcux.c137 if (msg_flags & I2C_MSG_RESTART) { in i2c_mcux_convert_flags()
175 if (i != 0 && !(msgs->flags & I2C_MSG_RESTART)) { in i2c_mcux_transfer()
260 if (data->msg != 0 && !(msg->flags & I2C_MSG_RESTART)) { in i2c_mcux_async_iter()
Di2c_renesas_ra_iic.c131 current->flags |= I2C_MSG_RESTART; in i2c_ra_iic_transfer()
142 if (!(next->flags & I2C_MSG_RESTART)) { in i2c_ra_iic_transfer()
200 next != NULL && (next->flags & I2C_MSG_RESTART)); in i2c_ra_iic_transfer()
204 next != NULL && (next->flags & I2C_MSG_RESTART)); in i2c_ra_iic_transfer()
Di2c_rv32m1_lpi2c.c119 if (msg_flags & I2C_MSG_RESTART) { in rv32m1_lpi2c_convert_flags()
151 if (i != 0 && !(msgs->flags & I2C_MSG_RESTART)) { in rv32m1_lpi2c_transfer()
Di2c_max32.c211 if (data->flags & (I2C_MSG_RESTART | I2C_MSG_READ)) { in i2c_max32_transfer_sync()
450 msgs[0].flags |= I2C_MSG_RESTART; in i2c_max32_transfer()
473 msgs[i].flags |= I2C_MSG_RESTART; in i2c_max32_transfer()
485 if ((data->flags & I2C_MSG_RESTART)) { in i2c_max32_transfer()
541 msgs[0].flags |= I2C_MSG_RESTART; in i2c_max32_transfer()
564 msgs[i].flags |= I2C_MSG_RESTART; in i2c_max32_transfer()
575 if (data->flags & I2C_MSG_RESTART) { in i2c_max32_transfer()
Di2c_nios2.c80 if (msgs->flags & I2C_MSG_RESTART) { in i2c_nios2_transfer()
Di2c_nrfx_twi.c58 !(msgs[i + 1].flags & I2C_MSG_RESTART)); in i2c_nrfx_twi_transfer()
Di2c_mcux_lpi2c_rtio.c128 if (msg_flags & I2C_MSG_RESTART) { in mcux_lpi2c_convert_flags()
154 if (ctx->txn_curr != ctx->txn_head && !(flags & I2C_MSG_RESTART)) { in mcux_lpi2c_msg_start()
Di2c_esp32.c513 if (msg->flags & I2C_MSG_RESTART) { in i2c_esp32_read_msg()
586 if (msg->flags & I2C_MSG_RESTART) { in i2c_esp32_write_msg()
636 current->flags |= I2C_MSG_RESTART; in i2c_esp32_transfer()
644 if (!(next->flags & I2C_MSG_RESTART)) { in i2c_esp32_transfer()
Di2c_dw.c242 if (dw->xfr_flags & I2C_MSG_RESTART) { in i2c_dw_data_ask()
244 dw->xfr_flags &= ~(I2C_MSG_RESTART); in i2c_dw_data_ask()
315 if (dw->xfr_flags & I2C_MSG_RESTART) { in i2c_dw_data_send()
317 dw->xfr_flags &= ~(I2C_MSG_RESTART); in i2c_dw_data_send()
684 dw->xfr_flags |= I2C_MSG_RESTART; in i2c_dw_transfer()
Di2c_smartbond.c245 next->flags |= I2C_MSG_RESTART; in i2c_smartbond_set_msg_flags()
296 ((data->transmit_cnt == 0) && (data->msgs->flags & I2C_MSG_RESTART) in i2c_smartbond_tx()
465 ((data->transmit_cnt == 0) && (data->msgs->flags & I2C_MSG_RESTART) in isr_tx()
Di2c_ifx_xmc4.c196 if ((msg_index == 0) || (msg[msg_index].flags & I2C_MSG_RESTART)) { in ifx_xmc4_i2c_transfer()
201 if (msg[msg_index].flags & I2C_MSG_RESTART) { in ifx_xmc4_i2c_transfer()
Di2c_xilinx_axi.c358 if (msg->flags & I2C_MSG_RESTART) { in i2c_xilinx_axi_read_nondyn()
404 if (msg->flags & I2C_MSG_RESTART) { in i2c_xilinx_axi_read_dyn()
488 if (msg->flags & I2C_MSG_RESTART) { in i2c_xilinx_axi_write()
Di2c_max32_rtio.c124 flags |= I2C_MSG_RESTART; in max32_msg_start()
148 if ((data->flags & I2C_MSG_RESTART)) { in max32_msg_start()
Di2c_ll_stm32.c158 current->flags |= I2C_MSG_RESTART; in i2c_stm32_transfer()
170 if (!(next->flags & I2C_MSG_RESTART)) { in i2c_stm32_transfer()
Di2c_mcux_flexcomm.c128 if (msg_flags & I2C_MSG_RESTART) { in mcux_flexcomm_convert_flags()
161 if (i != 0 && !(msgs->flags & I2C_MSG_RESTART)) { in mcux_flexcomm_transfer()
/Zephyr-latest/tests/drivers/i2c/i2c_target_api/common/
Di2c_virtual.c109 if (!(msg->flags & I2C_MSG_RESTART) && msg->flags & I2C_MSG_STOP) { in i2c_virtual_msg_write()
140 if (!(msg->flags & I2C_MSG_RESTART) && msg->flags & I2C_MSG_STOP) { in i2c_virtual_msg_read()
164 current->flags |= I2C_MSG_RESTART; in i2c_virtual_transfer()
174 if (!(next->flags & I2C_MSG_RESTART)) { in i2c_virtual_transfer()
/Zephyr-latest/tests/drivers/i2c/i2c_ram/src/
Dtest_i2c_ram.c107 msgs[1].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in ZTEST()
161 msgs[1].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in ZTEST()
201 msgs[1].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in ZTEST()
258 msgs[1].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in ram_rtio_isr()
/Zephyr-latest/tests/boards/frdm_k64f/i2c/src/
Di2c.c94 .flags = I2C_MSG_READ | I2C_MSG_RESTART | I2C_MSG_STOP } };
194 .flags = I2C_MSG_READ | I2C_MSG_RESTART | I2C_MSG_STOP } }; in test_i2c_fxos8700_transfer_signal()
/Zephyr-latest/drivers/usb_c/tcpc/
Dps8xxx.c255 buf[1].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in ps8xxx_tcpc_get_rx_pending_msg()
264 buf[1].flags = I2C_MSG_RESTART | I2C_MSG_READ; in ps8xxx_tcpc_get_rx_pending_msg()
268 buf[2].flags = I2C_MSG_RESTART | I2C_MSG_READ; in ps8xxx_tcpc_get_rx_pending_msg()
273 buf[3].flags = I2C_MSG_RESTART | I2C_MSG_READ; in ps8xxx_tcpc_get_rx_pending_msg()
278 buf[4].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in ps8xxx_tcpc_get_rx_pending_msg()
/Zephyr-latest/drivers/crypto/
Dcrypto_ataes132a_priv.h175 msg[1].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in burst_read_i2c()
/Zephyr-latest/include/zephyr/drivers/
Di2c.h163 #define I2C_MSG_RESTART BIT(2) macro
931 msgs[1].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in i2c_write_read_cb()
1378 msg[1].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in i2c_write_read()
/Zephyr-latest/samples/drivers/i2c/rtio_loopback/src/
Dmain.c157 msgs[1].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in sample_standard_write_read()

12