Lines Matching refs:mdio_device
34 struct mdio_device { struct
41 void (*device_free)(struct mdio_device *mdiodev); argument
42 void (*device_remove)(struct mdio_device *mdiodev); argument
53 static inline struct mdio_device *to_mdio_device(const struct device *dev) in to_mdio_device() argument
55 return container_of(dev, struct mdio_device, dev); in to_mdio_device()
79 int (*probe)(struct mdio_device *mdiodev);
82 void (*remove)(struct mdio_device *mdiodev);
85 void (*shutdown)(struct mdio_device *mdiodev);
96 static inline void mdiodev_set_drvdata(struct mdio_device *mdio, void *data) in mdiodev_set_drvdata()
101 static inline void *mdiodev_get_drvdata(struct mdio_device *mdio) in mdiodev_get_drvdata()
106 void mdio_device_free(struct mdio_device *mdiodev);
107 struct mdio_device *mdio_device_create(struct mii_bus *bus, int addr);
108 int mdio_device_register(struct mdio_device *mdiodev);
109 void mdio_device_remove(struct mdio_device *mdiodev);
110 void mdio_device_reset(struct mdio_device *mdiodev, int value);
383 int mdiobus_register_device(struct mdio_device *mdiodev);
384 int mdiobus_unregister_device(struct mdio_device *mdiodev);