Lines Matching refs:orig_mac
767 u32 orig_mac[2];
5570 np->orig_mac[0] = readl(base + NvRegMacAddrA);
5571 np->orig_mac[1] = readl(base + NvRegMacAddrB);
5576 dev->dev_addr[0] = (np->orig_mac[0] >> 0) & 0xff;
5577 dev->dev_addr[1] = (np->orig_mac[0] >> 8) & 0xff;
5578 dev->dev_addr[2] = (np->orig_mac[0] >> 16) & 0xff;
5579 dev->dev_addr[3] = (np->orig_mac[0] >> 24) & 0xff;
5580 dev->dev_addr[4] = (np->orig_mac[1] >> 0) & 0xff;
5581 dev->dev_addr[5] = (np->orig_mac[1] >> 8) & 0xff;
5584 dev->dev_addr[0] = (np->orig_mac[0] >> 0) & 0xff;
5585 dev->dev_addr[1] = (np->orig_mac[0] >> 8) & 0xff;
5586 dev->dev_addr[2] = (np->orig_mac[0] >> 16) & 0xff;
5587 dev->dev_addr[3] = (np->orig_mac[0] >> 24) & 0xff;
5588 dev->dev_addr[4] = (np->orig_mac[1] >> 0) & 0xff;
5589 dev->dev_addr[5] = (np->orig_mac[1] >> 8) & 0xff;
5595 np->orig_mac[0] = (dev->dev_addr[5] << 0) + (dev->dev_addr[4] << 8) +
5597 np->orig_mac[1] = (dev->dev_addr[1] << 0) + (dev->dev_addr[0] << 8);
5600 dev->dev_addr[0] = (np->orig_mac[1] >> 8) & 0xff;
5601 dev->dev_addr[1] = (np->orig_mac[1] >> 0) & 0xff;
5602 dev->dev_addr[2] = (np->orig_mac[0] >> 24) & 0xff;
5603 dev->dev_addr[3] = (np->orig_mac[0] >> 16) & 0xff;
5604 dev->dev_addr[4] = (np->orig_mac[0] >> 8) & 0xff;
5605 dev->dev_addr[5] = (np->orig_mac[0] >> 0) & 0xff;
5875 writel(np->orig_mac[0], base + NvRegMacAddrA);
5876 writel(np->orig_mac[1], base + NvRegMacAddrB);