Lines Matching refs:iap
1644 unsigned char *iap, tmpaddr[ETH_ALEN]; in fec_get_mac() local
1652 iap = macaddr; in fec_get_mac()
1657 if (!is_valid_ether_addr(iap)) { in fec_get_mac()
1662 iap = (unsigned char *) mac; in fec_get_mac()
1669 if (!is_valid_ether_addr(iap)) { in fec_get_mac()
1672 iap = (unsigned char *)FEC_FLASHMAC; in fec_get_mac()
1675 iap = (unsigned char *)&pdata->mac; in fec_get_mac()
1682 if (!is_valid_ether_addr(iap)) { in fec_get_mac()
1687 iap = &tmpaddr[0]; in fec_get_mac()
1693 if (!is_valid_ether_addr(iap)) { in fec_get_mac()
1695 dev_err(&fep->pdev->dev, "Invalid MAC address: %pM\n", iap); in fec_get_mac()
1702 memcpy(ndev->dev_addr, iap, ETH_ALEN); in fec_get_mac()
1705 if (iap == macaddr) in fec_get_mac()