Lines Matching refs:mii

715 						lp->mii.phy_id = phyaddr & 31;  in smc911x_phy_detect()
729 lp->mii.phy_id = 1; in smc911x_phy_detect()
734 id1, id2, lp->mii.phy_id); in smc911x_phy_detect()
744 int phyaddr = lp->mii.phy_id; in smc911x_phy_fixed()
850 int phyaddr = lp->mii.phy_id; in smc911x_phy_check_media()
855 if (mii_check_media(&lp->mii, netif_msg_link(lp), init)) { in smc911x_phy_check_media()
859 if (lp->mii.full_duplex) { in smc911x_phy_check_media()
887 int phyaddr = lp->mii.phy_id; in smc911x_phy_configure()
916 if (lp->mii.force_media) { in smc911x_phy_configure()
952 lp->mii.advertising = my_ad_caps; in smc911x_phy_configure()
983 int phyaddr = lp->mii.phy_id; in smc911x_phy_interrupt()
1435 smc911x_phy_powerdown(dev, lp->mii.phy_id); in smc911x_close()
1462 ret = mii_ethtool_gset(&lp->mii, cmd); in smc911x_ethtool_getsettings()
1475 if (lp->mii.phy_id==1) in smc911x_ethtool_getsettings()
1480 SMC_GET_PHY_SPECIAL(lp, lp->mii.phy_id, status); in smc911x_ethtool_getsettings()
1499 ret = mii_ethtool_sset(&lp->mii, cmd); in smc911x_ethtool_setsettings()
1533 ret = mii_nway_restart(&lp->mii); in smc911x_ethtool_nwayreset()
1579 SMC_GET_MII(lp, i, lp->mii.phy_id, reg); in smc911x_ethtool_getregs()
1935 lp->mii.phy_id_mask = 0x1f; in smc911x_probe()
1936 lp->mii.reg_num_mask = 0x1f; in smc911x_probe()
1937 lp->mii.force_media = 0; in smc911x_probe()
1938 lp->mii.full_duplex = 0; in smc911x_probe()
1939 lp->mii.dev = dev; in smc911x_probe()
1940 lp->mii.mdio_read = smc911x_phy_read; in smc911x_probe()
1941 lp->mii.mdio_write = smc911x_phy_write; in smc911x_probe()