Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/drivers/net/ethernet/marvell/
Dmvneta.c3075 unsigned char crc_result = 0; in mvneta_mcast_addr_set() local
3082 crc_result = mvneta_addr_crc(p_addr); in mvneta_mcast_addr_set()
3084 if (pp->mcast_count[crc_result] == 0) { in mvneta_mcast_addr_set()
3086 crc_result); in mvneta_mcast_addr_set()
3090 pp->mcast_count[crc_result]--; in mvneta_mcast_addr_set()
3091 if (pp->mcast_count[crc_result] != 0) { in mvneta_mcast_addr_set()
3094 pp->mcast_count[crc_result], crc_result); in mvneta_mcast_addr_set()
3098 pp->mcast_count[crc_result]++; in mvneta_mcast_addr_set()
3100 mvneta_set_other_mcast_addr(pp, crc_result, queue); in mvneta_mcast_addr_set()