Lines Matching defs:mii_if
137 struct mii_if_info mii_if;
654 mii_check_media(&lp->mii_if, 0, init_media);
656 if (lp->mii_if.full_duplex)
692 rc = generic_mii_ioctl(&lp->mii_if, data, cmd, NULL);
694 korina_set_carrier(&lp->mii_if);
716 rc = mii_ethtool_gset(&lp->mii_if, cmd);
728 rc = mii_ethtool_sset(&lp->mii_if, cmd);
730 korina_set_carrier(&lp->mii_if);
739 return mii_link_ok(&lp->mii_if);
1182 lp->mii_if.dev = dev;
1183 lp->mii_if.mdio_read = mdio_read;
1184 lp->mii_if.mdio_write = mdio_write;
1185 lp->mii_if.phy_id = lp->phy_addr;
1186 lp->mii_if.phy_id_mask = 0x1f;
1187 lp->mii_if.reg_num_mask = 0x1f;