Searched refs:hash_reg (Results 1 – 8 of 8) sorted by relevance
/linux-3.4.99/drivers/net/ethernet/intel/igb/ |
D | e1000_mac.c | 349 u32 hash_bit, hash_reg, mta; in igb_mta_set() local 361 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igb_mta_set() 364 mta = array_rd32(E1000_MTA, hash_reg); in igb_mta_set() 368 array_wr32(E1000_MTA, hash_reg, mta); in igb_mta_set() 455 u32 hash_value, hash_bit, hash_reg; in igb_update_mc_addr_list() local 465 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igb_update_mc_addr_list() 468 hw->mac.mta_shadow[hash_reg] |= (1 << hash_bit); in igb_update_mc_addr_list()
|
/linux-3.4.99/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()
|
/linux-3.4.99/drivers/net/ethernet/atheros/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-3.4.99/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_hw.c | 548 u32 hash_bit, hash_reg; in ixgb_mta_set() local 559 hash_reg = (hash_value >> 5) & 0x7F; in ixgb_mta_set() 562 mta_reg = IXGB_READ_REG_ARRAY(hw, MTA, hash_reg); in ixgb_mta_set() 566 IXGB_WRITE_REG_ARRAY(hw, MTA, hash_reg, mta_reg); in ixgb_mta_set()
|
/linux-3.4.99/drivers/net/ethernet/intel/e1000e/ |
D | mac.c | 342 u32 hash_value, hash_bit, hash_reg; in e1000e_update_mc_addr_list_generic() local 352 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in e1000e_update_mc_addr_list_generic() 355 hw->mac.mta_shadow[hash_reg] |= (1 << hash_bit); in e1000e_update_mc_addr_list_generic()
|
/linux-3.4.99/drivers/net/ethernet/atheros/atlx/ |
D | atl2.c | 2412 u32 hash_bit, hash_reg; local 2423 hash_reg = (hash_value >> 31) & 0x1; 2426 mta = ATL2_READ_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg); 2430 ATL2_WRITE_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg, mta);
|
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()
|
/linux-3.4.99/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 2294 u32 hash_reg, hash_bit, mta; in e1000_set_rx_mode() local 2296 hash_reg = (hash_value >> 5) & 0x7F; in e1000_set_rx_mode() 2299 mcarray[hash_reg] |= mta; in e1000_set_rx_mode()
|