Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/ti/
Ddavinci_emac.c615 u32 hash_bit; in emac_hash_add() local
631 hash_bit = BIT(hash_value); in emac_hash_add()
632 priv->mac_hash1 |= hash_bit; in emac_hash_add()
634 hash_bit = BIT((hash_value - 32)); in emac_hash_add()
635 priv->mac_hash2 |= hash_bit; in emac_hash_add()
656 u32 hash_bit; in emac_hash_del() local
670 hash_bit = BIT(hash_value); in emac_hash_del()
671 priv->mac_hash1 &= ~hash_bit; in emac_hash_del()
673 hash_bit = BIT((hash_value - 32)); in emac_hash_del()
674 priv->mac_hash2 &= ~hash_bit; in emac_hash_del()
/linux-6.12.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-6.12.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-6.12.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-6.12.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-6.12.1/drivers/net/ethernet/intel/e1000e/
Dmac.c316 u32 hash_value, hash_bit, hash_reg; in e1000e_update_mc_addr_list_generic() local
327 hash_bit = hash_value & 0x1F; in e1000e_update_mc_addr_list_generic()
329 hw->mac.mta_shadow[hash_reg] |= BIT(hash_bit); in e1000e_update_mc_addr_list_generic()
/linux-6.12.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-6.12.1/drivers/net/ethernet/intel/e1000/
De1000_main.c2294 u32 hash_reg, hash_bit, mta; in e1000_set_rx_mode() local
2297 hash_bit = hash_value & 0x1F; in e1000_set_rx_mode()
2298 mta = (1 << hash_bit); in e1000_set_rx_mode()