Lines Matching refs:mii_dev
35 static struct mii_dev *current_mii;
40 struct mii_dev *miiphy_get_dev_by_name(const char *devname) in miiphy_get_dev_by_name()
43 struct mii_dev *dev; in miiphy_get_dev_by_name()
51 dev = list_entry(entry, struct mii_dev, link); in miiphy_get_dev_by_name()
69 struct mii_dev *mdio_alloc(void) in mdio_alloc()
71 struct mii_dev *bus; in mdio_alloc()
85 void mdio_free(struct mii_dev *bus) in mdio_free()
90 int mdio_register(struct mii_dev *bus) in mdio_register()
111 int mdio_register_seq(struct mii_dev *bus, int seq) in mdio_register_seq()
123 int mdio_unregister(struct mii_dev *bus) in mdio_unregister()
143 struct mii_dev *bus = list_entry(entry, struct mii_dev, link); in mdio_list_devices()
164 struct mii_dev *dev; in miiphy_set_current_dev()
177 struct mii_dev *mdio_get_current_dev(void) in mdio_get_current_dev()
190 struct mii_dev *bus; in mdio_phydev_for_ethname()
194 bus = list_entry(entry, struct mii_dev, link); in mdio_phydev_for_ethname()
217 static struct mii_dev *miiphy_get_active_dev(const char *devname) in miiphy_get_active_dev()
244 struct mii_dev *bus; in miiphy_read()
272 struct mii_dev *bus; in miiphy_write()
288 struct mii_dev *dev; in miiphy_listdev()
292 dev = list_entry(entry, struct mii_dev, link); in miiphy_listdev()