Home
last modified time | relevance | path

Searched refs:to_mdio_device (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/phy/ !
H A Dmdio_bus.c212 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_bus_device_stat_field_show()
950 struct mdio_device *mdio = to_mdio_device(dev); in mdio_bus_match()
H A Dphy_device.c3334 return to_mdio_device(d); in fwnode_mdio_find_device()
/linux/include/linux/ !
H A Dmdio.h48 #define to_mdio_device(__dev) container_of_const(__dev, struct mdio_device, dev) macro
H A Dphy.h771 #define to_phy_device(__dev) container_of_const(to_mdio_device(__dev), struct phy_device, mdio)