Lines Matching defs:mdiodev
205 return mdiodev_c45_read(xpcs->mdiodev, dev, reg);
210 return mdiodev_c45_write(xpcs->mdiodev, dev, reg, val);
216 return mdiodev_c45_modify_changed(xpcs->mdiodev, dev, reg, mask, set);
308 dev_warn(&(__xpcs)->mdiodev->dev, ##__args); \
1127 phylink_mii_c45_pcs_get_state(xpcs->mdiodev, state);
1368 static struct dw_xpcs *xpcs_create(struct mdio_device *mdiodev,
1379 mdio_device_get(mdiodev);
1380 xpcs->mdiodev = mdiodev;
1420 mdio_device_put(mdiodev);
1429 mdio_device_put(xpcs->mdiodev);
1437 struct mdio_device *mdiodev;
1440 mdiodev = mdio_device_create(bus, addr);
1441 if (IS_ERR(mdiodev))
1442 return ERR_CAST(mdiodev);
1444 xpcs = xpcs_create(mdiodev, interface);
1446 /* xpcs_create() has taken a refcount on the mdiodev if it was
1452 mdio_device_put(mdiodev);