Lines Matching refs:mdiodev
2015 qca8k_sw_probe(struct mdio_device *mdiodev) in qca8k_sw_probe() argument
2023 priv = devm_kzalloc(&mdiodev->dev, sizeof(*priv), GFP_KERNEL); in qca8k_sw_probe()
2027 priv->bus = mdiodev->bus; in qca8k_sw_probe()
2028 priv->dev = &mdiodev->dev; in qca8k_sw_probe()
2046 priv->regmap = devm_regmap_init(&mdiodev->dev, NULL, priv, in qca8k_sw_probe()
2060 priv->ds = devm_kzalloc(&mdiodev->dev, sizeof(*priv->ds), GFP_KERNEL); in qca8k_sw_probe()
2070 priv->ds->dev = &mdiodev->dev; in qca8k_sw_probe()
2075 dev_set_drvdata(&mdiodev->dev, priv); in qca8k_sw_probe()
2081 qca8k_sw_remove(struct mdio_device *mdiodev) in qca8k_sw_remove() argument
2083 struct qca8k_priv *priv = dev_get_drvdata(&mdiodev->dev); in qca8k_sw_remove()
2095 static void qca8k_sw_shutdown(struct mdio_device *mdiodev) in qca8k_sw_shutdown() argument
2097 struct qca8k_priv *priv = dev_get_drvdata(&mdiodev->dev); in qca8k_sw_shutdown()
2104 dev_set_drvdata(&mdiodev->dev, NULL); in qca8k_sw_shutdown()