Lines Matching defs:hash_value
616 u32 hash_value = hash_get(mac_addr);
618 if (hash_value >= EMAC_NUM_MULTICAST_BITS) {
622 hash_value, (EMAC_NUM_MULTICAST_BITS - 1));
628 if (priv->multicast_hash_cnt[hash_value] == 0) {
630 if (hash_value < 32) {
631 hash_bit = BIT(hash_value);
634 hash_bit = BIT((hash_value - 32));
640 ++priv->multicast_hash_cnt[hash_value];
655 u32 hash_value;
658 hash_value = hash_get(mac_addr);
659 if (priv->multicast_hash_cnt[hash_value] > 0) {
661 --priv->multicast_hash_cnt[hash_value];
666 if (priv->multicast_hash_cnt[hash_value] > 0)
669 if (hash_value < 32) {
670 hash_bit = BIT(hash_value);
673 hash_bit = BIT((hash_value - 32));