Home
last modified time | relevance | path

Searched refs:shift_in (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/wireless/realtek/rtw88/
Dwow.c86 u8 shift_in, data_bit; in __rtw_cal_crc16() local
94 shift_in = crc_bit15 ^ data_bit; in __rtw_cal_crc16()
98 if (shift_in == 0) in __rtw_cal_crc16()
103 crc_bit11 = ((crc & BIT(11)) ? 1 : 0) ^ shift_in; in __rtw_cal_crc16()
110 crc_bit4 = ((crc & BIT(4)) ? 1 : 0) ^ shift_in; in __rtw_cal_crc16()
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/
Dcore.c371 u8 shift_in, data_bit, crc_bit11, crc_bit4, crc_bit15; in crc16_ccitt() local
378 shift_in = crc_bit15 ^ data_bit; in crc16_ccitt()
381 if (shift_in == 0) in crc16_ccitt()
386 crc_bit11 = ((crc & BIT(11)) ? 1 : 0) ^ shift_in; in crc16_ccitt()
392 crc_bit4 = ((crc & BIT(4)) ? 1 : 0) ^ shift_in; in crc16_ccitt()