Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/realtek/rtw88/
H A Dwow.c116 u16 crc_result; in __rtw_cal_crc16() local
124 crc_result = crc << 1; in __rtw_cal_crc16()
127 crc_result &= (~BIT(0)); in __rtw_cal_crc16()
129 crc_result |= BIT(0); in __rtw_cal_crc16()
134 crc_result &= (~BIT(12)); in __rtw_cal_crc16()
136 crc_result |= BIT(12); in __rtw_cal_crc16()
141 crc_result &= (~BIT(5)); in __rtw_cal_crc16()
143 crc_result |= BIT(5); in __rtw_cal_crc16()
145 crc = crc_result; in __rtw_cal_crc16()
/linux/drivers/net/wireless/realtek/rtw89/
H A Dwow.c822 u16 crc_result; in __rtw89_cal_crc16() local
830 crc_result = crc << 1; in __rtw89_cal_crc16()
833 crc_result &= ~BIT(0); in __rtw89_cal_crc16()
835 crc_result |= BIT(0); in __rtw89_cal_crc16()
840 crc_result &= ~BIT(12); in __rtw89_cal_crc16()
842 crc_result |= BIT(12); in __rtw89_cal_crc16()
847 crc_result &= ~BIT(5); in __rtw89_cal_crc16()
849 crc_result |= BIT(5); in __rtw89_cal_crc16()
851 crc = crc_result; in __rtw89_cal_crc16()
/linux/drivers/net/ethernet/marvell/
H A Dmvneta.c3142 unsigned char crc_result = 0; in mvneta_mcast_addr_set() local
3149 crc_result = mvneta_addr_crc(p_addr); in mvneta_mcast_addr_set()
3151 if (pp->mcast_count[crc_result] == 0) { in mvneta_mcast_addr_set()
3153 crc_result); in mvneta_mcast_addr_set()
3157 pp->mcast_count[crc_result]--; in mvneta_mcast_addr_set()
3158 if (pp->mcast_count[crc_result] != 0) { in mvneta_mcast_addr_set()
3161 pp->mcast_count[crc_result], crc_result); in mvneta_mcast_addr_set()
3165 pp->mcast_count[crc_result]++; in mvneta_mcast_addr_set()
3167 mvneta_set_other_mcast_addr(pp, crc_result, queue); in mvneta_mcast_addr_set()