Home
last modified time | relevance | path

Searched refs:msg_index (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_ifx_xmc4.c193 for (uint32_t msg_index = 0u; msg_index < num_msgs; msg_index++) { in ifx_xmc4_i2c_transfer() local
196 if ((msg_index == 0) || (msg[msg_index].flags & I2C_MSG_RESTART)) { in ifx_xmc4_i2c_transfer()
198 cmd_type = ((msg[msg_index].flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) ? in ifx_xmc4_i2c_transfer()
201 if (msg[msg_index].flags & I2C_MSG_RESTART) { in ifx_xmc4_i2c_transfer()
221 for (uint32_t buf_index = 0u; buf_index < msg[msg_index].len; buf_index++) { in ifx_xmc4_i2c_transfer()
225 msg[msg_index].buf[buf_index]); in ifx_xmc4_i2c_transfer()
250 if (buf_index == (msg[msg_index].len - 1)) { in ifx_xmc4_i2c_transfer()
270 msg[msg_index].buf[buf_index] = in ifx_xmc4_i2c_transfer()
276 if (msg[msg_index].flags & I2C_MSG_STOP) { in ifx_xmc4_i2c_transfer()
/Zephyr-Core-3.5.0/drivers/usb_c/tcpc/
Ducpd_stm32_priv.h232 int msg_index; member
Ducpd_stm32.c86 int index = data->ucpd_tx_active_buffer->msg_index++; in ucpd_tx_data_byte()
644 data->ucpd_tx_active_buffer->msg_index = 0; in ucpd_start_transmit()