Lines Matching full:mii
19 #include <linux/mii.h>
243 return generic_mii_ioctl(&dev->mii, if_mii(rq), cmd, NULL); in sr9700_ioctl()
322 struct mii_if_info *mii; in sr9700_bind() local
339 mii = &dev->mii; in sr9700_bind()
340 mii->dev = netdev; in sr9700_bind()
341 mii->mdio_read = sr_mdio_read; in sr9700_bind()
342 mii->mdio_write = sr_mdio_write; in sr9700_bind()
343 mii->phy_id_mask = 0x1f; in sr9700_bind()
344 mii->reg_num_mask = 0x1f; in sr9700_bind()
372 sr_mdio_write(netdev, mii->phy_id, MII_BMCR, BMCR_RESET); in sr9700_bind()
373 sr_mdio_write(netdev, mii->phy_id, MII_ADVERTISE, ADVERTISE_ALL | in sr9700_bind()
375 mii_nway_restart(mii); in sr9700_bind()
514 mii_check_media(&dev->mii, 1, 1); in sr9700_link_reset()
515 mii_ethtool_gset(&dev->mii, &ecmd); in sr9700_link_reset()