/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 | 151 int mac; in tile_pcie_open() local 215 for (mac = 0; mac < TILEGX_TRIO_PCIES; mac++) { in tile_pcie_open() 220 if (!pcie_ports[trio_index].ports[mac].allow_rc && in tile_pcie_open() 221 !pcie_ports[trio_index].ports[mac].allow_ep) in tile_pcie_open() 229 (mac << TRIO_CFG_REGION_ADDR__MAC_SEL_SHIFT); in tile_pcie_open() 242 pcie_ports[trio_index].ports[mac].allow_ep = 1; in tile_pcie_open() 312 int mac = controller->mac; in trio_handle_level_irq() local 326 (mac << TRIO_CFG_REGION_ADDR__MAC_SEL_SHIFT); in trio_handle_level_irq() 365 irq, controller->mac, i); in tile_init_irqs() 392 strapped_for_rc(gxio_trio_context_t *trio_context, int mac) in strapped_for_rc() argument [all …]
|
/arch/arm64/crypto/ |
D | aes-ce-ccm-glue.c | 33 asmlinkage void ce_aes_ccm_auth_data(u8 mac[], u8 const in[], u32 abytes, 37 u32 const rk[], u32 rounds, u8 mac[], 41 u32 const rk[], u32 rounds, u8 mac[], 44 asmlinkage void ce_aes_ccm_final(u8 mac[], u8 const ctr[], u32 const rk[], 106 static void ccm_calculate_auth_mac(struct aead_request *req, u8 mac[]) in ccm_calculate_auth_mac() argument 125 ce_aes_ccm_auth_data(mac, (u8 *)<ag, ltag.len, &macp, ctx->key_enc, in ccm_calculate_auth_mac() 138 ce_aes_ccm_auth_data(mac, p, n, &macp, ctx->key_enc, in ccm_calculate_auth_mac() 158 u8 __aligned(8) mac[AES_BLOCK_SIZE]; in ccm_encrypt() 163 err = ccm_init_mac(req, mac, len); in ccm_encrypt() 170 ccm_calculate_auth_mac(req, mac); in ccm_encrypt() [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/mips/bcm63xx/ |
D | nvram.c | 85 int bcm63xx_nvram_get_mac_address(u8 *mac) in bcm63xx_nvram_get_mac_address() argument 95 memcpy(mac, nvram.mac_addr_base, ETH_ALEN); in bcm63xx_nvram_get_mac_address() 96 oui = mac + ETH_ALEN/2 - 1; in bcm63xx_nvram_get_mac_address() 100 u8 *p = mac + ETH_ALEN - 1; in bcm63xx_nvram_get_mac_address()
|
/arch/mips/boot/dts/cavium-octeon/ |
D | octeon_3xxx.dts | 206 local-mac-address = [ 00 00 00 00 00 00 ]; 218 local-mac-address = [ 00 00 00 00 00 00 ]; 237 local-mac-address = [ 00 00 00 00 00 00 ]; 244 local-mac-address = [ 00 00 00 00 00 00 ]; 251 local-mac-address = [ 00 00 00 00 00 00 ]; 258 local-mac-address = [ 00 00 00 00 00 00 ]; 265 local-mac-address = [ 00 00 00 00 00 00 ]; 270 local-mac-address = [ 00 00 00 00 00 00 ]; 275 local-mac-address = [ 00 00 00 00 00 00 ]; 280 local-mac-address = [ 00 00 00 00 00 00 ]; [all …]
|
D | octeon_68xx.dts | 250 local-mac-address = [ 00 00 00 00 00 00 ]; 269 local-mac-address = [ 00 00 00 00 00 00 ]; 275 local-mac-address = [ 00 00 00 00 00 00 ]; 281 local-mac-address = [ 00 00 00 00 00 00 ]; 287 local-mac-address = [ 00 00 00 00 00 00 ]; 301 local-mac-address = [ 00 00 00 00 00 00 ]; 307 local-mac-address = [ 00 00 00 00 00 00 ]; 313 local-mac-address = [ 00 00 00 00 00 00 ]; 319 local-mac-address = [ 00 00 00 00 00 00 ]; 333 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 | 144 eth0_pd.mac[2 * i] = tmp >> 8; in sgiseeq_devinit() 145 eth0_pd.mac[2 * i + 1] = tmp & 0xff; in sgiseeq_devinit() 170 eth1_pd.mac[2 * i] = tmp >> 8; in sgiseeq_devinit() 171 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 | 121 mac0: mac@90900000 { 122 compatible = "moxa,moxart-mac"; 130 mac1: mac@92000000 { 131 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/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 | 31 int bcm63xx_nvram_get_mac_address(u8 *mac);
|
/arch/m68k/emu/ |
D | nfeth.c | 195 char mac[ETH_ALEN], host_ip[32], local_ip[32]; in nfeth_probe() local 198 if (!nf_call(nfEtherID + XIF_GET_MAC, unit, virt_to_phys(mac), in nfeth_probe() 209 memcpy(dev->dev_addr, mac, ETH_ALEN); in nfeth_probe() 226 local_ip, mac); in nfeth_probe()
|
/arch/powerpc/platforms/ps3/ |
D | gelic_udbg.c | 150 u64 mac; in gelic_debug_init() local 168 &mac, &v2); in gelic_debug_init() 172 mac <<= 16; in gelic_debug_init() 177 memcpy(&h_eth->src, &mac, 6); in gelic_debug_init()
|
/arch/mips/include/asm/mach-au1x00/ |
D | au1xxx_eth.h | 12 char mac[6]; member
|
/arch/um/drivers/ |
D | net_kern.c | 390 static void eth_configure(int n, void *init, char *mac, in eth_configure() argument 423 setup_etheraddr(dev, mac); in eth_configure() 458 .mac = { 0xfe, 0xfd, 0x0, 0x0, 0x0, 0x0}, in eth_configure() 472 memcpy(lp->mac, dev->dev_addr, sizeof(lp->mac)); in eth_configure() 601 char *mac = NULL; in register_transport() local 612 &mac, GFP_KERNEL); in register_transport() 616 eth_configure(eth->index, init, mac, new, GFP_KERNEL); in register_transport() 628 char *mac = NULL; in eth_setup_common() local 635 &mac, GFP_ATOMIC)) in eth_setup_common() 638 eth_configure(index, init, mac, transport, GFP_ATOMIC); in eth_setup_common()
|
/arch/arm64/boot/dts/hisilicon/ |
D | hip05_hns.dtsi | 132 local-mac-address = [00 00 00 01 00 58]; 147 local-mac-address = [00 00 00 01 00 5a]; 155 local-mac-address = [00 00 00 01 00 5b]; 163 local-mac-address = [00 00 00 01 00 5c]; 171 local-mac-address = [00 00 00 01 00 5d]; 179 local-mac-address = [00 00 00 01 00 5e]; 187 local-mac-address = [00 00 00 01 00 5f];
|
/arch/mips/ar7/ |
D | platform.c | 299 char name[5], *mac; in cpmac_get_mac() local 302 mac = prom_getenv(name); in cpmac_get_mac() 303 if (!mac && instance) { in cpmac_get_mac() 305 mac = prom_getenv(name); in cpmac_get_mac() 308 if (mac) { in cpmac_get_mac() 309 if (!mac_pton(mac, dev_addr)) { in cpmac_get_mac()
|