/Zephyr-latest/tests/drivers/i2c/i2c_ram/src/ |
D | test_i2c_ram.c | 96 msgs[0].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in ZTEST() 107 msgs[1].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in ZTEST() 147 msgs[0].flags = I2C_MSG_WRITE | 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/drivers/i2c/ |
D | i2c_common.c | 70 msg->flags & I2C_MSG_STOP ? "P" : "", msg->buf[0]); in i2c_dump_msgs_rw() 74 msg->flags & I2C_MSG_STOP ? "P" : "", msg->len); in i2c_dump_msgs_rw()
|
D | i2c_rtio_default.c | 22 ((iodev_sqe->sqe.iodev_flags & RTIO_IODEV_I2C_STOP) ? I2C_MSG_STOP : 0) | in i2c_msg_from_rx() 35 ((iodev_sqe->sqe.iodev_flags & RTIO_IODEV_I2C_STOP) ? I2C_MSG_STOP : 0) | in i2c_msg_from_tx() 48 ((iodev_sqe->sqe.iodev_flags & RTIO_IODEV_I2C_STOP) ? I2C_MSG_STOP : 0) | in i2c_msg_from_tiny_tx()
|
D | i2c_bitbang.c | 213 flags |= I2C_MSG_STOP; in i2c_bitbang_transfer() 217 if (flags & I2C_MSG_STOP) { in i2c_bitbang_transfer()
|
D | i2c_sedi.c | 82 msgs[i].len, (msgs[i].flags & I2C_MSG_STOP) == 0x0); in i2c_sedi_api_full_io() 86 msgs[i].len, (msgs[i].flags & I2C_MSG_STOP) == 0x0); in i2c_sedi_api_full_io()
|
D | i2c_sifive.c | 137 if (msg->flags & I2C_MSG_STOP) { in i2c_sifive_write_msg() 180 if (msg->flags & I2C_MSG_STOP) { in i2c_sifive_read_msg()
|
D | i2c_ll_stm32_v1.c | 327 if (data->current.flags & I2C_MSG_STOP) { in handle_txe() 351 if (data->current.flags & I2C_MSG_STOP) { in handle_rxne() 388 if (data->current.flags & I2C_MSG_STOP) { in handle_rxne() 412 if (data->current.flags & I2C_MSG_STOP) { in handle_btf() 819 if (msg->flags & I2C_MSG_STOP) { in stm32_i2c_msg_write() 936 if (msg->flags & I2C_MSG_STOP) { in stm32_i2c_msg_read() 956 if (msg->flags & I2C_MSG_STOP) { in stm32_i2c_msg_read()
|
D | i2c_ite_it8xxx2.c | 37 #define I2C_MSG_BURST_READ_MASK (I2C_MSG_RESTART | I2C_MSG_STOP | I2C_MSG_READ) 331 if ((data->active_msg->flags & I2C_MSG_STOP) && in i2c_r_last_byte() 717 if (data->num_msgs == 1 && (msgs[0].flags & I2C_MSG_STOP) && in fifo_mode_allowed() 778 (data->active_msg->flags & I2C_MSG_STOP)) { in i2c_tran_read() 811 if (data->active_msg->flags & I2C_MSG_STOP) { in i2c_tran_read() 880 if (data->active_msg->flags & I2C_MSG_STOP) { in i2c_tran_write() 1063 if (data->err || (data->active_msg->flags & I2C_MSG_STOP)) { in i2c_it8xxx2_transfer()
|
D | i2c_max32.c | 263 if (data->flags & I2C_MSG_STOP) { in i2c_max32_transfer_sync() 380 data->req.restart = !(msgs[i].flags & I2C_MSG_STOP); in i2c_max32_transfer_dma() 472 if ((msgs[i - 1].flags & (I2C_MSG_STOP | I2C_MSG_READ))) { in i2c_max32_transfer() 504 if (data->flags & I2C_MSG_STOP) { in i2c_max32_transfer() 563 if ((msgs[i - 1].flags & (I2C_MSG_STOP | I2C_MSG_READ))) { in i2c_max32_transfer() 739 if (data->flags & I2C_MSG_STOP) { in i2c_max32_isr_controller() 757 if (data->flags & I2C_MSG_STOP) { in i2c_max32_isr_controller()
|
D | i2c_nrfx_twim_common.c | 94 (flags & I2C_MSG_STOP) ? 0 : NRFX_TWIM_FLAG_TX_NO_STOP); in i2c_nrfx_twim_msg_transfer()
|
D | i2c_b91.c | 97 send_stop = msgs[i].flags & I2C_MSG_STOP ? 1 : 0; in i2c_b91_transfer()
|
D | i2c_npcx_controller.c | 583 if (data->msg->flags & I2C_MSG_STOP) { in i2c_ctrl_handle_write_int_event() 608 (data->msg->flags & I2C_MSG_STOP) != 0); in i2c_ctrl_handle_read_int_event() 626 (data->msg->flags & I2C_MSG_STOP) != 0) { in i2c_ctrl_handle_read_int_event() 650 (data->msg->flags & I2C_MSG_STOP) != 0); in i2c_ctrl_handle_read_int_event() 658 if ((data->msg->flags & I2C_MSG_STOP) != 0) { in i2c_ctrl_handle_read_int_event() 735 (msg->flags & I2C_MSG_STOP) != 0); in i2c_ctrl_proc_read_msg()
|
D | i2c_sam_twi.c | 224 dev_data->msg.flags |= I2C_MSG_STOP; in i2c_sam_twi_transfer() 281 if (msg->flags & I2C_MSG_STOP) { in i2c_sam_twi_isr()
|
D | i2c_xilinx_axi.c | 378 } else if (bytes_left == 1 && (msg->flags & I2C_MSG_STOP)) { in i2c_xilinx_axi_read_nondyn() 415 if (msg->flags & I2C_MSG_STOP) { in i2c_xilinx_axi_read_dyn() 517 if (bytes_left == 1 && (msg->flags & I2C_MSG_STOP)) { in i2c_xilinx_axi_write() 575 if (!ret && (msgs->flags & I2C_MSG_STOP)) { in i2c_xilinx_axi_transfer()
|
/Zephyr-latest/tests/subsys/rtio/rtio_i2c/src/ |
D | main.cpp | 49 .flags = I2C_MSG_WRITE | I2C_MSG_STOP, in ZTEST() 102 zassert_equal(I2C_MSG_WRITE | I2C_MSG_STOP, msgs[0].flags); in ZTEST() 127 .flags = I2C_MSG_READ | I2C_MSG_STOP, in ZTEST() 232 .flags = I2C_MSG_WRITE | I2C_MSG_STOP, in ZTEST() 237 .flags = I2C_MSG_READ | I2C_MSG_STOP, in ZTEST() 242 .flags = I2C_MSG_READ | I2C_MSG_ADDR_10_BITS | I2C_MSG_STOP, in ZTEST()
|
/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() 182 if ((num_msgs == 1U) && !(current->flags & I2C_MSG_STOP)) { in i2c_virtual_transfer()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | i2c.h | 154 #define I2C_MSG_STOP BIT(1) macro 494 return (msg->flags & I2C_MSG_STOP) == I2C_MSG_STOP; in i2c_is_stop_op() 805 msgs[num_msgs - 1].flags |= I2C_MSG_STOP; in z_impl_i2c_transfer() 863 msgs[num_msgs - 1].flags |= I2C_MSG_STOP; in i2c_transfer_cb() 931 msgs[1].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in i2c_write_read_cb() 1279 msg.flags = I2C_MSG_WRITE | I2C_MSG_STOP; in i2c_write() 1324 msg.flags = I2C_MSG_READ | I2C_MSG_STOP; in i2c_read() 1378 msg[1].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in i2c_write_read() 1496 msg[1].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in i2c_burst_write()
|
/Zephyr-latest/drivers/sensor/adi/adltc2990/ |
D | adltc2990_emul.c | 95 bool is_stop = FIELD_GET(I2C_MSG_STOP, msgs->flags) == 1; in adltc2990_emul_transfer_i2c() 101 is_stop = FIELD_GET(I2C_MSG_STOP, msgs->flags) == 1; in adltc2990_emul_transfer_i2c()
|
/Zephyr-latest/drivers/bbram/ |
D | bbram_microchip_mcp7940n_emul.c | 60 bool is_stop = FIELD_GET(I2C_MSG_STOP, msgs->flags) == 1; in mcp7940n_emul_transfer_i2c() 66 is_stop = FIELD_GET(I2C_MSG_STOP, msgs->flags) == 1; in mcp7940n_emul_transfer_i2c()
|
/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/crypto/ |
D | crypto_ataes132a_priv.h | 154 msg[1].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in burst_write_i2c() 175 msg[1].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in burst_read_i2c()
|
/Zephyr-latest/drivers/sensor/asahi_kasei/akm09918c/ |
D | akm09918c_emul.c | 96 bool is_stop = FIELD_GET(I2C_MSG_STOP, msgs->flags) == 1; in akm09918c_emul_transfer_i2c() 102 is_stop = FIELD_GET(I2C_MSG_STOP, msgs->flags) == 1; in akm09918c_emul_transfer_i2c()
|
/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() 278 buf[4].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in ps8xxx_tcpc_get_rx_pending_msg() 281 buf[3].flags |= I2C_MSG_STOP; in ps8xxx_tcpc_get_rx_pending_msg() 284 buf[2].flags |= I2C_MSG_STOP; in ps8xxx_tcpc_get_rx_pending_msg() 369 buf[2].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in ps8xxx_tcpc_transmit_data() 374 buf[1].flags |= I2C_MSG_STOP; in ps8xxx_tcpc_transmit_data()
|
/Zephyr-latest/drivers/w1/ |
D | w1_ds2485.c | 46 .flags = (I2C_MSG_READ | I2C_MSG_STOP), in ds2485_w1_script_cmd()
|
/Zephyr-latest/drivers/sensor/ams/ams_iAQcore/ |
D | iAQcore.c | 35 msg.flags = I2C_MSG_READ | I2C_MSG_STOP; in iaqcore_sample_fetch()
|