Lines Matching defs:mii_if
401 struct mii_if_info mii_if;
779 rp->mii_if.dev = dev;
780 rp->mii_if.mdio_read = mdio_read;
781 rp->mii_if.mdio_write = mdio_write;
782 rp->mii_if.phy_id_mask = 0x1f;
783 rp->mii_if.reg_num_mask = 0x1f;
817 rp->mii_if.advertising = mdio_read(dev, phy_id, 4);
821 mii_status, rp->mii_if.advertising,
832 rp->mii_if.phy_id = phy_id;
1011 mii_check_media(&rp->mii_if, debug, init_media);
1013 if (rp->mii_if.full_duplex)
1021 rp->mii_if.force_media, netif_carrier_ok(dev));
1176 mdio_read(dev, rp->mii_if.phy_id, MII_BMSR));
1222 mdio_read(dev, rp->mii_if.phy_id, MII_BMSR));
1731 rc = mii_ethtool_gset(&rp->mii_if, cmd);
1743 rc = mii_ethtool_sset(&rp->mii_if, cmd);
1745 rhine_set_carrier(&rp->mii_if);
1754 return mii_nway_restart(&rp->mii_if);
1761 return mii_link_ok(&rp->mii_if);
1828 rc = generic_mii_ioctl(&rp->mii_if, if_mii(rq), cmd, NULL);
1830 rhine_set_carrier(&rp->mii_if);