Home
last modified time | relevance | path

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

/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/drivers/net/ethernet/intel/e1000/
De1000_main.c2297 u32 hash_reg, hash_bit, mta; in e1000_set_rx_mode() local
2300 hash_bit = hash_value & 0x1F; in e1000_set_rx_mode()
2301 mta = (1 << hash_bit); in e1000_set_rx_mode()