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