Home
last modified time | relevance | path

Searched refs:ethaddr_str (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/arch/mips/alchemy/common/
Dprom.c108 char *ethaddr_str; in prom_get_ethernet_addr() local
111 ethaddr_str = prom_getenv("ethaddr"); in prom_get_ethernet_addr()
112 if (!ethaddr_str) { in prom_get_ethernet_addr()
114 ethaddr_str = strstr(arcs_cmdline, "ethaddr="); in prom_get_ethernet_addr()
115 if (!ethaddr_str) in prom_get_ethernet_addr()
118 ethaddr_str += strlen("ethaddr="); in prom_get_ethernet_addr()
121 str2eaddr(ethernet_addr, ethaddr_str); in prom_get_ethernet_addr()
/Linux-v5.4/arch/mips/pmcs-msp71xx/
Dmsp_prom.c147 char *ethaddr_str; in get_ethernet_addr() local
149 ethaddr_str = prom_getenv(ethaddr_name); in get_ethernet_addr()
150 if (!ethaddr_str) { in get_ethernet_addr()
155 if (str2eaddr(ethernet_addr, ethaddr_str) == -1) { in get_ethernet_addr()
157 ethaddr_name, ethaddr_str); in get_ethernet_addr()