Searched refs:to_mdio_device (Results 1 – 5 of 5) sorted by relevance
33 kfree(to_mdio_device(dev)); in mdio_device_release()38 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_device_bus_match()148 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_probe()169 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_remove()184 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_shutdown()
242 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_bus_device_stat_field_show()982 struct mdio_device *mdio = to_mdio_device(dev); in mdio_bus_match()
2959 return to_mdio_device(d); in fwnode_mdio_find_device()
55 static inline struct mdio_device *to_mdio_device(const struct device *dev) in to_mdio_device() function
721 return container_of(to_mdio_device(dev), struct phy_device, mdio); in to_phy_device()