Searched refs:to_platform_driver (Results 1 – 9 of 9) sorted by relevance
1097 struct platform_driver *pdrv = to_platform_driver(dev->driver); in platform_legacy_suspend()1109 struct platform_driver *pdrv = to_platform_driver(dev->driver); in platform_legacy_resume()1338 struct platform_driver *pdrv = to_platform_driver(drv); in platform_match()1381 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_probe()1420 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_remove()1436 drv = to_platform_driver(_dev->driver); in platform_shutdown()1443 struct platform_driver *drv = to_platform_driver(dev->driver); in platform_dma_configure()1466 struct platform_driver *drv = to_platform_driver(dev->driver); in platform_dma_cleanup()
358 drv = to_platform_driver(dev->driver); in ibmebus_bus_device_probe()377 struct platform_driver *drv = to_platform_driver(dev->driver); in ibmebus_bus_device_remove()386 struct platform_driver *drv = to_platform_driver(dev->driver); in ibmebus_bus_device_shutdown()
130 return container_of(to_platform_driver(pdev->dev.driver), in to_test_context()
27 struct platform_driver *pdrv = to_platform_driver(drv); in platform_match()
255 #define to_platform_driver(drv) (container_of((drv), struct platform_driver, \ macro
287 return container_of(to_platform_driver(pdev->dev.driver), in pdev_to_clk_fixed_rate_of_test_context()
2811 return container_of(to_platform_driver(pdev->dev.driver), in clk_register_clk_parent_data_driver_to_test_context()
345 if (rockchip_sub_drivers[i] == to_platform_driver(drv)) { in rockchip_drm_endpoint_is_subdriver()
4687 struct platform_driver *pdrv = to_platform_driver(pdev->dev.driver); in asus_wmi_add()4994 struct platform_driver *pdrv = to_platform_driver(pdev->dev.driver); in asus_wmi_probe()