Home
last modified time | relevance | path

Searched refs:mac (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/arch/arm64/crypto/
Daes-ce-ccm-glue.c32 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/
Dsthyi.c123 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/
Dnvram.c56 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/
Docteon_3xxx.dts162 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 …]
Docteon_68xx.dts251 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/
Dip22-platform.c158 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/
Dip32-setup.c84 char *mac = ArcGetEnvironmentVariable("eaddr"); in plat_mem_setup() local
85 str2eaddr(o2meth_eaddr, mac); in plat_mem_setup()
/arch/arm/boot/dts/
Dmoxart.dtsi123 mac0: mac@90900000 {
124 compatible = "moxa,moxart-mac";
132 mac1: mac@92000000 {
133 compatible = "moxa,moxart-mac";
Dhisi-x5hd2-dkb.dts58 mac-address = [00 00 00 00 00 00];
72 mac-address = [00 00 00 00 00 00];
Dmt7629-rfb.dts69 gmac0: mac@0 {
70 compatible = "mediatek,eth-mac";
80 gmac1: mac@1 {
81 compatible = "mediatek,eth-mac";
Dmt7623n-rfb-emmc.dts126 gmac0: mac@0 {
127 compatible = "mediatek,eth-mac";
138 mac@1 {
139 compatible = "mediatek,eth-mac";
Daspeed-g6.dtsi100 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";
Ddra62x.dtsi14 &mac {
Dkeystone-k2l-netcp.dtsi193 efuse-mac = <1>;
205 efuse-mac = <0>;
206 local-mac-address = [02 18 31 7e 3e 7f];
Dkeystone-k2e-netcp.dtsi210 efuse-mac = <1>;
222 efuse-mac = <0>;
223 local-mac-address = [02 18 31 7e 3e 00];
/arch/m68k/emu/
Dnfeth.c189 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/
Dgelic_udbg.c120 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/
Dlantiq_platform.h14 struct sockaddr mac; member
/arch/mips/include/asm/sgi/
Dseeq.h18 unsigned char mac[ETH_ALEN]; member
/arch/um/drivers/
Dnet_kern.c380 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/
Dbcm63xx_nvram.h32 int bcm63xx_nvram_get_mac_address(u8 *mac);
/arch/mips/include/asm/mach-au1x00/
Dau1xxx_eth.h13 char mac[6]; member
/arch/mips/ar7/
Dplatform.c285 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/
Dkmeter1.dts322 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/
Dplatform.c415 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()

12345678910>>...12