Home
last modified time | relevance | path

Searched refs:ETH_ALEN (Results 1 – 18 of 18) sorted by relevance

/rk3399_rockchip-uboot/board/Synology/ds414/
H A Dcmd_syno.c18 #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 Dasix.c299 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 Dmcs7830.c458 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 Dasix88179.c286 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 Dlan78xx.c171 ETH_ALEN, in lan78xx_read_otp_mac()
H A Dlan7x.c315 EEPROM_MAC_OFFSET, ETH_ALEN, in lan7x_read_eeprom_mac()
H A Dr8152.c578 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 Dsmsc95xx.c371 ret = smsc95xx_read_eeprom(udev, EEPROM_MAC_OFFSET, ETH_ALEN, enetaddr); in smsc95xx_init_mac_address()
/rk3399_rockchip-uboot/include/
H A Dusb_ether.h16 #define ETH_ALEN 6 /* Octets in one ethernet addr */ macro
/rk3399_rockchip-uboot/drivers/net/
H A Ddc2114x.c128 #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 Drtl8139.c84 #define ETH_ALEN 6 macro
370 for (i = 0; i < ETH_ALEN; i++) in rtl_reset()
H A Dnatsemi.c64 #define ETH_ALEN 6 macro
638 for (i = 0; i < ETH_ALEN; i += 2) { in natsemi_init_rxfilter()
H A Dns8382x.c62 #define ETH_ALEN 6 macro
604 for (i = 0; i < ETH_ALEN; i += 2) { in ns8382x_init_rxfilter()
H A Deepro100.c197 #define ETH_ALEN 6 macro
929 memset (dev->enetaddr, 0, ETH_ALEN); in read_hw_addr()
H A Dmvpp2.c48 #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 Drtl8169.c107 #define ETH_ALEN MAC_ADDR_LEN macro
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Drndis.c39 #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 Dether.c74 #define ETH_ALEN 6 /* Octets in one ethernet addr */ macro
134 u8 host_mac[ETH_ALEN];
841 static char ethaddr[2 * ETH_ALEN + 1];