Lines Matching refs:phyaddr
1257 unsigned phyaddr; in mxfe_startphymii() local
1269 for (phyaddr = 0; phyaddr < 32; phyaddr++) { in mxfe_startphymii()
1270 bmsr = mxfe_miiread(mxfep, phyaddr, MII_STATUS); in mxfe_startphymii()
1272 mxfep->mxfe_phyaddr = phyaddr; in mxfe_startphymii()
1277 phyidr1 = mxfe_miiread(mxfep, phyaddr, MII_PHYIDH); in mxfe_startphymii()
1278 phyidr2 = mxfe_miiread(mxfep, phyaddr, MII_PHYIDL); in mxfe_startphymii()
1301 DBG(DPHY, "phy at %d: %x,%x", phyaddr, phyidr1, phyidr2); in mxfe_startphymii()
1314 mxfe_miiwrite(mxfep, phyaddr, MII_CONTROL, MII_CONTROL_RESET); in mxfe_startphymii()
1321 if (mxfe_miiread(mxfep, phyaddr, MII_CONTROL) & in mxfe_startphymii()
1335 bmsr = mxfe_miiread(mxfep, phyaddr, MII_STATUS); in mxfe_startphymii()
1336 bmcr = mxfe_miiread(mxfep, phyaddr, MII_CONTROL); in mxfe_startphymii()
1337 anar = mxfe_miiread(mxfep, phyaddr, MII_AN_ADVERT); in mxfe_startphymii()
1422 mxfe_miiwrite(mxfep, phyaddr, MII_AN_ADVERT, anar); in mxfe_startphymii()
1424 mxfe_miiwrite(mxfep, phyaddr, MII_CONTROL, bmcr); in mxfe_startphymii()