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 …]
109 uint8_t rx_pos = 0; in frag_transport_package_callback() local115 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()[all …]
99 uint8_t rx_pos = 0; in clock_sync_package_callback() local103 while (rx_pos < len) { in clock_sync_package_callback()104 uint8_t command_id = rx_buf[rx_pos++]; in clock_sync_package_callback()124 time_correction = rx_buf[rx_pos++]; in clock_sync_package_callback()125 time_correction += rx_buf[rx_pos++] << 8; in clock_sync_package_callback()126 time_correction += rx_buf[rx_pos++] << 16; in clock_sync_package_callback()127 time_correction += rx_buf[rx_pos++] << 24; in clock_sync_package_callback()129 uint8_t token = rx_buf[rx_pos++] & 0x0F; in clock_sync_package_callback()144 uint8_t period = rx_buf[rx_pos++] & 0x0F; in clock_sync_package_callback()161 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()