Lines Matching refs:orig_mac
778 u32 orig_mac[2]; member
5812 np->orig_mac[0] = readl(base + NvRegMacAddrA); in nv_probe()
5813 np->orig_mac[1] = readl(base + NvRegMacAddrB); in nv_probe()
5819 dev->dev_addr[0] = (np->orig_mac[0] >> 0) & 0xff; in nv_probe()
5820 dev->dev_addr[1] = (np->orig_mac[0] >> 8) & 0xff; in nv_probe()
5821 dev->dev_addr[2] = (np->orig_mac[0] >> 16) & 0xff; in nv_probe()
5822 dev->dev_addr[3] = (np->orig_mac[0] >> 24) & 0xff; in nv_probe()
5823 dev->dev_addr[4] = (np->orig_mac[1] >> 0) & 0xff; in nv_probe()
5824 dev->dev_addr[5] = (np->orig_mac[1] >> 8) & 0xff; in nv_probe()
5827 dev->dev_addr[0] = (np->orig_mac[0] >> 0) & 0xff; in nv_probe()
5828 dev->dev_addr[1] = (np->orig_mac[0] >> 8) & 0xff; in nv_probe()
5829 dev->dev_addr[2] = (np->orig_mac[0] >> 16) & 0xff; in nv_probe()
5830 dev->dev_addr[3] = (np->orig_mac[0] >> 24) & 0xff; in nv_probe()
5831 dev->dev_addr[4] = (np->orig_mac[1] >> 0) & 0xff; in nv_probe()
5832 dev->dev_addr[5] = (np->orig_mac[1] >> 8) & 0xff; in nv_probe()
5838 np->orig_mac[0] = (dev->dev_addr[5] << 0) + (dev->dev_addr[4] << 8) + in nv_probe()
5840 np->orig_mac[1] = (dev->dev_addr[1] << 0) + (dev->dev_addr[0] << 8); in nv_probe()
5843 dev->dev_addr[0] = (np->orig_mac[1] >> 8) & 0xff; in nv_probe()
5844 dev->dev_addr[1] = (np->orig_mac[1] >> 0) & 0xff; in nv_probe()
5845 dev->dev_addr[2] = (np->orig_mac[0] >> 24) & 0xff; in nv_probe()
5846 dev->dev_addr[3] = (np->orig_mac[0] >> 16) & 0xff; in nv_probe()
5847 dev->dev_addr[4] = (np->orig_mac[0] >> 8) & 0xff; in nv_probe()
5848 dev->dev_addr[5] = (np->orig_mac[0] >> 0) & 0xff; in nv_probe()
6111 writel(np->orig_mac[0], base + NvRegMacAddrA); in nv_restore_mac_addr()
6112 writel(np->orig_mac[1], base + NvRegMacAddrB); in nv_restore_mac_addr()