Home
last modified time | relevance | path

Searched refs:I2C_MSG_STOP (Results 1 – 25 of 70) sorted by relevance

123

/Zephyr-latest/tests/drivers/i2c/i2c_ram/src/
Dtest_i2c_ram.c96 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/
Di2c_common.c70 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()
Di2c_rtio_default.c22 ((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()
Di2c_bitbang.c213 flags |= I2C_MSG_STOP; in i2c_bitbang_transfer()
217 if (flags & I2C_MSG_STOP) { in i2c_bitbang_transfer()
Di2c_sedi.c82 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()
Di2c_sifive.c137 if (msg->flags & I2C_MSG_STOP) { in i2c_sifive_write_msg()
180 if (msg->flags & I2C_MSG_STOP) { in i2c_sifive_read_msg()
Di2c_ll_stm32_v1.c327 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()
Di2c_ite_it8xxx2.c37 #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()
Di2c_max32.c263 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()
Di2c_nrfx_twim_common.c94 (flags & I2C_MSG_STOP) ? 0 : NRFX_TWIM_FLAG_TX_NO_STOP); in i2c_nrfx_twim_msg_transfer()
Di2c_b91.c97 send_stop = msgs[i].flags & I2C_MSG_STOP ? 1 : 0; in i2c_b91_transfer()
Di2c_npcx_controller.c583 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()
Di2c_sam_twi.c224 dev_data->msg.flags |= I2C_MSG_STOP; in i2c_sam_twi_transfer()
281 if (msg->flags & I2C_MSG_STOP) { in i2c_sam_twi_isr()
Di2c_xilinx_axi.c378 } 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/
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()
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/
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()
182 if ((num_msgs == 1U) && !(current->flags & I2C_MSG_STOP)) { in i2c_virtual_transfer()
/Zephyr-latest/include/zephyr/drivers/
Di2c.h154 #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/
Dadltc2990_emul.c95 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/
Dbbram_microchip_mcp7940n_emul.c60 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/
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/crypto/
Dcrypto_ataes132a_priv.h154 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/
Dakm09918c_emul.c96 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/
Dps8xxx.c255 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/
Dw1_ds2485.c46 .flags = (I2C_MSG_READ | I2C_MSG_STOP), in ds2485_w1_script_cmd()
/Zephyr-latest/drivers/sensor/ams/ams_iAQcore/
DiAQcore.c35 msg.flags = I2C_MSG_READ | I2C_MSG_STOP; in iaqcore_sample_fetch()

123