Searched refs:to_platform_driver (Results 1 – 6 of 6) 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()1442 drv = to_platform_driver(_dev->driver); in platform_shutdown()1449 struct platform_driver *drv = to_platform_driver(dev->driver); in platform_dma_configure()1471 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()
27 struct platform_driver *pdrv = to_platform_driver(drv); in platform_match()
266 #define to_platform_driver(drv) (container_of((drv), struct platform_driver, \ macro
339 if (rockchip_sub_drivers[i] == to_platform_driver(drv)) { in rockchip_drm_endpoint_is_subdriver()
4328 struct platform_driver *pdrv = to_platform_driver(pdev->dev.driver); in asus_wmi_add()4577 struct platform_driver *pdrv = to_platform_driver(pdev->dev.driver); in asus_wmi_probe()