Home
last modified time | relevance | path

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

123

/Zephyr-Core-3.6.0/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.c41 sqe->iodev_flags = ((msgs[i].flags & I2C_MSG_STOP) ? RTIO_IODEV_I2C_STOP : 0) | in i2c_rtio_copy()
Di2c_bitbang.c200 flags |= I2C_MSG_STOP; in i2c_bitbang_transfer()
204 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()
380 if (data->current.flags & I2C_MSG_STOP) { in handle_rxne()
404 if (data->current.flags & I2C_MSG_STOP) { in handle_btf()
811 if (msg->flags & I2C_MSG_STOP) { in stm32_i2c_msg_write()
928 if (msg->flags & I2C_MSG_STOP) { in stm32_i2c_msg_read()
948 if (msg->flags & I2C_MSG_STOP) { in stm32_i2c_msg_read()
Di2c_smartbond.c172 if (current->flags & I2C_MSG_STOP) { in i2c_smartbond_set_msg_flags()
176 current->flags |= I2C_MSG_STOP; in i2c_smartbond_set_msg_flags()
230 (data->msgs->flags & I2C_MSG_STOP) in i2c_smartbond_tx()
403 (data->msgs->flags & I2C_MSG_STOP) in isr_tx()
Di2c_ll_stm32_v2.c53 if (!(msg->flags & I2C_MSG_STOP) && next_msg_flags && in msg_init()
410 if (data->current.msg->flags & I2C_MSG_STOP) { in stm32_i2c_event()
659 if (current_msg_flags & I2C_MSG_STOP) { in msg_done()
824 saved_flags & ~(I2C_MSG_STOP | I2C_MSG_RESTART); in stm32_i2c_transaction()
832 msg.flags &= ~I2C_MSG_STOP; in stm32_i2c_transaction()
Di2c_ite_it8xxx2.c37 #define I2C_MSG_BURST_READ_MASK (I2C_MSG_RESTART | I2C_MSG_STOP | I2C_MSG_READ)
329 if ((data->active_msg->flags & I2C_MSG_STOP) && in i2c_r_last_byte()
715 if (data->num_msgs == 1 && (msgs[0].flags & I2C_MSG_STOP) && in fifo_mode_allowed()
776 (data->active_msg->flags & I2C_MSG_STOP)) { in i2c_tran_read()
809 if (data->active_msg->flags & I2C_MSG_STOP) { in i2c_tran_read()
878 if (data->active_msg->flags & I2C_MSG_STOP) { in i2c_tran_write()
1062 if (data->err || (data->active_msg->flags & I2C_MSG_STOP)) { in i2c_it8xxx2_transfer()
Di2c_b91.c97 send_stop = msgs[i].flags & I2C_MSG_STOP ? 1 : 0; in i2c_b91_transfer()
Di2c_npcx_controller.c582 if (data->msg->flags & I2C_MSG_STOP) { in i2c_ctrl_handle_write_int_event()
607 (data->msg->flags & I2C_MSG_STOP) != 0); in i2c_ctrl_handle_read_int_event()
625 (data->msg->flags & I2C_MSG_STOP) != 0) { in i2c_ctrl_handle_read_int_event()
649 (data->msg->flags & I2C_MSG_STOP) != 0); in i2c_ctrl_handle_read_int_event()
657 if ((data->msg->flags & I2C_MSG_STOP) != 0) { in i2c_ctrl_handle_read_int_event()
734 (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.c385 } else if (bytes_left == 1 && (msg->flags & I2C_MSG_STOP)) { in i2c_xilinx_axi_read_nondyn()
422 if (msg->flags & I2C_MSG_STOP) { in i2c_xilinx_axi_read_dyn()
524 if (bytes_left == 1 && (msg->flags & I2C_MSG_STOP)) { in i2c_xilinx_axi_write()
582 if (!ret && (msgs->flags & I2C_MSG_STOP)) { in i2c_xilinx_axi_transfer()
Di2c_rcar.c251 if ((msgs->flags & I2C_MSG_STOP) == I2C_MSG_STOP) { in i2c_rcar_transfer()
/Zephyr-Core-3.6.0/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-Core-3.6.0/drivers/sensor/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-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/drivers/sensor/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-Core-3.6.0/include/zephyr/drivers/
Di2c.h152 #define I2C_MSG_STOP BIT(1) macro
895 msgs[1].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in i2c_write_read_cb()
1210 msg.flags = I2C_MSG_WRITE | I2C_MSG_STOP; in i2c_write()
1255 msg.flags = I2C_MSG_READ | I2C_MSG_STOP; in i2c_read()
1309 msg[1].flags = I2C_MSG_RESTART | I2C_MSG_READ | I2C_MSG_STOP; in i2c_write_read()
1427 msg[1].flags = I2C_MSG_WRITE | I2C_MSG_STOP; in i2c_burst_write()
/Zephyr-Core-3.6.0/drivers/sensor/ams_iAQcore/
DiAQcore.c35 msg.flags = I2C_MSG_READ | I2C_MSG_STOP; in iaqcore_sample_fetch()
/Zephyr-Core-3.6.0/drivers/w1/
Dw1_ds2485.c46 .flags = (I2C_MSG_READ | I2C_MSG_STOP), in ds2485_w1_script_cmd()
Dw1_ds2477_85_common.c197 {.buf = (uint8_t *)buffer, .len = tx_len, .flags = (I2C_MSG_WRITE | I2C_MSG_STOP)}, in ds2477_85_write_block()
234 {.buf = buffer, .len = rx_len, .flags = (I2C_MSG_READ | I2C_MSG_STOP)} in ds2477_85_read_block()
/Zephyr-Core-3.6.0/drivers/video/
Dov7725.c330 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()
350 msgs[1].flags = I2C_MSG_READ | I2C_MSG_STOP | I2C_MSG_RESTART; in ov7725_read_reg()

123