Home
last modified time | relevance | path

Searched refs:mac1 (Results 1 – 11 of 11) sorted by relevance

/drivers/net/wireguard/
Dcookie.c75 static void compute_mac1(u8 mac1[COOKIE_LEN], const void *message, size_t len, in compute_mac1()
79 offsetof(struct message_macs, mac1); in compute_mac1()
80 blake2s(mac1, message, key, COOKIE_LEN, len, NOISE_SYMMETRIC_KEY_LEN); in compute_mac1()
132 if (crypto_memneq(computed_mac, macs->mac1, COOKIE_LEN)) in wg_cookie_validate_packet()
163 compute_mac1(macs->mac1, message, len, in wg_cookie_add_mac_to_packet()
165 memcpy(peer->latest_cookie.last_mac1_sent, macs->mac1, COOKIE_LEN); in wg_cookie_add_mac_to_packet()
194 macs->mac1, COOKIE_LEN, dst->nonce, in wg_cookie_message_create()
Dmessages.h76 u8 mac1[COOKIE_LEN]; member
/drivers/scsi/qla4xxx/
Dql4_nvram.h126 u8 mac1[6]; /* x20 */ member
/drivers/net/ethernet/silan/
Dsc92031.c1403 u32 mac0, mac1; in sc92031_probe() local
1460 mac1 = ioread32(port_base + MAC0 + 4); in sc92031_probe()
1465 dev->dev_addr[4] = mac1 >> 8; in sc92031_probe()
1466 dev->dev_addr[5] = mac1; in sc92031_probe()
/drivers/net/ethernet/alteon/
Dacenic.c868 u32 tig_ver, mac1, mac2, tmp, pci_state; in ace_init() local
963 mac1 = 0; in ace_init()
967 mac1 = mac1 << 8; in ace_init()
973 mac1 |= (t & 0xff); in ace_init()
988 writel(mac1, &regs->MacAddrHi); in ace_init()
991 dev->dev_addr[0] = (mac1 >> 8) & 0xff; in ace_init()
992 dev->dev_addr[1] = mac1 & 0xff; in ace_init()
/drivers/net/wireless/ti/wl12xx/
Dmain.c1503 u32 mac1, mac2; in wl12xx_get_fuse_mac() local
1517 ret = wlcore_read32(wl, WL12XX_REG_FUSE_BD_ADDR_1, &mac1); in wl12xx_get_fuse_mac()
1527 ((mac1 & 0xff000000) >> 24); in wl12xx_get_fuse_mac()
1528 wl->fuse_nic_addr = mac1 & 0xffffff; in wl12xx_get_fuse_mac()
/drivers/net/wireless/ti/wl18xx/
Dmain.c1477 u32 mac1, mac2; in wl18xx_get_mac() local
1484 ret = wlcore_read32(wl, WL18XX_REG_FUSE_BD_ADDR_1, &mac1); in wl18xx_get_mac()
1494 ((mac1 & 0xff000000) >> 24); in wl18xx_get_mac()
1495 wl->fuse_nic_addr = (mac1 & 0xffffff); in wl18xx_get_mac()
/drivers/net/ethernet/atheros/alx/
Dhw.c279 u32 mac0, mac1; in alx_read_macaddr() local
282 mac1 = alx_read_mem32(hw, ALX_STAD1); in alx_read_macaddr()
286 put_unaligned(cpu_to_be16(mac1), (__be16 *)addr); in alx_read_macaddr()
/drivers/atm/
Diphase.c2274 u32 mac1; local
2278 mac1 = cpu_to_be32(le32_to_cpu(readl(
2281 IF_INIT(printk("ESI: 0x%08x%04x\n", mac1, mac2);)
2283 dev->esi[i] = mac1 >>(8*(MAC1_LEN-1-i));
/drivers/net/ethernet/broadcom/
Dbcmsysport.c1822 u32 mac1 = (addr[4] << 8) | addr[5]; in umac_set_hw_addr() local
1826 umac_writel(priv, mac1, UMAC_MAC1); in umac_set_hw_addr()
1829 gib_writel(priv, mac1, GIB_MAC1); in umac_set_hw_addr()
/drivers/net/wireless/intel/ipw2x00/
Dipw2200.h784 u8 mac1[6]; member