Home
last modified time | relevance | path

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

/drivers/net/ethernet/ti/
Ddavinci_emac.c617 u32 hash_bit; in emac_hash_add() local
633 hash_bit = BIT(hash_value); in emac_hash_add()
634 priv->mac_hash1 |= hash_bit; in emac_hash_add()
636 hash_bit = BIT((hash_value - 32)); in emac_hash_add()
637 priv->mac_hash2 |= hash_bit; in emac_hash_add()
658 u32 hash_bit; in emac_hash_del() local
672 hash_bit = BIT(hash_value); in emac_hash_del()
673 priv->mac_hash1 &= ~hash_bit; in emac_hash_del()
675 hash_bit = BIT((hash_value - 32)); in emac_hash_del()
676 priv->mac_hash2 &= ~hash_bit; in emac_hash_del()
/drivers/net/ethernet/intel/igb/
De1000_mac.c395 u32 hash_bit, hash_reg, mta; in igb_mta_set() local
407 hash_bit = hash_value & 0x1F; in igb_mta_set()
411 mta |= BIT(hash_bit); in igb_mta_set()
527 u32 hash_value, hash_bit, hash_reg; in igb_update_mc_addr_list() local
538 hash_bit = hash_value & 0x1F; in igb_update_mc_addr_list()
540 hw->mac.mta_shadow[hash_reg] |= BIT(hash_bit); in igb_update_mc_addr_list()
/drivers/net/ethernet/atheros/atl1e/
Datl1e_hw.c174 u32 hash_bit, hash_reg; in atl1e_hash_set() local
187 hash_bit = (hash_value >> 26) & 0x1F; in atl1e_hash_set()
191 mta |= (1 << hash_bit); in atl1e_hash_set()
/drivers/net/ethernet/intel/igc/
Digc_mac.c860 u32 hash_value, hash_bit, hash_reg; in igc_update_mc_addr_list() local
871 hash_bit = hash_value & 0x1F; in igc_update_mc_addr_list()
873 hw->mac.mta_shadow[hash_reg] |= BIT(hash_bit); in igc_update_mc_addr_list()
/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.c522 u32 hash_bit, hash_reg; in ixgb_mta_set() local
534 hash_bit = hash_value & 0x1F; in ixgb_mta_set()
538 mta_reg |= (1 << hash_bit); in ixgb_mta_set()
/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c223 u32 hash_bit, hash_reg; in atl1c_hash_set() local
236 hash_bit = (hash_value >> 26) & 0x1F; in atl1c_hash_set()
240 mta |= (1 << hash_bit); in atl1c_hash_set()
/drivers/net/ethernet/intel/e1000e/
Dmac.c318 u32 hash_value, hash_bit, hash_reg; in e1000e_update_mc_addr_list_generic() local
329 hash_bit = hash_value & 0x1F; in e1000e_update_mc_addr_list_generic()
331 hw->mac.mta_shadow[hash_reg] |= BIT(hash_bit); in e1000e_update_mc_addr_list_generic()
/drivers/net/ethernet/atheros/atlx/
Datl2.c2329 u32 hash_bit, hash_reg; in atl2_hash_set() local
2341 hash_bit = (hash_value >> 26) & 0x1F; in atl2_hash_set()
2345 mta |= (1 << hash_bit); in atl2_hash_set()
Datl1.c562 u32 hash_bit, hash_reg; in atl1_hash_set() local
575 hash_bit = (hash_value >> 26) & 0x1F; in atl1_hash_set()
577 mta |= (1 << hash_bit); in atl1_hash_set()
/drivers/net/ethernet/intel/e1000/
De1000_main.c2296 u32 hash_reg, hash_bit, mta; in e1000_set_rx_mode() local
2299 hash_bit = hash_value & 0x1F; in e1000_set_rx_mode()
2300 mta = (1 << hash_bit); in e1000_set_rx_mode()