Lines Matching defs:mac
569 u64 mac = *pmac;
572 old_mac = fdt_getprop(initial_boot_params, n, "local-mac-address",
577 new_mac[0] = (mac >> 40) & 0xff;
578 new_mac[1] = (mac >> 32) & 0xff;
579 new_mac[2] = (mac >> 24) & 0xff;
580 new_mac[3] = (mac >> 16) & 0xff;
581 new_mac[4] = (mac >> 8) & 0xff;
582 new_mac[5] = mac & 0xff;
584 r = fdt_setprop_inplace(initial_boot_params, n, "local-mac-address",
588 pr_err("Setting \"local-mac-address\" failed %d", r);
591 *pmac = mac + 1;