Lines Matching defs:_dev
1379 static int platform_probe(struct device *_dev)
1381 struct platform_driver *drv = to_platform_driver(_dev->driver);
1382 struct platform_device *dev = to_platform_device(_dev);
1395 ret = of_clk_set_defaults(_dev->of_node, false);
1399 ret = dev_pm_domain_attach(_dev, true);
1406 dev_pm_domain_detach(_dev, true);
1411 dev_warn(_dev, "probe deferral not supported\n");
1418 static void platform_remove(struct device *_dev)
1420 struct platform_driver *drv = to_platform_driver(_dev->driver);
1421 struct platform_device *dev = to_platform_device(_dev);
1429 dev_warn(_dev, "remove callback returned a non-zero value. This will be ignored.\n");
1431 dev_pm_domain_detach(_dev, true);
1434 static void platform_shutdown(struct device *_dev)
1436 struct platform_device *dev = to_platform_device(_dev);
1439 if (!_dev->driver)
1442 drv = to_platform_driver(_dev->driver);