Lines Matching refs:iap
1929 unsigned char *iap, tmpaddr[ETH_ALEN]; in fec_get_mac() local
1938 iap = macaddr; in fec_get_mac()
1943 if (!is_valid_ether_addr(iap)) { in fec_get_mac()
1948 iap = tmpaddr; in fec_get_mac()
1957 if (!is_valid_ether_addr(iap)) { in fec_get_mac()
1960 iap = (unsigned char *)FEC_FLASHMAC; in fec_get_mac()
1965 iap = (unsigned char *)&pdata->mac; in fec_get_mac()
1972 if (!is_valid_ether_addr(iap)) { in fec_get_mac()
1977 iap = &tmpaddr[0]; in fec_get_mac()
1983 if (!is_valid_ether_addr(iap)) { in fec_get_mac()
1985 dev_err(&fep->pdev->dev, "Invalid MAC address: %pM\n", iap); in fec_get_mac()
1993 eth_hw_addr_gen(ndev, iap, iap == macaddr ? fep->dev_id : 0); in fec_get_mac()