Lines Matching defs:macaddr
140 static void bcm47xx_nvram_parse_macaddr(char *buf, u8 macaddr[6])
143 sscanf(buf, "%hhx:%hhx:%hhx:%hhx:%hhx:%hhx", &macaddr[0],
144 &macaddr[1], &macaddr[2], &macaddr[3], &macaddr[4],
145 &macaddr[5]);
147 sscanf(buf, "%hhx-%hhx-%hhx-%hhx-%hhx-%hhx", &macaddr[0],
148 &macaddr[1], &macaddr[2], &macaddr[3], &macaddr[4],
149 &macaddr[5]);
542 nvram_read_macaddr(prefix, "macaddr", sprom->il0mac, fallback);