| /rk3399_rockchip-uboot/board/Synology/ds414/ |
| H A D | cmd_syno.c | 18 #define ETH_ALEN 6 macro 60 char ethaddr[ETH_ALEN]; in do_syno_populate() 64 for (i = 0, bufp = buf + n * 7; i < ETH_ALEN; i++) { in do_syno_populate()
|
| /rk3399_rockchip-uboot/drivers/usb/eth/ |
| H A D | asix.c | 299 ALLOC_CACHE_ALIGN_BUFFER(unsigned char, buf, ETH_ALEN); in asix_write_hwaddr_common() 301 memcpy(buf, enetaddr, ETH_ALEN); in asix_write_hwaddr_common() 303 ret = asix_write_cmd(dev, AX_CMD_WRITE_NODE_ID, 0, 0, ETH_ALEN, buf); in asix_write_hwaddr_common() 339 ALLOC_CACHE_ALIGN_BUFFER(unsigned char, buf, ETH_ALEN); in asix_read_mac_common() 343 for (i = 0; i < (ETH_ALEN >> 1); i++) { in asix_read_mac_common() 352 if (asix_read_cmd(dev, AX_CMD_READ_NODE_ID, 0, 0, ETH_ALEN, buf) in asix_read_mac_common() 357 memcpy(enetaddr, buf, ETH_ALEN); in asix_read_mac_common()
|
| H A D | mcs7830.c | 458 uint8_t buf[ETH_ALEN]; in mcs7830_read_mac() 462 rc = mcs7830_read_reg(udev, REG_ETHER_ADDR, ETH_ALEN, buf); in mcs7830_read_mac() 468 memcpy(enetaddr, buf, ETH_ALEN); in mcs7830_read_mac() 479 rc = mcs7830_write_reg(udev, REG_ETHER_ADDR, ETH_ALEN, enetaddr); in mcs7830_write_mac_common()
|
| H A D | asix88179.c | 286 ret = asix_write_cmd(dev, AX_ACCESS_MAC, AX_NODE_ID, ETH_ALEN, in asix_write_mac() 287 ETH_ALEN, enetaddr); in asix_write_mac()
|
| H A D | lan78xx.c | 171 ETH_ALEN, in lan78xx_read_otp_mac()
|
| H A D | lan7x.c | 315 EEPROM_MAC_OFFSET, ETH_ALEN, in lan7x_read_eeprom_mac()
|
| H A D | r8152.c | 578 memcpy(macaddr, enetaddr, ETH_ALEN); in r8152_read_mac() 1333 memcpy(enetaddr, eth->enetaddr, ETH_ALEN); in r8152_write_hwaddr() 1562 memcpy(enetaddr, pdata->enetaddr, ETH_ALEN); in r8152_write_hwaddr()
|
| H A D | smsc95xx.c | 371 ret = smsc95xx_read_eeprom(udev, EEPROM_MAC_OFFSET, ETH_ALEN, enetaddr); in smsc95xx_init_mac_address()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | usb_ether.h | 16 #define ETH_ALEN 6 /* Octets in one ethernet addr */ macro
|
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | dc2114x.c | 128 #define ETH_ALEN 6 macro 489 for (i = 0; i < ETH_ALEN; i++) { in send_setup_frame() 706 for (i = 0; i < (ETH_ALEN >> 1); i++) { in read_hw_addr() 713 memset (dev->enetaddr, 0, ETH_ALEN); in read_hw_addr()
|
| H A D | rtl8139.c | 84 #define ETH_ALEN 6 macro 370 for (i = 0; i < ETH_ALEN; i++) in rtl_reset()
|
| H A D | natsemi.c | 64 #define ETH_ALEN 6 macro 638 for (i = 0; i < ETH_ALEN; i += 2) { in natsemi_init_rxfilter()
|
| H A D | ns8382x.c | 62 #define ETH_ALEN 6 macro 604 for (i = 0; i < ETH_ALEN; i += 2) { in ns8382x_init_rxfilter()
|
| H A D | eepro100.c | 197 #define ETH_ALEN 6 macro 929 memset (dev->enetaddr, 0, ETH_ALEN); in read_hw_addr()
|
| H A D | mvpp2.c | 48 #define ETH_ALEN 6 /* Octets in one ethernet addr */ macro 1010 u8 dev_addr[ETH_ALEN]; 1831 mvpp2_prs_sram_shift_set(&pe, 2 * ETH_ALEN, in mvpp2_prs_mac_promisc_set() 1880 mvpp2_prs_sram_shift_set(&pe, 2 * ETH_ALEN, in mvpp2_prs_mac_multi_set() 2276 for (index = 0; index < ETH_ALEN; index++) { in mvpp2_prs_mac_range_equals() 2330 unsigned char mask[ETH_ALEN] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; in mvpp2_prs_mac_da_accept() 2388 len = ETH_ALEN; in mvpp2_prs_mac_da_accept() 2401 mvpp2_prs_sram_shift_set(pe, 2 * ETH_ALEN, in mvpp2_prs_mac_da_accept() 2430 memcpy(port->dev_addr, da, ETH_ALEN); in mvpp2_prs_update_mac_da() 4549 unsigned char mac_bcast[ETH_ALEN] = { in mvpp2_open() [all …]
|
| H A D | rtl8169.c | 107 #define ETH_ALEN MAC_ADDR_LEN macro
|
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | rndis.c | 39 #define ETH_ALEN 6 /* Octets in one ethernet addr */ macro 520 length = ETH_ALEN; in gen_ndis_query_resp() 530 length = ETH_ALEN; in gen_ndis_query_resp()
|
| H A D | ether.c | 74 #define ETH_ALEN 6 /* Octets in one ethernet addr */ macro 134 u8 host_mac[ETH_ALEN]; 841 static char ethaddr[2 * ETH_ALEN + 1];
|