Lines Matching defs:mdio
40 #include <trace/events/mdio.h>
42 #include "mdio-boardinfo.h"
131 return container_of(mdiodev, struct phy_device, mdio);
453 /* Walk the list of subnodes of a mdio bus and look for a node that
454 * matches the mdio device's address with its 'reg' property. If
455 * found, set the of_node pointer for the mdio device. This allows
477 /* The refcount on "child" is passed to the mdio
485 static inline void of_mdiobus_link_mdiodev(struct mii_bus *mdio,
533 of_mdiobus_link_mdiodev(bus, &phydev->mdio);
843 * Read a MDIO bus register. Caller must hold the mdio bus lock.
872 * Write a MDIO bus register. Caller must hold the mdio bus lock.
933 * Read a MDIO bus register. Caller must hold the mdio bus lock.
963 * Write a MDIO bus register. Caller must hold the mdio bus lock.
1219 * __mdiobus_modify - Convenience function for modifying a given mdio device
1239 * mdiobus_modify - Convenience function for modifying a given mdio device
1260 * mdiobus_c45_modify - Convenience function for modifying a given mdio device
1284 * mdiobus_modify_changed - Convenience function for modifying a given mdio
1306 * mdiobus_c45_modify_changed - Convenience function for modifying a given mdio
1342 struct mdio_device *mdio = to_mdio_device(dev);
1346 !(mdio->flags & MDIO_DEVICE_FLAG_PHY))
1352 if (mdio->bus_match)
1353 return mdio->bus_match(dev, drv);