/drivers/net/ethernet/intel/igb/ |
D | e1000_mac.c | 341 u32 hash_bit, hash_reg, mta; in igb_mta_set() local 352 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igb_mta_set() 355 mta = array_rd32(E1000_MTA, hash_reg); in igb_mta_set() 359 array_wr32(E1000_MTA, hash_reg, mta); in igb_mta_set() 444 u32 hash_value, hash_bit, hash_reg; in igb_update_mc_addr_list() local 454 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igb_update_mc_addr_list() 457 hw->mac.mta_shadow[hash_reg] |= (1 << hash_bit); in igb_update_mc_addr_list()
|
/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_hw.c | 187 u32 hash_bit, hash_reg; in atl1e_hash_set() local 199 hash_reg = (hash_value >> 31) & 0x1; in atl1e_hash_set() 202 mta = AT_READ_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg); in atl1e_hash_set() 206 AT_WRITE_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg, mta); in atl1e_hash_set()
|
/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_hw.c | 549 u32 hash_bit, hash_reg; in ixgb_mta_set() local 560 hash_reg = (hash_value >> 5) & 0x7F; in ixgb_mta_set() 563 mta_reg = IXGB_READ_REG_ARRAY(hw, MTA, hash_reg); in ixgb_mta_set() 567 IXGB_WRITE_REG_ARRAY(hw, MTA, hash_reg, mta_reg); in ixgb_mta_set()
|
/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_hw.c | 236 u32 hash_bit, hash_reg; in atl1c_hash_set() local 248 hash_reg = (hash_value >> 31) & 0x1; in atl1c_hash_set() 251 mta = AT_READ_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg); in atl1c_hash_set() 255 AT_WRITE_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg, mta); in atl1c_hash_set()
|
/drivers/net/ethernet/intel/e1000e/ |
D | mac.c | 336 u32 hash_value, hash_bit, hash_reg; in e1000e_update_mc_addr_list_generic() local 346 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in e1000e_update_mc_addr_list_generic() 349 hw->mac.mta_shadow[hash_reg] |= (1 << hash_bit); in e1000e_update_mc_addr_list_generic()
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dev.c | 632 unsigned int hash_reg; in xgbe_set_mac_hash_table() local 656 hash_reg = MAC_HTR0; in xgbe_set_mac_hash_table() 658 XGMAC_IOWRITE(pdata, hash_reg, hash_table[i]); in xgbe_set_mac_hash_table() 659 hash_reg += MAC_HTR_INC; in xgbe_set_mac_hash_table()
|
/drivers/net/ethernet/atheros/atlx/ |
D | atl2.c | 2381 u32 hash_bit, hash_reg; in atl2_hash_set() local 2392 hash_reg = (hash_value >> 31) & 0x1; in atl2_hash_set() 2395 mta = ATL2_READ_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg); in atl2_hash_set() 2399 ATL2_WRITE_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg, mta); in atl2_hash_set()
|
D | atl1.c | 581 u32 hash_bit, hash_reg; in atl1_hash_set() local 593 hash_reg = (hash_value >> 31) & 0x1; in atl1_hash_set() 595 mta = ioread32((hw->hw_addr + REG_RX_HASH_TABLE) + (hash_reg << 2)); in atl1_hash_set() 597 iowrite32(mta, (hw->hw_addr + REG_RX_HASH_TABLE) + (hash_reg << 2)); in atl1_hash_set()
|
/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 2305 u32 hash_reg, hash_bit, mta; in e1000_set_rx_mode() local 2307 hash_reg = (hash_value >> 5) & 0x7F; in e1000_set_rx_mode() 2310 mcarray[hash_reg] |= mta; in e1000_set_rx_mode()
|