Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/wireless/realtek/rtw88/
Dwow.c114 u8 shift_in, data_bit; in __rtw_cal_crc16() local
122 shift_in = crc_bit15 ^ data_bit; in __rtw_cal_crc16()
126 if (shift_in == 0) in __rtw_cal_crc16()
131 crc_bit11 = ((crc & BIT(11)) ? 1 : 0) ^ shift_in; in __rtw_cal_crc16()
138 crc_bit4 = ((crc & BIT(4)) ? 1 : 0) ^ shift_in; in __rtw_cal_crc16()
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/
Dcore.c373 u8 shift_in, data_bit, crc_bit11, crc_bit4, crc_bit15; in crc16_ccitt() local
380 shift_in = crc_bit15 ^ data_bit; in crc16_ccitt()
383 if (shift_in == 0) in crc16_ccitt()
388 crc_bit11 = ((crc & BIT(11)) ? 1 : 0) ^ shift_in; in crc16_ccitt()
394 crc_bit4 = ((crc & BIT(4)) ? 1 : 0) ^ shift_in; in crc16_ccitt()