Lines Matching defs:mii
70 #include <linux/mii.h>
706 struct mii_ioctl_data *mii;
734 /* Yes, the mii is overlaid on the ifreq.ifr_ifru */
736 mii = if_mii(&ifr);
738 mii->reg_num = MII_BMSR;
740 return mii->val_out & BMSR_LSTATUS;
1940 /* unable get link status using mii/ethtool */
2620 * Really a wrapper that splits the mii monitor into two phases: an
3947 struct mii_ioctl_data *mii = NULL;
3956 mii = if_mii(ifr);
3957 if (!mii)
3960 mii->phy_id = 0;
3966 mii = if_mii(ifr);
3967 if (!mii)
3970 if (mii->reg_num == 1) {
3971 mii->val_out = 0;
3973 mii->val_out = BMSR_LSTATUS;