Searched refs:hash_reg (Results 1 – 8 of 8) sorted by relevance
/linux-2.6.39/drivers/net/igb/ |
D | e1000_mac.c | 286 u32 hash_bit, hash_reg, mta; in igb_mta_set() local 298 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igb_mta_set() 301 mta = array_rd32(E1000_MTA, hash_reg); in igb_mta_set() 305 array_wr32(E1000_MTA, hash_reg, mta); in igb_mta_set() 392 u32 hash_value, hash_bit, hash_reg; in igb_update_mc_addr_list() local 402 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igb_update_mc_addr_list() 405 hw->mac.mta_shadow[hash_reg] |= (1 << hash_bit); in igb_update_mc_addr_list()
|
/linux-2.6.39/drivers/net/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()
|
/linux-2.6.39/drivers/net/atl1c/ |
D | atl1c_hw.c | 258 u32 hash_bit, hash_reg; in atl1c_hash_set() local 270 hash_reg = (hash_value >> 31) & 0x1; in atl1c_hash_set() 273 mta = AT_READ_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg); in atl1c_hash_set() 277 AT_WRITE_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg, mta); in atl1c_hash_set()
|
/linux-2.6.39/drivers/net/ixgb/ |
D | ixgb_hw.c | 547 u32 hash_bit, hash_reg; in ixgb_mta_set() local 558 hash_reg = (hash_value >> 5) & 0x7F; in ixgb_mta_set() 561 mta_reg = IXGB_READ_REG_ARRAY(hw, MTA, hash_reg); in ixgb_mta_set() 565 IXGB_WRITE_REG_ARRAY(hw, MTA, hash_reg, mta_reg); in ixgb_mta_set()
|
/linux-2.6.39/drivers/net/e1000e/ |
D | lib.c | 360 u32 hash_value, hash_bit, hash_reg; in e1000e_update_mc_addr_list_generic() local 370 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in e1000e_update_mc_addr_list_generic() 373 hw->mac.mta_shadow[hash_reg] |= (1 << hash_bit); in e1000e_update_mc_addr_list_generic()
|
/linux-2.6.39/drivers/net/atlx/ |
D | atl2.c | 2405 u32 hash_bit, hash_reg; local 2416 hash_reg = (hash_value >> 31) & 0x1; 2419 mta = ATL2_READ_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg); 2423 ATL2_WRITE_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg, mta);
|
D | atl1.c | 577 u32 hash_bit, hash_reg; in atl1_hash_set() local 589 hash_reg = (hash_value >> 31) & 0x1; in atl1_hash_set() 591 mta = ioread32((hw->hw_addr + REG_RX_HASH_TABLE) + (hash_reg << 2)); in atl1_hash_set() 593 iowrite32(mta, (hw->hw_addr + REG_RX_HASH_TABLE) + (hash_reg << 2)); in atl1_hash_set()
|
/linux-2.6.39/drivers/net/e1000/ |
D | e1000_main.c | 2250 u32 hash_reg, hash_bit, mta; in e1000_set_rx_mode() local 2252 hash_reg = (hash_value >> 5) & 0x7F; in e1000_set_rx_mode() 2255 mcarray[hash_reg] |= mta; in e1000_set_rx_mode()
|