Home
last modified time | relevance | path

Searched refs:mta (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/atheros/atl1e/
Datl1e_hw.c175 u32 mta; in atl1e_hash_set() local
189 mta = AT_READ_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg); in atl1e_hash_set()
191 mta |= (1 << hash_bit); in atl1e_hash_set()
193 AT_WRITE_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg, mta); in atl1e_hash_set()
/linux-5.19.10/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c224 u32 mta; in atl1c_hash_set() local
238 mta = AT_READ_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg); in atl1c_hash_set()
240 mta |= (1 << hash_bit); in atl1c_hash_set()
242 AT_WRITE_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg, mta); in atl1c_hash_set()
/linux-5.19.10/drivers/net/ethernet/intel/igb/
De1000_mac.c395 u32 hash_bit, hash_reg, mta; in igb_mta_set() local
409 mta = array_rd32(E1000_MTA, hash_reg); in igb_mta_set()
411 mta |= BIT(hash_bit); in igb_mta_set()
413 array_wr32(E1000_MTA, hash_reg, mta); in igb_mta_set()
/linux-5.19.10/drivers/net/ethernet/qualcomm/emac/
Demac-mac.c251 u32 crc32, bit, reg, mta; in emac_mac_multicast_addr_set() local
263 mta = readl(adpt->base + EMAC_HASH_TAB_REG0 + (reg << 2)); in emac_mac_multicast_addr_set()
264 mta |= BIT(bit); in emac_mac_multicast_addr_set()
265 writel(mta, adpt->base + EMAC_HASH_TAB_REG0 + (reg << 2)); in emac_mac_multicast_addr_set()
/linux-5.19.10/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c1076 u8 *mta = kmalloc_array(ETH_ALEN, in ixgb_set_multi() local
1080 if (!mta) in ixgb_set_multi()
1085 addr = mta; in ixgb_set_multi()
1091 ixgb_mc_addr_list_update(hw, mta, netdev_mc_count(netdev), 0); in ixgb_set_multi()
1092 kfree(mta); in ixgb_set_multi()
/linux-5.19.10/drivers/net/ethernet/atheros/atlx/
Datl2.c2330 u32 mta; in atl2_hash_set() local
2343 mta = ATL2_READ_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg); in atl2_hash_set()
2345 mta |= (1 << hash_bit); in atl2_hash_set()
2347 ATL2_WRITE_REG_ARRAY(hw, REG_RX_HASH_TABLE, hash_reg, mta); in atl2_hash_set()
Datl1.c563 u32 mta; in atl1_hash_set() local
576 mta = ioread32((hw->hw_addr + REG_RX_HASH_TABLE) + (hash_reg << 2)); in atl1_hash_set()
577 mta |= (1 << hash_bit); in atl1_hash_set()
578 iowrite32(mta, (hw->hw_addr + REG_RX_HASH_TABLE) + (hash_reg << 2)); in atl1_hash_set()
/linux-5.19.10/drivers/net/ethernet/intel/e1000/
De1000_main.c2297 u32 hash_reg, hash_bit, mta; in e1000_set_rx_mode() local
2301 mta = (1 << hash_bit); in e1000_set_rx_mode()
2302 mcarray[hash_reg] |= mta; in e1000_set_rx_mode()