Lines Matching refs:orig_mac
778 u32 orig_mac[2]; member
5776 np->orig_mac[0] = readl(base + NvRegMacAddrA); in nv_probe()
5777 np->orig_mac[1] = readl(base + NvRegMacAddrB); in nv_probe()
5783 dev->dev_addr[0] = (np->orig_mac[0] >> 0) & 0xff; in nv_probe()
5784 dev->dev_addr[1] = (np->orig_mac[0] >> 8) & 0xff; in nv_probe()
5785 dev->dev_addr[2] = (np->orig_mac[0] >> 16) & 0xff; in nv_probe()
5786 dev->dev_addr[3] = (np->orig_mac[0] >> 24) & 0xff; in nv_probe()
5787 dev->dev_addr[4] = (np->orig_mac[1] >> 0) & 0xff; in nv_probe()
5788 dev->dev_addr[5] = (np->orig_mac[1] >> 8) & 0xff; in nv_probe()
5791 dev->dev_addr[0] = (np->orig_mac[0] >> 0) & 0xff; in nv_probe()
5792 dev->dev_addr[1] = (np->orig_mac[0] >> 8) & 0xff; in nv_probe()
5793 dev->dev_addr[2] = (np->orig_mac[0] >> 16) & 0xff; in nv_probe()
5794 dev->dev_addr[3] = (np->orig_mac[0] >> 24) & 0xff; in nv_probe()
5795 dev->dev_addr[4] = (np->orig_mac[1] >> 0) & 0xff; in nv_probe()
5796 dev->dev_addr[5] = (np->orig_mac[1] >> 8) & 0xff; in nv_probe()
5802 np->orig_mac[0] = (dev->dev_addr[5] << 0) + (dev->dev_addr[4] << 8) + in nv_probe()
5804 np->orig_mac[1] = (dev->dev_addr[1] << 0) + (dev->dev_addr[0] << 8); in nv_probe()
5807 dev->dev_addr[0] = (np->orig_mac[1] >> 8) & 0xff; in nv_probe()
5808 dev->dev_addr[1] = (np->orig_mac[1] >> 0) & 0xff; in nv_probe()
5809 dev->dev_addr[2] = (np->orig_mac[0] >> 24) & 0xff; in nv_probe()
5810 dev->dev_addr[3] = (np->orig_mac[0] >> 16) & 0xff; in nv_probe()
5811 dev->dev_addr[4] = (np->orig_mac[0] >> 8) & 0xff; in nv_probe()
5812 dev->dev_addr[5] = (np->orig_mac[0] >> 0) & 0xff; in nv_probe()
6075 writel(np->orig_mac[0], base + NvRegMacAddrA); in nv_restore_mac_addr()
6076 writel(np->orig_mac[1], base + NvRegMacAddrB); in nv_restore_mac_addr()