Lines Matching defs:dev
493 if (!phydev->mdio.dev.of_node)
496 paddr = of_get_property(phydev->mdio.dev.of_node,
2653 static int marvell_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
2656 struct phy_device *phydev = dev_get_drvdata(dev);
2678 static int marvell_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
2681 struct phy_device *phydev = dev_get_drvdata(dev);
2762 struct device *dev = &phydev->mdio.dev;
2763 const char *devname = dev_name(dev);
2767 priv->hwmon_name = devm_kzalloc(dev, len, GFP_KERNEL);
2783 struct device *dev = &phydev->mdio.dev;
2794 dev, priv->hwmon_name, phydev, &marvell_hwmon_chip_info, NULL);
3166 priv = devm_kzalloc(&phydev->mdio.dev, sizeof(*priv), GFP_KERNEL);
3180 struct device *dev;
3187 dev = &phydev->mdio.dev;
3192 dev_info(dev, "%s SFP module inserted\n", phy_modes(interface));
3208 dev_err(dev, "Incompatible SFP module inserted\n");