Lines Matching refs:mii
716 lp->mii.phy_id = phyaddr & 31; in smc911x_phy_detect()
730 lp->mii.phy_id = 1; in smc911x_phy_detect()
735 id1, id2, lp->mii.phy_id); in smc911x_phy_detect()
745 int phyaddr = lp->mii.phy_id; in smc911x_phy_fixed()
851 int phyaddr = lp->mii.phy_id; in smc911x_phy_check_media()
856 if (mii_check_media(&lp->mii, netif_msg_link(lp), init)) { in smc911x_phy_check_media()
860 if (lp->mii.full_duplex) { in smc911x_phy_check_media()
888 int phyaddr = lp->mii.phy_id; in smc911x_phy_configure()
917 if (lp->mii.force_media) { in smc911x_phy_configure()
953 lp->mii.advertising = my_ad_caps; in smc911x_phy_configure()
984 int phyaddr = lp->mii.phy_id; in smc911x_phy_interrupt()
1436 smc911x_phy_powerdown(dev, lp->mii.phy_id); in smc911x_close()
1463 ret = mii_ethtool_gset(&lp->mii, cmd); in smc911x_ethtool_getsettings()
1476 if (lp->mii.phy_id==1) in smc911x_ethtool_getsettings()
1481 SMC_GET_PHY_SPECIAL(lp, lp->mii.phy_id, status); in smc911x_ethtool_getsettings()
1500 ret = mii_ethtool_sset(&lp->mii, cmd); in smc911x_ethtool_setsettings()
1534 ret = mii_nway_restart(&lp->mii); in smc911x_ethtool_nwayreset()
1580 SMC_GET_MII(lp, i, lp->mii.phy_id, reg); in smc911x_ethtool_getregs()
1936 lp->mii.phy_id_mask = 0x1f; in smc911x_probe()
1937 lp->mii.reg_num_mask = 0x1f; in smc911x_probe()
1938 lp->mii.force_media = 0; in smc911x_probe()
1939 lp->mii.full_duplex = 0; in smc911x_probe()
1940 lp->mii.dev = dev; in smc911x_probe()
1941 lp->mii.mdio_read = smc911x_phy_read; in smc911x_probe()
1942 lp->mii.mdio_write = smc911x_phy_write; in smc911x_probe()