Lines Matching refs:mii_if
477 struct mii_if_info mii_if; member
957 rp->mii_if.dev = dev; in rhine_init_one_common()
958 rp->mii_if.mdio_read = mdio_read; in rhine_init_one_common()
959 rp->mii_if.mdio_write = mdio_write; in rhine_init_one_common()
960 rp->mii_if.phy_id_mask = 0x1f; in rhine_init_one_common()
961 rp->mii_if.reg_num_mask = 0x1f; in rhine_init_one_common()
1003 rp->mii_if.advertising = mdio_read(dev, phy_id, 4); in rhine_init_one_common()
1007 mii_status, rp->mii_if.advertising, in rhine_init_one_common()
1018 rp->mii_if.phy_id = phy_id; in rhine_init_one_common()
1352 if (!rp->mii_if.force_media) in rhine_check_media()
1353 mii_check_media(&rp->mii_if, netif_msg_link(rp), init_media); in rhine_check_media()
1355 if (rp->mii_if.full_duplex) in rhine_check_media()
1363 rp->mii_if.force_media, netif_carrier_ok(dev)); in rhine_check_media()
1703 mdio_read(dev, rp->mii_if.phy_id, MII_BMSR)); in rhine_open()
1759 mdio_read(dev, rp->mii_if.phy_id, MII_BMSR)); in rhine_tx_timeout()
2294 mii_ethtool_get_link_ksettings(&rp->mii_if, cmd); in netdev_get_link_ksettings()
2307 rc = mii_ethtool_set_link_ksettings(&rp->mii_if, cmd); in netdev_set_link_ksettings()
2308 rhine_set_carrier(&rp->mii_if); in netdev_set_link_ksettings()
2318 return mii_nway_restart(&rp->mii_if); in netdev_nway_reset()
2325 return mii_link_ok(&rp->mii_if); in netdev_get_link()
2396 rc = generic_mii_ioctl(&rp->mii_if, if_mii(rq), cmd, NULL); in netdev_ioctl()
2397 rhine_set_carrier(&rp->mii_if); in netdev_ioctl()