/Linux-v6.6/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_hw.c | 174 u32 hash_bit, hash_reg; in atl1e_hash_set() local 186 hash_reg = (hash_value >> 31) & 0x1; in atl1e_hash_set() 189 mta = AT_READ_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg); in atl1e_hash_set() 193 AT_WRITE_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg, mta); in atl1e_hash_set()
|
/Linux-v6.6/drivers/net/ethernet/intel/igb/ |
D | e1000_mac.c | 395 u32 hash_bit, hash_reg, mta; in igb_mta_set() local 406 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igb_mta_set() 409 mta = array_rd32(E1000_MTA, hash_reg); in igb_mta_set() 413 array_wr32(E1000_MTA, hash_reg, mta); in igb_mta_set() 527 u32 hash_value, hash_bit, hash_reg; in igb_update_mc_addr_list() local 537 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igb_update_mc_addr_list() 540 hw->mac.mta_shadow[hash_reg] |= BIT(hash_bit); in igb_update_mc_addr_list()
|
/Linux-v6.6/drivers/net/ethernet/intel/igc/ |
D | igc_mac.c | 860 u32 hash_value, hash_bit, hash_reg; in igc_update_mc_addr_list() local 870 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igc_update_mc_addr_list() 873 hw->mac.mta_shadow[hash_reg] |= BIT(hash_bit); in igc_update_mc_addr_list()
|
/Linux-v6.6/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_hw.c | 223 u32 hash_bit, hash_reg; in atl1c_hash_set() local 235 hash_reg = (hash_value >> 31) & 0x1; in atl1c_hash_set() 238 mta = AT_READ_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg); in atl1c_hash_set() 242 AT_WRITE_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg, mta); in atl1c_hash_set()
|
/Linux-v6.6/drivers/net/ethernet/intel/e1000e/ |
D | mac.c | 318 u32 hash_value, hash_bit, hash_reg; in e1000e_update_mc_addr_list_generic() local 328 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); 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.6/drivers/net/ethernet/atheros/atlx/ |
D | atl2.c | 2329 u32 hash_bit, hash_reg; in atl2_hash_set() local 2340 hash_reg = (hash_value >> 31) & 0x1; in atl2_hash_set() 2343 mta = ATL2_READ_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg); in atl2_hash_set() 2347 ATL2_WRITE_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg, mta); in atl2_hash_set()
|
D | atl1.c | 562 u32 hash_bit, hash_reg; in atl1_hash_set() local 574 hash_reg = (hash_value >> 31) & 0x1; in atl1_hash_set() 576 mta = ioread32((hw->hw_addr + REG_RX_HASH_TABLE) + (hash_reg << 2)); in atl1_hash_set() 578 iowrite32(mta, (hw->hw_addr + REG_RX_HASH_TABLE) + (hash_reg << 2)); in atl1_hash_set()
|
/Linux-v6.6/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-hw.c | 334 unsigned int hash_reg; in xlgmac_set_mac_hash_table() local 356 hash_reg = MAC_HTR0; in xlgmac_set_mac_hash_table() 358 writel(hash_table[i], pdata->mac_regs + hash_reg); in xlgmac_set_mac_hash_table() 359 hash_reg += MAC_HTR_INC; in xlgmac_set_mac_hash_table()
|
/Linux-v6.6/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dev.c | 1052 unsigned int hash_reg; in xgbe_set_mac_hash_table() local 1076 hash_reg = MAC_HTR0; in xgbe_set_mac_hash_table() 1078 XGMAC_IOWRITE(pdata, hash_reg, hash_table[i]); in xgbe_set_mac_hash_table() 1079 hash_reg += MAC_HTR_INC; in xgbe_set_mac_hash_table()
|
/Linux-v6.6/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 2297 u32 hash_reg, hash_bit, mta; in e1000_set_rx_mode() local 2299 hash_reg = (hash_value >> 5) & 0x7F; in e1000_set_rx_mode() 2302 mcarray[hash_reg] |= mta; in e1000_set_rx_mode()
|