Lines Matching refs:rx_pos
109 uint8_t rx_pos = 0; in frag_transport_package_callback() local
115 while (rx_pos < len) { in frag_transport_package_callback()
116 uint8_t command_id = rx_buf[rx_pos++]; in frag_transport_package_callback()
130 uint8_t frag_status = rx_buf[rx_pos++] & 0x07; in frag_transport_package_callback()
163 uint8_t frag_session = rx_buf[rx_pos++] & 0x3F; in frag_transport_package_callback()
171 ctx.nb_frag = sys_get_le16(rx_buf + rx_pos); in frag_transport_package_callback()
172 rx_pos += sizeof(uint16_t); in frag_transport_package_callback()
174 ctx.frag_size = rx_buf[rx_pos++]; in frag_transport_package_callback()
175 ctx.control = rx_buf[rx_pos++]; in frag_transport_package_callback()
176 ctx.padding = rx_buf[rx_pos++]; in frag_transport_package_callback()
178 ctx.descriptor = sys_get_le32(rx_buf + rx_pos); in frag_transport_package_callback()
179 rx_pos += sizeof(uint32_t); in frag_transport_package_callback()
238 uint8_t index = rx_buf[rx_pos++] & 0x03; in frag_transport_package_callback()
256 uint16_t frag_index_n = sys_get_le16(rx_buf + rx_pos); in frag_transport_package_callback()
258 rx_pos += 2; in frag_transport_package_callback()
277 frag_counter, (uint8_t *)&rx_buf[rx_pos]); in frag_transport_package_callback()
280 &ctx.decoder, frag_counter, &rx_buf[rx_pos], ctx.frag_size); in frag_transport_package_callback()
303 rx_pos += ctx.frag_size; in frag_transport_package_callback()