Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/wireless/realtek/rtw89/
Dwow.c170 u16 crc_result; in __rtw89_cal_crc16() local
178 crc_result = crc << 1; in __rtw89_cal_crc16()
181 crc_result &= ~BIT(0); in __rtw89_cal_crc16()
183 crc_result |= BIT(0); in __rtw89_cal_crc16()
188 crc_result &= ~BIT(12); in __rtw89_cal_crc16()
190 crc_result |= BIT(12); in __rtw89_cal_crc16()
195 crc_result &= ~BIT(5); in __rtw89_cal_crc16()
197 crc_result |= BIT(5); in __rtw89_cal_crc16()
199 crc = crc_result; in __rtw89_cal_crc16()
/Linux-v6.6/drivers/net/wireless/realtek/rtw88/
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-v6.6/drivers/net/ethernet/marvell/
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()