Searched refs:crc_bit15 (Results 1 – 2 of 2) sorted by relevance
115 u8 crc_bit4, crc_bit11, crc_bit15; in __rtw_cal_crc16() local120 crc_bit15 = ((crc & BIT(15)) ? 1 : 0); in __rtw_cal_crc16()122 shift_in = crc_bit15 ^ data_bit; in __rtw_cal_crc16()
373 u8 shift_in, data_bit, crc_bit11, crc_bit4, crc_bit15; in crc16_ccitt() local378 crc_bit15 = ((crc & BIT(15)) ? 1 : 0); in crc16_ccitt()380 shift_in = crc_bit15 ^ data_bit; in crc16_ccitt()