Searched refs:rx_pos (Results 1 – 4 of 4) sorted by relevance
115 uint8_t rx_pos = 0; in multicast_package_callback() local119 while (rx_pos < len) { in multicast_package_callback()120 uint8_t command_id = rx_buf[rx_pos++]; in multicast_package_callback()138 uint8_t id = rx_buf[rx_pos++] & 0x03; in multicast_package_callback()146 channel.Address = sys_get_le32(rx_buf + rx_pos); in multicast_package_callback()147 rx_pos += sizeof(uint32_t); in multicast_package_callback()150 channel.McKeys.McKeyE = (uint8_t *)rx_buf + rx_pos; in multicast_package_callback()151 rx_pos += 16; in multicast_package_callback()153 channel.FCountMin = sys_get_le32(rx_buf + rx_pos); in multicast_package_callback()154 rx_pos += sizeof(uint32_t); in multicast_package_callback()[all …]
112 uint8_t rx_pos = 0; in frag_transport_package_callback() local118 while (rx_pos < len) { in frag_transport_package_callback()119 uint8_t command_id = rx_buf[rx_pos++]; in frag_transport_package_callback()133 uint8_t frag_status = rx_buf[rx_pos++] & 0x07; in frag_transport_package_callback()166 uint8_t frag_session = rx_buf[rx_pos++] & 0x3F; in frag_transport_package_callback()174 ctx.nb_frag = sys_get_le16(rx_buf + rx_pos); in frag_transport_package_callback()175 rx_pos += sizeof(uint16_t); in frag_transport_package_callback()177 ctx.frag_size = rx_buf[rx_pos++]; in frag_transport_package_callback()178 ctx.control = rx_buf[rx_pos++]; in frag_transport_package_callback()179 ctx.padding = rx_buf[rx_pos++]; in frag_transport_package_callback()[all …]
98 uint8_t rx_pos = 0; in clock_sync_package_callback() local102 while (rx_pos < len) { in clock_sync_package_callback()103 uint8_t command_id = rx_buf[rx_pos++]; in clock_sync_package_callback()123 time_correction = rx_buf[rx_pos++]; in clock_sync_package_callback()124 time_correction += rx_buf[rx_pos++] << 8; in clock_sync_package_callback()125 time_correction += rx_buf[rx_pos++] << 16; in clock_sync_package_callback()126 time_correction += rx_buf[rx_pos++] << 24; in clock_sync_package_callback()128 uint8_t token = rx_buf[rx_pos++] & 0x0F; in clock_sync_package_callback()143 uint8_t period = rx_buf[rx_pos++] & 0x0F; in clock_sync_package_callback()160 uint8_t nb_transmissions = rx_buf[rx_pos++] & 0x07; in clock_sync_package_callback()
256 int i, len, rx_pos, ret, rca, swo; in eth_adin2111_oa_data_read() local282 for (i = 0, rx_pos = 0; i < rca; ++i) { in eth_adin2111_oa_data_read()284 ftr = sys_be32_to_cpu(*(uint32_t *)&ctx->oa_rx_buf[rx_pos + ctx->oa_cps]); in eth_adin2111_oa_data_read()311 memcpy(&ctx->buf[ctx->scur], &ctx->oa_rx_buf[rx_pos], len); in eth_adin2111_oa_data_read()338 rx_pos += ctx->oa_cps + sizeof(uint32_t); in eth_adin2111_oa_data_read()