Home
last modified time | relevance | path

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

/linux/drivers/crypto/starfive/
H A Djh7110-rsa.c177 unsigned int *mta; in starfive_rsa_cpu_start() local
181 mta = kmalloc(key_sz, GFP_KERNEL); in starfive_rsa_cpu_start()
182 if (!mta) in starfive_rsa_cpu_start()
185 ret = starfive_rsa_montgomery_form(ctx, mta, (u32 *)rctx->rsa_data, in starfive_rsa_cpu_start()
193 writel(mta[opsize - loop], in starfive_rsa_cpu_start()
238 kfree(mta); in starfive_rsa_cpu_start()
/linux/drivers/net/ethernet/atheros/atl1e/
H A 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/drivers/net/ethernet/atheros/atl1c/
H A 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/drivers/net/ethernet/intel/igb/
H A 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/drivers/net/ethernet/qualcomm/emac/
H A 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/drivers/net/ethernet/atheros/atlx/
H A 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()
H A 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/drivers/net/ethernet/intel/e1000/
H A De1000_main.c2294 u32 hash_reg, hash_bit, mta; in e1000_set_rx_mode() local
2298 mta = (1 << hash_bit); in e1000_set_rx_mode()
2299 mcarray[hash_reg] |= mta; in e1000_set_rx_mode()