Lines Matching refs:_dev
746 static int platform_drv_probe(struct device *_dev)
748 struct platform_driver *drv = to_platform_driver(_dev->driver);
749 struct platform_device *dev = to_platform_device(_dev);
752 ret = of_clk_set_defaults(_dev->of_node, false);
756 ret = dev_pm_domain_attach(_dev, true);
763 dev_pm_domain_detach(_dev, true);
768 dev_warn(_dev, "probe deferral not supported\n");
775 static int platform_drv_probe_fail(struct device *_dev)
780 static int platform_drv_remove(struct device *_dev)
782 struct platform_driver *drv = to_platform_driver(_dev->driver);
783 struct platform_device *dev = to_platform_device(_dev);
788 dev_pm_domain_detach(_dev, true);
793 static void platform_drv_shutdown(struct device *_dev)
795 struct platform_driver *drv = to_platform_driver(_dev->driver);
796 struct platform_device *dev = to_platform_device(_dev);