Searched refs:mdiodev (Results 1 – 2 of 2) sorted by relevance
36 void (*device_free)(struct mdio_device *mdiodev);37 void (*device_remove)(struct mdio_device *mdiodev);65 int (*probe)(struct mdio_device *mdiodev);68 void (*remove)(struct mdio_device *mdiodev);71 void (*shutdown)(struct mdio_device *mdiodev);76 void mdio_device_free(struct mdio_device *mdiodev);78 int mdio_device_register(struct mdio_device *mdiodev);79 void mdio_device_remove(struct mdio_device *mdiodev);80 void mdio_device_reset(struct mdio_device *mdiodev, int value);275 int mdiobus_register_device(struct mdio_device *mdiodev);[all …]
108 struct mdio_device *mdiodev; in of_mdiobus_register_device() local111 mdiodev = mdio_device_create(mdio, addr); in of_mdiobus_register_device()112 if (IS_ERR(mdiodev)) in of_mdiobus_register_device()113 return PTR_ERR(mdiodev); in of_mdiobus_register_device()119 mdiodev->dev.of_node = child; in of_mdiobus_register_device()120 mdiodev->dev.fwnode = of_fwnode_handle(child); in of_mdiobus_register_device()123 rc = mdio_device_register(mdiodev); in of_mdiobus_register_device()125 mdio_device_free(mdiodev); in of_mdiobus_register_device()308 struct mdio_device *mdiodev; in of_phy_find_device() local315 mdiodev = to_mdio_device(d); in of_phy_find_device()[all …]