Lines Matching refs:bits
211 static uint8_t air_to_host8(const char *air_order, const int bits) in air_to_host8() argument
215 for (i = 0; i < bits; i++) in air_to_host8()
219 static uint16_t air_to_host16(const char *air_order, const int bits) in air_to_host16() argument
223 for (i = 0; i < bits; i++) in air_to_host16()
227 static uint32_t air_to_host32(const char *air_order, const int bits) in air_to_host32() argument
231 for (i = 0; i < bits; i++) in air_to_host32()
235 static uint64_t air_to_host64(const char *air_order, const int bits) in air_to_host64() argument
239 for (i = 0; i < bits; i++) in air_to_host64()
1025 int bits; in EV3() local
1031 bits = pkt->payload_length * 8; in EV3()
1034 if ((bits + 8) > size) in EV3()
1036 unwhiten(stream, pkt->payload + bits, clock, 8, 18 + bits, pkt); in EV3()
1067 int bits = 0; /* number of payload bits we have decoded */ in EV4() local
1084 unwhiten(corrected, pkt->payload + bits, clock, 10, 18 + bits, pkt); in EV4()
1088 while (pkt->payload_length * 8 <= bits) { in EV4()
1094 bits += 10; in EV4()
1111 int bits; in EV5() local
1117 bits = pkt->payload_length * 8; in EV5()
1120 if ((bits + 8) > size) in EV5()
1122 unwhiten(stream, pkt->payload + bits, clock, 8, 18 + bits, pkt); in EV5()