/arch/arm64/crypto/ |
D | aes-ce-ccm-glue.c | 32 asmlinkage void ce_aes_ccm_auth_data(u8 mac[], u8 const in[], u32 abytes, 36 u32 const rk[], u32 rounds, u8 mac[], 40 u32 const rk[], u32 rounds, u8 mac[], 43 asmlinkage void ce_aes_ccm_final(u8 mac[], u8 const ctr[], u32 const rk[], 105 static void ccm_update_mac(struct crypto_aes_ctx *key, u8 mac[], u8 const in[], in ccm_update_mac() argument 110 ce_aes_ccm_auth_data(mac, in, abytes, macp, key->key_enc, in ccm_update_mac() 117 crypto_xor(&mac[*macp], in, added); in ccm_update_mac() 125 aes_encrypt(key, mac, mac); in ccm_update_mac() 126 crypto_xor(mac, in, AES_BLOCK_SIZE); in ccm_update_mac() 133 aes_encrypt(key, mac, mac); in ccm_update_mac() [all …]
|
/arch/s390/kernel/ |
D | sthyi.c | 123 struct mac_sctn mac; member 177 sctns->hdr.infmlen = sizeof(sctns->mac); in fill_hdr() 186 sclp_ocf_cpc_name_copy(sctns->mac.infmname); in fill_stsi_mac() 187 if (*(u64 *)sctns->mac.infmname != 0) in fill_stsi_mac() 188 sctns->mac.infmval1 |= MAC_NAME_VLD; in fill_stsi_mac() 193 memcpy(sctns->mac.infmtype, sysinfo->type, sizeof(sctns->mac.infmtype)); in fill_stsi_mac() 194 memcpy(sctns->mac.infmmanu, sysinfo->manufacturer, sizeof(sctns->mac.infmmanu)); in fill_stsi_mac() 195 memcpy(sctns->mac.infmpman, sysinfo->plant, sizeof(sctns->mac.infmpman)); in fill_stsi_mac() 196 memcpy(sctns->mac.infmseq, sysinfo->sequence, sizeof(sctns->mac.infmseq)); in fill_stsi_mac() 198 sctns->mac.infmval1 |= MAC_ID_VLD; in fill_stsi_mac() [all …]
|
/arch/mips/bcm63xx/ |
D | nvram.c | 56 int bcm63xx_nvram_get_mac_address(u8 *mac) in bcm63xx_nvram_get_mac_address() argument 66 memcpy(mac, nvram.mac_addr_base, ETH_ALEN); in bcm63xx_nvram_get_mac_address() 67 oui = mac + ETH_ALEN/2 - 1; in bcm63xx_nvram_get_mac_address() 71 u8 *p = mac + ETH_ALEN - 1; in bcm63xx_nvram_get_mac_address()
|
/arch/mips/boot/dts/cavium-octeon/ |
D | octeon_3xxx.dts | 162 local-mac-address = [ 00 00 00 00 00 00 ]; 174 local-mac-address = [ 00 00 00 00 00 00 ]; 209 local-mac-address = [ 00 00 00 00 00 00 ]; 216 local-mac-address = [ 00 00 00 00 00 00 ]; 221 local-mac-address = [ 00 00 00 00 00 00 ]; 226 local-mac-address = [ 00 00 00 00 00 00 ]; 231 local-mac-address = [ 00 00 00 00 00 00 ]; 236 local-mac-address = [ 00 00 00 00 00 00 ]; 241 local-mac-address = [ 00 00 00 00 00 00 ]; 246 local-mac-address = [ 00 00 00 00 00 00 ]; [all …]
|
D | octeon_68xx.dts | 251 local-mac-address = [ 00 00 00 00 00 00 ]; 270 local-mac-address = [ 00 00 00 00 00 00 ]; 276 local-mac-address = [ 00 00 00 00 00 00 ]; 282 local-mac-address = [ 00 00 00 00 00 00 ]; 288 local-mac-address = [ 00 00 00 00 00 00 ]; 302 local-mac-address = [ 00 00 00 00 00 00 ]; 308 local-mac-address = [ 00 00 00 00 00 00 ]; 314 local-mac-address = [ 00 00 00 00 00 00 ]; 320 local-mac-address = [ 00 00 00 00 00 00 ]; 334 local-mac-address = [ 00 00 00 00 00 00 ]; [all …]
|
/arch/mips/sgi-ip22/ |
D | ip22-platform.c | 158 eth0_pd.mac[2 * i] = tmp >> 8; in sgiseeq_devinit() 159 eth0_pd.mac[2 * i + 1] = tmp & 0xff; in sgiseeq_devinit() 184 eth1_pd.mac[2 * i] = tmp >> 8; in sgiseeq_devinit() 185 eth1_pd.mac[2 * i + 1] = tmp & 0xff; in sgiseeq_devinit()
|
/arch/mips/sgi-ip32/ |
D | ip32-setup.c | 84 char *mac = ArcGetEnvironmentVariable("eaddr"); in plat_mem_setup() local 85 str2eaddr(o2meth_eaddr, mac); in plat_mem_setup()
|
/arch/arm/boot/dts/ |
D | moxart.dtsi | 123 mac0: mac@90900000 { 124 compatible = "moxa,moxart-mac"; 132 mac1: mac@92000000 { 133 compatible = "moxa,moxart-mac";
|
D | hisi-x5hd2-dkb.dts | 58 mac-address = [00 00 00 00 00 00]; 72 mac-address = [00 00 00 00 00 00];
|
D | mt7629-rfb.dts | 69 gmac0: mac@0 { 70 compatible = "mediatek,eth-mac"; 80 gmac1: mac@1 { 81 compatible = "mediatek,eth-mac";
|
D | mt7623n-rfb-emmc.dts | 126 gmac0: mac@0 { 127 compatible = "mediatek,eth-mac"; 138 mac@1 { 139 compatible = "mediatek,eth-mac";
|
D | aspeed-g6.dtsi | 100 compatible = "aspeed,ast2600-mac", "faraday,ftgmac100"; 110 compatible = "aspeed,ast2600-mac", "faraday,ftgmac100"; 120 compatible = "aspeed,ast2600-mac", "faraday,ftgmac100"; 130 compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
|
D | dra62x.dtsi | 14 &mac {
|
D | keystone-k2l-netcp.dtsi | 193 efuse-mac = <1>; 205 efuse-mac = <0>; 206 local-mac-address = [02 18 31 7e 3e 7f];
|
D | keystone-k2e-netcp.dtsi | 210 efuse-mac = <1>; 222 efuse-mac = <0>; 223 local-mac-address = [02 18 31 7e 3e 00];
|
/arch/m68k/emu/ |
D | nfeth.c | 189 char mac[ETH_ALEN], host_ip[32], local_ip[32]; in nfeth_probe() local 192 if (!nf_call(nfEtherID + XIF_GET_MAC, unit, virt_to_phys(mac), in nfeth_probe() 203 memcpy(dev->dev_addr, mac, ETH_ALEN); in nfeth_probe() 220 local_ip, mac); in nfeth_probe()
|
/arch/powerpc/platforms/ps3/ |
D | gelic_udbg.c | 120 u64 mac; in gelic_debug_init() local 138 &mac, &v2); in gelic_debug_init() 142 mac <<= 16; in gelic_debug_init() 147 memcpy(&h_eth->h_source, &mac, ETH_ALEN); in gelic_debug_init()
|
/arch/mips/include/asm/mach-lantiq/ |
D | lantiq_platform.h | 14 struct sockaddr mac; member
|
/arch/mips/include/asm/sgi/ |
D | seeq.h | 18 unsigned char mac[ETH_ALEN]; member
|
/arch/um/drivers/ |
D | net_kern.c | 380 static void eth_configure(int n, void *init, char *mac, in eth_configure() argument 413 uml_net_setup_etheraddr(dev, mac); in eth_configure() 448 .mac = { 0xfe, 0xfd, 0x0, 0x0, 0x0, 0x0}, in eth_configure() 461 memcpy(lp->mac, dev->dev_addr, sizeof(lp->mac)); in eth_configure() 590 char *mac = NULL; in register_transport() local 601 &mac, GFP_KERNEL); in register_transport() 605 eth_configure(eth->index, init, mac, new, GFP_KERNEL); in register_transport() 617 char *mac = NULL; in eth_setup_common() local 624 &mac, GFP_ATOMIC)) in eth_setup_common() 627 eth_configure(index, init, mac, transport, GFP_ATOMIC); in eth_setup_common()
|
/arch/mips/include/asm/mach-bcm63xx/ |
D | bcm63xx_nvram.h | 32 int bcm63xx_nvram_get_mac_address(u8 *mac);
|
/arch/mips/include/asm/mach-au1x00/ |
D | au1xxx_eth.h | 13 char mac[6]; member
|
/arch/mips/ar7/ |
D | platform.c | 285 char name[5], *mac; in cpmac_get_mac() local 288 mac = prom_getenv(name); in cpmac_get_mac() 289 if (!mac && instance) { in cpmac_get_mac() 291 mac = prom_getenv(name); in cpmac_get_mac() 294 if (mac) { in cpmac_get_mac() 295 if (!mac_pton(mac, dev_addr)) { in cpmac_get_mac()
|
/arch/powerpc/boot/dts/ |
D | kmeter1.dts | 322 local-mac-address = [ 00 00 00 00 00 00 ]; 338 local-mac-address = [ 00 00 00 00 00 00 ]; 354 local-mac-address = [ 00 00 00 00 00 00 ]; 370 local-mac-address = [ 00 00 00 00 00 00 ]; 386 local-mac-address = [ 00 00 00 00 00 00 ]; 402 local-mac-address = [ 00 00 00 00 00 00 ]; 418 local-mac-address = [ 00 00 00 00 00 00 ];
|
/arch/mips/alchemy/common/ |
D | platform.c | 415 if (!i && !is_valid_ether_addr(au1xxx_eth0_platform_data.mac)) in alchemy_setup_macs() 416 memcpy(au1xxx_eth0_platform_data.mac, ethaddr, 6); in alchemy_setup_macs() 436 if (!i && !is_valid_ether_addr(au1xxx_eth1_platform_data.mac)) in alchemy_setup_macs() 437 memcpy(au1xxx_eth1_platform_data.mac, ethaddr, 6); in alchemy_setup_macs()
|