Lines Matching defs:mii
72 #include <linux/mii.h>
747 struct mii_ioctl_data *mii;
775 /* Yes, the mii is overlaid on the ifreq.ifr_ifru */
777 mii = if_mii(&ifr);
779 mii->reg_num = MII_BMSR;
781 return mii->val_out & BMSR_LSTATUS;
2067 /* unable get link status using mii/ethtool */
2802 * Really a wrapper that splits the mii monitor into two phases: an
4457 struct mii_ioctl_data *mii = NULL;
4463 mii = if_mii(ifr);
4464 if (!mii)
4467 mii->phy_id = 0;
4473 mii = if_mii(ifr);
4474 if (!mii)
4477 if (mii->reg_num == 1) {
4478 mii->val_out = 0;
4480 mii->val_out = BMSR_LSTATUS;