Searched refs:hash_bit (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/ti/ |
D | davinci_emac.c | 617 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-6.1.9/drivers/net/ethernet/intel/igb/ |
D | e1000_mac.c | 395 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.1.9/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_hw.c | 174 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.1.9/drivers/net/ethernet/intel/igc/ |
D | igc_mac.c | 860 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.1.9/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_hw.c | 522 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-6.1.9/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_hw.c | 223 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.1.9/drivers/net/ethernet/intel/e1000e/ |
D | mac.c | 318 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-6.1.9/drivers/net/ethernet/atheros/atlx/ |
D | atl2.c | 2329 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()
|
D | atl1.c | 562 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.1.9/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 2297 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()
|