Lines Matching full:mii
19 #include <linux/mii.h>
250 return generic_mii_ioctl(&dev->mii, if_mii(rq), cmd, NULL); in sr9700_ioctl()
329 struct mii_if_info *mii; in sr9700_bind() local
346 mii = &dev->mii; in sr9700_bind()
347 mii->dev = netdev; in sr9700_bind()
348 mii->mdio_read = sr_mdio_read; in sr9700_bind()
349 mii->mdio_write = sr_mdio_write; in sr9700_bind()
350 mii->phy_id_mask = 0x1f; in sr9700_bind()
351 mii->reg_num_mask = 0x1f; in sr9700_bind()
379 sr_mdio_write(netdev, mii->phy_id, MII_BMCR, BMCR_RESET); in sr9700_bind()
380 sr_mdio_write(netdev, mii->phy_id, MII_ADVERTISE, ADVERTISE_ALL | in sr9700_bind()
382 mii_nway_restart(mii); in sr9700_bind()
517 mii_check_media(&dev->mii, 1, 1); in sr9700_link_reset()
518 mii_ethtool_gset(&dev->mii, &ecmd); in sr9700_link_reset()