Lines Matching defs:mdio
39 #include <trace/events/mdio.h>
41 #include "mdio-boardinfo.h"
124 return container_of(mdiodev, struct phy_device, mdio);
443 /* Walk the list of subnodes of a mdio bus and look for a node that
444 * matches the mdio device's address with its 'reg' property. If
445 * found, set the of_node pointer for the mdio device. This allows
473 static inline void of_mdiobus_link_mdiodev(struct mii_bus *mdio,
709 of_mdiobus_link_mdiodev(bus, &phydev->mdio);
747 * Read a MDIO bus register. Caller must hold the mdio bus lock.
773 * Write a MDIO bus register. Caller must hold the mdio bus lock.
921 * mdiobus_modify - Convenience function for modifying a given mdio device
954 struct mdio_device *mdio = to_mdio_device(dev);
959 if (mdio->bus_match)
960 return mdio->bus_match(dev, drv);