Home
last modified time | relevance | path

Searched refs:hash_bit (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/drivers/net/igb/
De1000_mac.c286 u32 hash_bit, hash_reg, mta; in igb_mta_set() local
299 hash_bit = hash_value & 0x1F; in igb_mta_set()
303 mta |= (1 << hash_bit); in igb_mta_set()
392 u32 hash_value, hash_bit, hash_reg; in igb_update_mc_addr_list() local
403 hash_bit = hash_value & 0x1F; in igb_update_mc_addr_list()
405 hw->mac.mta_shadow[hash_reg] |= (1 << hash_bit); in igb_update_mc_addr_list()
/linux-2.6.39/drivers/net/
Ddavinci_emac.c735 u32 hash_bit; in hash_add() local
751 hash_bit = BIT(hash_value); in hash_add()
752 priv->mac_hash1 |= hash_bit; in hash_add()
754 hash_bit = BIT((hash_value - 32)); in hash_add()
755 priv->mac_hash2 |= hash_bit; in hash_add()
776 u32 hash_bit; in hash_del() local
790 hash_bit = BIT(hash_value); in hash_del()
791 priv->mac_hash1 &= ~hash_bit; in hash_del()
793 hash_bit = BIT((hash_value - 32)); in hash_del()
794 priv->mac_hash2 &= ~hash_bit; in hash_del()
/linux-2.6.39/drivers/net/atl1e/
Datl1e_hw.c187 u32 hash_bit, hash_reg; in atl1e_hash_set() local
200 hash_bit = (hash_value >> 26) & 0x1F; in atl1e_hash_set()
204 mta |= (1 << hash_bit); in atl1e_hash_set()
/linux-2.6.39/drivers/net/atl1c/
Datl1c_hw.c258 u32 hash_bit, hash_reg; in atl1c_hash_set() local
271 hash_bit = (hash_value >> 26) & 0x1F; in atl1c_hash_set()
275 mta |= (1 << hash_bit); in atl1c_hash_set()
/linux-2.6.39/drivers/net/ixgb/
Dixgb_hw.c547 u32 hash_bit, hash_reg; in ixgb_mta_set() local
559 hash_bit = hash_value & 0x1F; in ixgb_mta_set()
563 mta_reg |= (1 << hash_bit); in ixgb_mta_set()
/linux-2.6.39/drivers/net/e1000e/
Dlib.c360 u32 hash_value, hash_bit, hash_reg; in e1000e_update_mc_addr_list_generic() local
371 hash_bit = hash_value & 0x1F; in e1000e_update_mc_addr_list_generic()
373 hw->mac.mta_shadow[hash_reg] |= (1 << hash_bit); in e1000e_update_mc_addr_list_generic()
/linux-2.6.39/drivers/net/atlx/
Datl2.c2405 u32 hash_bit, hash_reg; local
2417 hash_bit = (hash_value >> 26) & 0x1F;
2421 mta |= (1 << hash_bit);
Datl1.c577 u32 hash_bit, hash_reg; in atl1_hash_set() local
590 hash_bit = (hash_value >> 26) & 0x1F; in atl1_hash_set()
592 mta |= (1 << hash_bit); in atl1_hash_set()
/linux-2.6.39/drivers/net/e1000/
De1000_main.c2250 u32 hash_reg, hash_bit, mta; in e1000_set_rx_mode() local
2253 hash_bit = hash_value & 0x1F; in e1000_set_rx_mode()
2254 mta = (1 << hash_bit); in e1000_set_rx_mode()