Searched refs:enetvar (Results 1 – 4 of 4) sorted by relevance
/external/u-boot/net/ |
D | eth_common.c | 18 char enetvar[32]; in eth_env_get_enetaddr_by_index() local 19 sprintf(enetvar, index ? "%s%daddr" : "%saddr", base_name, index); in eth_env_get_enetaddr_by_index() 20 return eth_env_get_enetaddr(enetvar, enetaddr); in eth_env_get_enetaddr_by_index() 26 char enetvar[32]; in eth_env_set_enetaddr_by_index() local 27 sprintf(enetvar, index ? "%s%daddr" : "%saddr", base_name, index); in eth_env_set_enetaddr_by_index() 28 return eth_env_set_enetaddr(enetvar, enetaddr); in eth_env_set_enetaddr_by_index() 45 char enetvar[15]; in eth_mac_skip() local 48 sprintf(enetvar, index ? "eth%dmacskip" : "ethmacskip", index); in eth_mac_skip() 49 skip_state = env_get(enetvar); in eth_mac_skip()
|
/external/u-boot/board/freescale/mpc8323erdb/ |
D | mpc8323erdb.c | 197 unsigned char enetvar[32]; in mac_read_from_eeprom() local 217 sprintf((char *)enetvar, in mac_read_from_eeprom() 219 env_set((char *)enetvar, str); in mac_read_from_eeprom()
|
/external/u-boot/board/varisys/common/ |
D | sys_eeprom.c | 475 char enetvar[9]; in mac_read_from_eeprom_common() local 484 sprintf(enetvar, i ? "eth%daddr" : "ethaddr", i); in mac_read_from_eeprom_common() 488 if (!env_get(enetvar)) in mac_read_from_eeprom_common() 489 env_set(enetvar, ethaddr); in mac_read_from_eeprom_common()
|
/external/u-boot/board/freescale/common/ |
D | sys_eeprom.c | 467 char enetvar[9]; in mac_read_from_eeprom() local 476 sprintf(enetvar, i ? "eth%daddr" : "ethaddr", i); in mac_read_from_eeprom() 480 if (!env_get(enetvar)) in mac_read_from_eeprom() 481 env_set(enetvar, ethaddr); in mac_read_from_eeprom()
|