Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/drivers/net/wireless/realtek/rtw89/
Dwow.c820 u8 shift_in, data_bit; in __rtw89_cal_crc16() local
828 shift_in = crc_bit15 ^ data_bit; in __rtw89_cal_crc16()
832 if (shift_in == 0) in __rtw89_cal_crc16()
837 crc_bit11 = (crc & BIT(11) ? 1 : 0) ^ shift_in; in __rtw89_cal_crc16()
844 crc_bit4 = (crc & BIT(4) ? 1 : 0) ^ shift_in; in __rtw89_cal_crc16()
/linux-6.12.1/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()