/Linux-v4.19/include/net/ |
D | dn.h | 169 static inline __le16 dn_eth2dn(unsigned char *ethaddr) in dn_eth2dn() argument 171 return get_unaligned((__le16 *)(ethaddr + 4)); in dn_eth2dn() 179 static inline void dn_dn2eth(unsigned char *ethaddr, __le16 addr) in dn_dn2eth() argument 182 ethaddr[0] = 0xAA; in dn_dn2eth() 183 ethaddr[1] = 0x00; in dn_dn2eth() 184 ethaddr[2] = 0x04; in dn_dn2eth() 185 ethaddr[3] = 0x00; in dn_dn2eth() 186 ethaddr[4] = (__u8)(a & 0xff); in dn_dn2eth() 187 ethaddr[5] = (__u8)(a >> 8); in dn_dn2eth()
|
/Linux-v4.19/drivers/usb/gadget/function/ |
D | u_ether.h | 92 u8 ethaddr[ETH_ALEN], unsigned qmult, const char *netname); 109 u8 ethaddr[ETH_ALEN], unsigned qmult) in gether_setup() 111 return gether_setup_name(g, dev_addr, host_addr, ethaddr, qmult, "usb"); in gether_setup()
|
D | f_subset.c | 52 char ethaddr[14]; member 481 status = gether_get_host_addr_cdc(opts->net, geth->ethaddr, in geth_alloc() 482 sizeof(geth->ethaddr)); in geth_alloc() 488 geth_string_defs[1].s = geth->ethaddr; in geth_alloc()
|
D | f_ecm.c | 50 char ethaddr[14]; member 708 ecm_string_defs[1].s = ecm->ethaddr; in ecm_bind() 926 status = gether_get_host_addr_cdc(opts->net, ecm->ethaddr, in ecm_alloc() 927 sizeof(ecm->ethaddr)); in ecm_alloc()
|
D | f_rndis.c | 72 u8 ethaddr[ETH_ALEN]; member 797 rndis_set_host_mac(rndis->params, rndis->ethaddr); in rndis_bind() 994 gether_get_host_addr_u8(opts->net, rndis->ethaddr); in rndis_alloc()
|
D | u_ether.c | 747 u8 ethaddr[ETH_ALEN], unsigned qmult, const char *netname) in gether_setup_name() 778 if (ethaddr) in gether_setup_name() 779 memcpy(ethaddr, dev->host_mac, ETH_ALEN); in gether_setup_name()
|
D | f_ncm.c | 52 char ethaddr[14]; member 1635 status = gether_get_host_addr_cdc(opts->net, ncm->ethaddr, in ncm_alloc() 1636 sizeof(ncm->ethaddr)); in ncm_alloc() 1642 ncm_string_defs[STRING_MAC_IDX].s = ncm->ethaddr; in ncm_alloc()
|
/Linux-v4.19/arch/mips/alchemy/common/ |
D | platform.c | 393 unsigned char ethaddr[6]; in alchemy_setup_macs() local 408 i = prom_get_ethernet_addr(ethaddr); in alchemy_setup_macs() 410 memcpy(au1xxx_eth0_platform_data.mac, ethaddr, 6); in alchemy_setup_macs() 429 ethaddr[5] += 1; /* next addr for 2nd MAC */ in alchemy_setup_macs() 431 memcpy(au1xxx_eth1_platform_data.mac, ethaddr, 6); in alchemy_setup_macs()
|
/Linux-v4.19/arch/mips/txx9/rbtx4939/ |
D | setup.c | 466 unsigned char ethaddr[2][6]; in rbtx4939_device_init() local 472 memcpy(ethaddr[i], (void *)area, 6); in rbtx4939_device_init() 481 memcpy(ethaddr[i], buf, 6); in rbtx4939_device_init() 484 tx4939_ethaddr_init(ethaddr[0], ethaddr[1]); in rbtx4939_device_init()
|
/Linux-v4.19/net/caif/ |
D | caif_usb.c | 85 static struct cflayer *cfusbl_create(int phyid, u8 ethaddr[ETH_ALEN], in cfusbl_create() 109 ether_addr_copy(&this->tx_eth_hdr[ETH_ALEN], ethaddr); in cfusbl_create()
|
/Linux-v4.19/drivers/net/hamradio/ |
D | bpqether.c | 323 struct bpq_ethaddr __user *ethaddr = ifr->ifr_data; in bpq_ioctl() local 344 if (copy_from_user(bpq->dest_addr, ethaddr->destination, ETH_ALEN)) in bpq_ioctl() 346 if (copy_from_user(bpq->acpt_addr, ethaddr->accept, ETH_ALEN)) in bpq_ioctl()
|
/Linux-v4.19/drivers/net/ethernet/microchip/ |
D | encx24j600.c | 716 unsigned char *ethaddr) in encx24j600_hw_get_macaddr() argument 722 ethaddr[0] = val & 0x00ff; in encx24j600_hw_get_macaddr() 723 ethaddr[1] = (val & 0xff00) >> 8; in encx24j600_hw_get_macaddr() 727 ethaddr[2] = val & 0x00ffU; in encx24j600_hw_get_macaddr() 728 ethaddr[3] = (val & 0xff00U) >> 8; in encx24j600_hw_get_macaddr() 732 ethaddr[4] = val & 0x00ffU; in encx24j600_hw_get_macaddr() 733 ethaddr[5] = (val & 0xff00U) >> 8; in encx24j600_hw_get_macaddr()
|
/Linux-v4.19/arch/mips/include/asm/txx9/ |
D | generic.h | 49 void txx9_ethaddr_init(unsigned int id, unsigned char *ethaddr);
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | socfpga_arria5_socdk.dts | 36 /* this allow the ethaddr uboot environmnet variable contents
|
D | socfpga_cyclone5_socdk.dts | 36 /* this allow the ethaddr uboot environmnet variable contents
|
D | socfpga_cyclone5_sockit.dts | 36 /* this allow the ethaddr uboot environmnet variable contents
|
D | socfpga_cyclone5_vining_fpga.dts | 68 * This allow the ethaddr uboot environment variable contents
|
/Linux-v4.19/arch/mips/txx9/generic/ |
D | setup.c | 435 void __init txx9_ethaddr_init(unsigned int id, unsigned char *ethaddr) in txx9_ethaddr_init() argument 440 platform_device_add_data(pdev, ethaddr, 6) || in txx9_ethaddr_init()
|
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | main.c | 2498 u8 *ethaddr = wlc_hw->wlc->pub->cur_etheraddr; in brcms_b_mute() local 2517 brcms_b_set_addrmatch(wlc_hw, RCM_MAC_OFFSET, ethaddr); in brcms_b_mute()
|