Lines Matching refs:mdiodev
142 static int realtek_mdio_probe(struct mdio_device *mdiodev) in realtek_mdio_probe() argument
145 struct device *dev = &mdiodev->dev; in realtek_mdio_probe()
155 priv = devm_kzalloc(&mdiodev->dev, sizeof(*priv), GFP_KERNEL); in realtek_mdio_probe()
178 priv->mdio_addr = mdiodev->addr; in realtek_mdio_probe()
179 priv->bus = mdiodev->bus; in realtek_mdio_probe()
180 priv->dev = &mdiodev->dev; in realtek_mdio_probe()
236 static void realtek_mdio_remove(struct mdio_device *mdiodev) in realtek_mdio_remove() argument
238 struct realtek_priv *priv = dev_get_drvdata(&mdiodev->dev); in realtek_mdio_remove()
250 static void realtek_mdio_shutdown(struct mdio_device *mdiodev) in realtek_mdio_shutdown() argument
252 struct realtek_priv *priv = dev_get_drvdata(&mdiodev->dev); in realtek_mdio_shutdown()
259 dev_set_drvdata(&mdiodev->dev, NULL); in realtek_mdio_shutdown()