Lines Matching refs:hash_value
739 u32 hash_value = hash_get(mac_addr);
741 if (hash_value >= EMAC_NUM_MULTICAST_BITS) {
745 hash_value, (EMAC_NUM_MULTICAST_BITS - 1));
751 if (priv->multicast_hash_cnt[hash_value] == 0) {
753 if (hash_value < 32) {
754 hash_bit = BIT(hash_value);
757 hash_bit = BIT((hash_value - 32));
763 ++priv->multicast_hash_cnt[hash_value];
778 u32 hash_value;
781 hash_value = hash_get(mac_addr);
782 if (priv->multicast_hash_cnt[hash_value] > 0) {
784 --priv->multicast_hash_cnt[hash_value];
789 if (priv->multicast_hash_cnt[hash_value] > 0)
792 if (hash_value < 32) {
793 hash_bit = BIT(hash_value);
796 hash_bit = BIT((hash_value - 32));