Home
last modified time | relevance | path

Searched refs:macp (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/arch/m68k/coldfire/
Dnettel.c103 u16 *macp; in nettel_smc91x_setmac() local
105 macp = (u16 *) flashaddr; in nettel_smc91x_setmac()
106 if ((macp[0] == 0xffff) && (macp[1] == 0xffff) && (macp[2] == 0xffff)) in nettel_smc91x_setmac()
107 macp = (u16 *) &nettel_macdefault[0]; in nettel_smc91x_setmac()
110 writew(macp[0], ioaddr + SMC91xx_BASEMAC); in nettel_smc91x_setmac()
111 writew(macp[1], ioaddr + SMC91xx_BASEMAC + 2); in nettel_smc91x_setmac()
112 writew(macp[2], ioaddr + SMC91xx_BASEMAC + 4); in nettel_smc91x_setmac()
/kernel/linux/linux-5.10/arch/arm64/crypto/
Daes-ce-ccm-glue.c33 u32 *macp, u32 const rk[], u32 rounds);
100 u32 abytes, u32 *macp) in ccm_update_mac() argument
104 ce_aes_ccm_auth_data(mac, in, abytes, macp, key->key_enc, in ccm_update_mac()
108 if (*macp > 0 && *macp < AES_BLOCK_SIZE) { in ccm_update_mac()
109 int added = min(abytes, AES_BLOCK_SIZE - *macp); in ccm_update_mac()
111 crypto_xor(&mac[*macp], in, added); in ccm_update_mac()
113 *macp += added; in ccm_update_mac()
129 *macp = abytes; in ccm_update_mac()
141 u32 macp = 0; in ccm_calculate_auth_mac() local
153 ccm_update_mac(ctx, mac, (u8 *)&ltag, ltag.len, &macp); in ccm_calculate_auth_mac()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/socionext/
Dnetsec.c2042 void __iomem *macp = priv->eeprom_base + in netsec_probe() local
2045 ndev->dev_addr[0] = readb(macp + 3); in netsec_probe()
2046 ndev->dev_addr[1] = readb(macp + 2); in netsec_probe()
2047 ndev->dev_addr[2] = readb(macp + 1); in netsec_probe()
2048 ndev->dev_addr[3] = readb(macp + 0); in netsec_probe()
2049 ndev->dev_addr[4] = readb(macp + 7); in netsec_probe()
2050 ndev->dev_addr[5] = readb(macp + 6); in netsec_probe()