Lines Matching refs:dev_addr
3073 mac[0] = (dev->dev_addr[0] << 0) + (dev->dev_addr[1] << 8) + in nv_copy_mac_to_hw()
3074 (dev->dev_addr[2] << 16) + (dev->dev_addr[3] << 24); in nv_copy_mac_to_hw()
3075 mac[1] = (dev->dev_addr[4] << 0) + (dev->dev_addr[5] << 8); in nv_copy_mac_to_hw()
3094 memcpy(dev->dev_addr, macaddr->sa_data, ETH_ALEN); in nv_set_mac_address()
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()
5803 (dev->dev_addr[3] << 16) + (dev->dev_addr[2] << 24); 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()
5819 if (!is_valid_ether_addr(dev->dev_addr)) { in nv_probe()
5826 dev->dev_addr); in nv_probe()
5829 "Using random MAC address: %pM\n", dev->dev_addr); in nv_probe()
6005 dev->name, np->phy_oui, np->phyaddr, dev->dev_addr); in nv_probe()