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