Lines Matching refs:phyaddr
406 int phyaddr; member
517 miicontrol = mii_rw(nic, np->phyaddr, MII_BMCR, MII_READ); in phy_reset()
519 if (mii_rw(nic, np->phyaddr, MII_BMCR, miicontrol)) { in phy_reset()
529 miicontrol = mii_rw(nic, np->phyaddr, MII_BMCR, MII_READ); in phy_reset()
544 reg = mii_rw(nic, np->phyaddr, MII_ADVERTISE, MII_READ); in phy_init()
548 if (mii_rw(nic, np->phyaddr, MII_ADVERTISE, reg)) { in phy_init()
557 mii_status = mii_rw(nic, np->phyaddr, MII_BMSR, MII_READ); in phy_init()
562 mii_rw(nic, np->phyaddr, MII_CTRL1000, MII_READ); in phy_init()
570 (nic, np->phyaddr, MII_CTRL1000, mii_control_1000)) { in phy_init()
586 mii_rw(nic, np->phyaddr, MII_RESV1, MII_READ); in phy_init()
589 if (mii_rw(nic, np->phyaddr, MII_RESV1, phy_reserved)) { in phy_init()
594 mii_rw(nic, np->phyaddr, MII_NCONFIG, MII_READ); in phy_init()
596 if (mii_rw(nic, np->phyaddr, MII_NCONFIG, phy_reserved)) { in phy_init()
603 mii_rw(nic, np->phyaddr, MII_SREVISION, MII_READ); in phy_init()
605 if (mii_rw(nic, np->phyaddr, MII_SREVISION, phy_reserved)) { in phy_init()
612 mii_control = mii_rw(nic, np->phyaddr, MII_BMCR, MII_READ); in phy_init()
614 if (mii_rw(nic, np->phyaddr, MII_BMCR, mii_control)) { in phy_init()
730 mii_rw(nic, np->phyaddr, MII_BMSR, MII_READ); in update_linkspeed()
731 mii_status = mii_rw(nic, np->phyaddr, MII_BMSR, MII_READ); in update_linkspeed()
736 mii_status = mii_rw(nic, np->phyaddr, MII_BMSR, MII_READ); in update_linkspeed()
764 mii_rw(nic, np->phyaddr, MII_CTRL1000, MII_READ); in update_linkspeed()
766 mii_rw(nic, np->phyaddr, MII_STAT1000, MII_READ); in update_linkspeed()
779 adv = mii_rw(nic, np->phyaddr, MII_ADVERTISE, MII_READ); in update_linkspeed()
780 lpa = mii_rw(nic, np->phyaddr, MII_LPA, MII_READ); in update_linkspeed()
1012 phyaddr << NVREG_ADAPTCTL_PHYSHIFT) | in forcedeth_reset()
1389 np->phyaddr = i; in forcedeth_probe()