Lines Matching refs:crc
807 u32 crc; in xgbe_set_mac_hash_table() local
816 crc = bitrev32(~crc32_le(~0, ha->addr, ETH_ALEN)); in xgbe_set_mac_hash_table()
817 crc >>= hash_table_shift; in xgbe_set_mac_hash_table()
818 hash_table[crc >> 5] |= (1 << (crc & 0x1f)); in xgbe_set_mac_hash_table()
822 crc = bitrev32(~crc32_le(~0, ha->addr, ETH_ALEN)); in xgbe_set_mac_hash_table()
823 crc >>= hash_table_shift; in xgbe_set_mac_hash_table()
824 hash_table[crc >> 5] |= (1 << (crc & 0x1f)); in xgbe_set_mac_hash_table()
1013 u32 crc = ~0; in xgbe_vid_crc32_le() local
1024 temp = ((crc & 1) ^ data_byte) & 1; in xgbe_vid_crc32_le()
1025 crc >>= 1; in xgbe_vid_crc32_le()
1029 crc ^= poly; in xgbe_vid_crc32_le()
1032 return crc; in xgbe_vid_crc32_le()
1037 u32 crc; in xgbe_update_vlan_hash_table() local
1046 crc = bitrev32(~xgbe_vid_crc32_le(vid_le)) >> 28; in xgbe_update_vlan_hash_table()
1048 vlan_hash_table |= (1 << crc); in xgbe_update_vlan_hash_table()