Searched refs:msg_buf_used (Results 1 – 1 of 1) sorted by relevance
44 uint16_t msg_buf_used = 0; in i2c_nrfx_twim_transfer() local81 if (concat_next || (msg_buf_used != 0) || !dma_accessible) { in i2c_nrfx_twim_transfer()82 if ((msg_buf_used + msgs[i].len) > msg_buf_size) { in i2c_nrfx_twim_transfer()90 msg_buf_used, msgs[i].len, in i2c_nrfx_twim_transfer()96 memcpy(msg_buf + msg_buf_used, in i2c_nrfx_twim_transfer()100 msg_buf_used += msgs[i].len; in i2c_nrfx_twim_transfer()107 if (msg_buf_used == 0) { in i2c_nrfx_twim_transfer()112 buf_len = msg_buf_used; in i2c_nrfx_twim_transfer()154 while (msg_buf_used >= msgs[j].len) { in i2c_nrfx_twim_transfer()155 msg_buf_used -= msgs[j].len; in i2c_nrfx_twim_transfer()[all …]