/arch/arm64/crypto/ |
D | aes-ce-ccm-glue.c | 34 asmlinkage void ce_aes_ccm_auth_data(u8 mac[], u8 const in[], u32 abytes, 38 u32 const rk[], u32 rounds, u8 mac[], 42 u32 const rk[], u32 rounds, u8 mac[], 45 asmlinkage void ce_aes_ccm_final(u8 mac[], u8 const ctr[], u32 const rk[], 109 static void ccm_update_mac(struct crypto_aes_ctx *key, u8 mac[], u8 const in[], in ccm_update_mac() argument 113 ce_aes_ccm_auth_data(mac, in, abytes, macp, key->key_enc, in ccm_update_mac() 119 crypto_xor(&mac[*macp], in, added); in ccm_update_mac() 127 __aes_arm64_encrypt(key->key_enc, mac, mac, in ccm_update_mac() 129 crypto_xor(mac, in, AES_BLOCK_SIZE); in ccm_update_mac() 136 __aes_arm64_encrypt(key->key_enc, mac, mac, in ccm_update_mac() [all …]
|
/arch/tile/gxio/ |
D | iorpc_trio.c | 113 unsigned int mac; member 119 unsigned int pio_region, unsigned int mac, in gxio_trio_init_pio_region_aux() argument 126 params->mac = mac; in gxio_trio_init_pio_region_aux() 142 unsigned int mac; member 151 unsigned int mac, uint64_t bus_address, in gxio_trio_init_memory_map_mmu_aux() argument 162 params->mac = mac; in gxio_trio_init_memory_map_mmu_aux() 197 unsigned int mac; member 203 unsigned int mac, unsigned int intx) in gxio_trio_config_legacy_intr() argument 212 params->mac = mac; in gxio_trio_config_legacy_intr() 223 unsigned int mac; member [all …]
|
D | iorpc_mpipe_info.c | 38 _gxio_mpipe_link_mac_t mac; member 44 _gxio_mpipe_link_mac_t *mac) in gxio_mpipe_info_enumerate_aux() argument 55 *mac = params->mac; in gxio_mpipe_info_enumerate_aux()
|
D | mpipe.c | 529 _gxio_mpipe_link_mac_t mac; in gxio_mpipe_link_enumerate_mac() local 535 rv = gxio_mpipe_info_enumerate_aux(context, idx, &name, &mac); in gxio_mpipe_link_enumerate_mac() 539 memcpy(link_mac, mac.mac, sizeof(mac.mac)); in gxio_mpipe_link_enumerate_mac() 563 link->mac = rv & 0xFF; in gxio_mpipe_link_open() 572 return gxio_mpipe_link_close_aux(link->context, link->mac); in gxio_mpipe_link_close() 580 return gxio_mpipe_link_set_attr_aux(link->context, link->mac, attr, in gxio_mpipe_link_set_attr()
|
D | iorpc_mpipe.c | 374 int mac; member 377 int gxio_mpipe_link_close_aux(gxio_mpipe_context_t *context, int mac) in gxio_mpipe_link_close_aux() argument 382 params->mac = mac; in gxio_mpipe_link_close_aux() 391 int mac; member 396 int gxio_mpipe_link_set_attr_aux(gxio_mpipe_context_t *context, int mac, in gxio_mpipe_link_set_attr_aux() argument 402 params->mac = mac; in gxio_mpipe_link_set_attr_aux()
|
/arch/tile/kernel/ |
D | pci_gx.c | 142 int mac; in tile_pcie_open() local 206 for (mac = 0; mac < TILEGX_TRIO_PCIES; mac++) { in tile_pcie_open() 211 if (!pcie_ports[trio_index].ports[mac].allow_rc && in tile_pcie_open() 212 !pcie_ports[trio_index].ports[mac].allow_ep) in tile_pcie_open() 220 (mac << TRIO_CFG_REGION_ADDR__MAC_SEL_SHIFT); in tile_pcie_open() 233 pcie_ports[trio_index].ports[mac].allow_ep = 1; in tile_pcie_open() 303 int mac = controller->mac; in trio_handle_level_irq() local 317 (mac << TRIO_CFG_REGION_ADDR__MAC_SEL_SHIFT); in trio_handle_level_irq() 356 irq, controller->mac, i); in tile_init_irqs() 383 strapped_for_rc(gxio_trio_context_t *trio_context, int mac) in strapped_for_rc() argument [all …]
|
/arch/tile/include/gxio/ |
D | iorpc_trio.h | 67 unsigned int pio_region, unsigned int mac, 74 unsigned int mac, uint64_t bus_address, 83 unsigned int mac, unsigned int intx); 87 unsigned int mac, unsigned int mem_map, 93 uint16_t mrs, unsigned int mac); 95 int gxio_trio_force_rc_link_up(gxio_trio_context_t *context, unsigned int mac); 97 int gxio_trio_force_ep_link_up(gxio_trio_context_t *context, unsigned int mac);
|
D | iorpc_mpipe_info.h | 42 _gxio_mpipe_link_mac_t *mac);
|
/arch/s390/kvm/ |
D | sthyi.c | 129 struct mac_sctn mac; member 168 sctns->hdr.infmlen = sizeof(sctns->mac); in fill_hdr() 177 sclp_ocf_cpc_name_copy(sctns->mac.infmname); in fill_stsi_mac() 178 if (*(u64 *)sctns->mac.infmname != 0) in fill_stsi_mac() 179 sctns->mac.infmval1 |= MAC_NAME_VLD; in fill_stsi_mac() 184 memcpy(sctns->mac.infmtype, sysinfo->type, sizeof(sctns->mac.infmtype)); in fill_stsi_mac() 185 memcpy(sctns->mac.infmmanu, sysinfo->manufacturer, sizeof(sctns->mac.infmmanu)); in fill_stsi_mac() 186 memcpy(sctns->mac.infmpman, sysinfo->plant, sizeof(sctns->mac.infmpman)); in fill_stsi_mac() 187 memcpy(sctns->mac.infmseq, sysinfo->sequence, sizeof(sctns->mac.infmseq)); in fill_stsi_mac() 189 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 ]; 195 local-mac-address = [ 00 00 00 00 00 00 ]; 202 local-mac-address = [ 00 00 00 00 00 00 ]; 207 local-mac-address = [ 00 00 00 00 00 00 ]; 212 local-mac-address = [ 00 00 00 00 00 00 ]; 217 local-mac-address = [ 00 00 00 00 00 00 ]; 222 local-mac-address = [ 00 00 00 00 00 00 ]; 227 local-mac-address = [ 00 00 00 00 00 00 ]; 232 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/tile/include/arch/ |
D | trio.h | 92 uint_reg_t mac : 2; member 97 uint_reg_t mac : 2;
|
/arch/mips/sgi-ip22/ |
D | ip22-platform.c | 145 eth0_pd.mac[2 * i] = tmp >> 8; in sgiseeq_devinit() 146 eth0_pd.mac[2 * i + 1] = tmp & 0xff; in sgiseeq_devinit() 171 eth1_pd.mac[2 * i] = tmp >> 8; in sgiseeq_devinit() 172 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 | 61 mac-address = [00 00 00 00 00 00]; 75 mac-address = [00 00 00 00 00 00];
|
/arch/powerpc/platforms/ps3/ |
D | gelic_udbg.c | 125 u64 mac; in gelic_debug_init() local 143 &mac, &v2); in gelic_debug_init() 147 mac <<= 16; in gelic_debug_init() 152 memcpy(&h_eth->h_source, &mac, ETH_ALEN); in gelic_debug_init()
|
/arch/m68k/emu/ |
D | nfeth.c | 193 char mac[ETH_ALEN], host_ip[32], local_ip[32]; in nfeth_probe() local 196 if (!nf_call(nfEtherID + XIF_GET_MAC, unit, virt_to_phys(mac), in nfeth_probe() 207 memcpy(dev->dev_addr, mac, ETH_ALEN); in nfeth_probe() 224 local_ip, mac); in nfeth_probe()
|
/arch/mips/include/asm/mach-lantiq/ |
D | lantiq_platform.h | 16 struct sockaddr mac; member
|
/arch/mips/include/asm/sgi/ |
D | seeq.h | 18 unsigned char mac[ETH_ALEN]; member
|
/arch/mips/include/asm/mach-bcm63xx/ |
D | bcm63xx_nvram.h | 32 int bcm63xx_nvram_get_mac_address(u8 *mac);
|
/arch/um/drivers/ |
D | net_kern.c | 382 static void eth_configure(int n, void *init, char *mac, in eth_configure() argument 415 setup_etheraddr(dev, mac); in eth_configure() 450 .mac = { 0xfe, 0xfd, 0x0, 0x0, 0x0, 0x0}, in eth_configure() 464 memcpy(lp->mac, dev->dev_addr, sizeof(lp->mac)); in eth_configure() 593 char *mac = NULL; in register_transport() local 604 &mac, GFP_KERNEL); in register_transport() 608 eth_configure(eth->index, init, mac, new, GFP_KERNEL); in register_transport() 620 char *mac = NULL; in eth_setup_common() local 627 &mac, GFP_ATOMIC)) in eth_setup_common() 630 eth_configure(index, init, mac, transport, GFP_ATOMIC); in eth_setup_common()
|
/arch/mips/include/asm/mach-au1x00/ |
D | au1xxx_eth.h | 13 char mac[6]; member
|
/arch/mips/ar7/ |
D | platform.c | 298 char name[5], *mac; in cpmac_get_mac() local 301 mac = prom_getenv(name); in cpmac_get_mac() 302 if (!mac && instance) { in cpmac_get_mac() 304 mac = prom_getenv(name); in cpmac_get_mac() 307 if (mac) { in cpmac_get_mac() 308 if (!mac_pton(mac, dev_addr)) { in cpmac_get_mac()
|