Lines Matching refs:mdiodev
137 static int ksz8863_smi_probe(struct mdio_device *mdiodev) in ksz8863_smi_probe() argument
144 dev = ksz_switch_alloc(&mdiodev->dev, mdiodev); in ksz8863_smi_probe()
151 dev->regmap[i] = devm_regmap_init(&mdiodev->dev, in ksz8863_smi_probe()
155 return dev_err_probe(&mdiodev->dev, in ksz8863_smi_probe()
162 if (mdiodev->dev.platform_data) in ksz8863_smi_probe()
163 dev->pdata = mdiodev->dev.platform_data; in ksz8863_smi_probe()
171 dev_set_drvdata(&mdiodev->dev, dev); in ksz8863_smi_probe()
176 static void ksz8863_smi_remove(struct mdio_device *mdiodev) in ksz8863_smi_remove() argument
178 struct ksz_device *dev = dev_get_drvdata(&mdiodev->dev); in ksz8863_smi_remove()
184 static void ksz8863_smi_shutdown(struct mdio_device *mdiodev) in ksz8863_smi_shutdown() argument
186 struct ksz_device *dev = dev_get_drvdata(&mdiodev->dev); in ksz8863_smi_shutdown()
191 dev_set_drvdata(&mdiodev->dev, NULL); in ksz8863_smi_shutdown()