Searched refs:crc_bit4 (Results 1 – 2 of 2) sorted by relevance
115 u8 crc_bit4, crc_bit11, crc_bit15; in __rtw_cal_crc16() local138 crc_bit4 = ((crc & BIT(4)) ? 1 : 0) ^ shift_in; in __rtw_cal_crc16()140 if (crc_bit4 == 0) in __rtw_cal_crc16()
373 u8 shift_in, data_bit, crc_bit11, crc_bit4, crc_bit15; in crc16_ccitt() local394 crc_bit4 = ((crc & BIT(4)) ? 1 : 0) ^ shift_in; in crc16_ccitt()395 if (crc_bit4 == 0) in crc16_ccitt()