Searched refs:msg_index (Results 1 – 3 of 3) sorted by relevance
193 for (uint32_t msg_index = 0u; msg_index < num_msgs; msg_index++) { in ifx_xmc4_i2c_transfer() local196 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()
232 int msg_index; member
86 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()