Home
last modified time | relevance | path

Searched refs:enetvar (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/net/
H A Deth_common.c18 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()
/openbmc/u-boot/board/freescale/mpc8323erdb/
H A Dmpc8323erdb.c197 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()
/openbmc/u-boot/board/varisys/common/
H A Dsys_eeprom.c475 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()
/openbmc/u-boot/board/freescale/common/
H A Dsys_eeprom.c467 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()