/Zephyr-latest/drivers/i2c/ |
D | i2c_bitbang.c | 209 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()
|
D | i2c_common.c | 69 msg->flags & I2C_MSG_RESTART ? "Sr" : "", in i2c_dump_msgs_rw() 73 msg->flags & I2C_MSG_RESTART ? "Sr" : "", in i2c_dump_msgs_rw()
|
D | i2c_rtio_default.c | 23 ((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()
|
D | i2c_mcux.c | 137 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()
|
D | i2c_renesas_ra_iic.c | 131 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()
|
D | i2c_rv32m1_lpi2c.c | 119 if (msg_flags & I2C_MSG_RESTART) { in rv32m1_lpi2c_convert_flags() 151 if (i != 0 && !(msgs->flags & I2C_MSG_RESTART)) { in rv32m1_lpi2c_transfer()
|
D | i2c_max32.c | 211 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()
|
D | i2c_nios2.c | 80 if (msgs->flags & I2C_MSG_RESTART) { in i2c_nios2_transfer()
|
D | i2c_nrfx_twi.c | 58 !(msgs[i + 1].flags & I2C_MSG_RESTART)); in i2c_nrfx_twi_transfer()
|
D | i2c_mcux_lpi2c_rtio.c | 128 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()
|
D | i2c_esp32.c | 513 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()
|
D | i2c_dw.c | 242 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()
|
D | i2c_smartbond.c | 245 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()
|
D | i2c_ifx_xmc4.c | 196 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()
|
D | i2c_xilinx_axi.c | 358 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()
|
D | i2c_max32_rtio.c | 124 flags |= I2C_MSG_RESTART; in max32_msg_start() 148 if ((data->flags & I2C_MSG_RESTART)) { in max32_msg_start()
|
D | i2c_ll_stm32.c | 158 current->flags |= I2C_MSG_RESTART; in i2c_stm32_transfer() 170 if (!(next->flags & I2C_MSG_RESTART)) { in i2c_stm32_transfer()
|
D | i2c_mcux_flexcomm.c | 128 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/ |
D | i2c_virtual.c | 109 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/ |
D | test_i2c_ram.c | 107 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/ |
D | i2c.c | 94 .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/ |
D | ps8xxx.c | 255 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/ |
D | crypto_ataes132a_priv.h | 175 msg[1].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in burst_read_i2c()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | i2c.h | 163 #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/ |
D | main.c | 157 msgs[1].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in sample_standard_write_read()
|