Lines Matching refs:crc
804 u32 crc; in xgbe_set_mac_hash_table() local
813 crc = bitrev32(~crc32_le(~0, ha->addr, ETH_ALEN)); in xgbe_set_mac_hash_table()
814 crc >>= hash_table_shift; in xgbe_set_mac_hash_table()
815 hash_table[crc >> 5] |= (1 << (crc & 0x1f)); in xgbe_set_mac_hash_table()
819 crc = bitrev32(~crc32_le(~0, ha->addr, ETH_ALEN)); in xgbe_set_mac_hash_table()
820 crc >>= hash_table_shift; in xgbe_set_mac_hash_table()
821 hash_table[crc >> 5] |= (1 << (crc & 0x1f)); in xgbe_set_mac_hash_table()
1027 u32 crc = ~0; in xgbe_vid_crc32_le() local
1038 temp = ((crc & 1) ^ data_byte) & 1; in xgbe_vid_crc32_le()
1039 crc >>= 1; in xgbe_vid_crc32_le()
1043 crc ^= poly; in xgbe_vid_crc32_le()
1046 return crc; in xgbe_vid_crc32_le()
1051 u32 crc; in xgbe_update_vlan_hash_table() local
1060 crc = bitrev32(~xgbe_vid_crc32_le(vid_le)) >> 28; in xgbe_update_vlan_hash_table()
1062 vlan_hash_table |= (1 << crc); in xgbe_update_vlan_hash_table()