Searched refs:env_enetaddr (Results 1 – 7 of 7) sorted by relevance
/u-boot/arch/arm/mach-davinci/ |
A D | misc.c | 92 uint8_t env_enetaddr[6]; in davinci_sync_env_enetaddr() local 95 ret = eth_env_get_enetaddr_by_index("eth", 0, env_enetaddr); in davinci_sync_env_enetaddr() 103 env_enetaddr); in davinci_sync_env_enetaddr()
|
/u-boot/board/bluewater/gurnard/ |
A D | gurnard.c | 364 u_int8_t env_enetaddr[8]; in board_late_init() local 378 env_enetaddr[i] = env_str ? in board_late_init() 385 writel(env_enetaddr[0] | env_enetaddr[1] << 8 | in board_late_init() 386 env_enetaddr[2] << 16 | env_enetaddr[3] << 24, in board_late_init() 388 writel((env_enetaddr[4] | env_enetaddr[5] << 8), &emac->sa2h); in board_late_init()
|
/u-boot/net/ |
A D | eth_legacy.c | 142 unsigned char env_enetaddr[ARP_HLEN]; in eth_write_hwaddr() local 145 eth_env_get_enetaddr_by_index(base_name, eth_number, env_enetaddr); in eth_write_hwaddr() 147 if (!is_zero_ethaddr(env_enetaddr)) { in eth_write_hwaddr() 149 memcmp(dev->enetaddr, env_enetaddr, ARP_HLEN)) { in eth_write_hwaddr() 155 env_enetaddr); in eth_write_hwaddr() 158 memcpy(dev->enetaddr, env_enetaddr, ARP_HLEN); in eth_write_hwaddr()
|
A D | eth-uclass.c | 513 unsigned char env_enetaddr[ARP_HLEN]; in eth_post_probe() local 554 eth_env_get_enetaddr_by_index("eth", dev_seq(dev), env_enetaddr); in eth_post_probe() 555 if (!is_zero_ethaddr(env_enetaddr)) { in eth_post_probe() 557 memcmp(pdata->enetaddr, env_enetaddr, ARP_HLEN)) { in eth_post_probe() 563 env_enetaddr); in eth_post_probe() 567 memcpy(pdata->enetaddr, env_enetaddr, ARP_HLEN); in eth_post_probe()
|
A D | dsa-uclass.c | 247 unsigned char env_enetaddr[ARP_HLEN]; in dsa_port_probe() local 279 eth_env_get_enetaddr_by_index("eth", dev_seq(pdev), env_enetaddr); in dsa_port_probe() 280 if (!is_zero_ethaddr(env_enetaddr)) in dsa_port_probe()
|
/u-boot/board/davinci/da8xxevm/ |
A D | da850evm.c | 134 uchar env_enetaddr[6]; in misc_init_r() local 137 enetaddr_found = eth_env_get_enetaddr("ethaddr", env_enetaddr); in misc_init_r() 171 memcmp(env_enetaddr, buff, 6)) in misc_init_r() 198 if (eeprom_mac_read && memcmp(enetaddr, env_enetaddr, 6)) in misc_init_r()
|
/u-boot/drivers/net/fsl-mc/ |
A D | mc.c | 197 unsigned char env_enetaddr[ARP_HLEN]; in mc_fixup_mac_addr() local 219 env_enetaddr)) in mc_fixup_mac_addr()
|
Completed in 15 milliseconds