Searched refs:to_platform_driver (Results 1 – 6 of 6) sorted by relevance
352 drv = to_platform_driver(dev->driver); in ibmebus_bus_device_probe()371 struct platform_driver *drv = to_platform_driver(dev->driver); in ibmebus_bus_device_remove()381 struct platform_driver *drv = to_platform_driver(dev->driver); in ibmebus_bus_device_shutdown()
748 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_probe()782 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_remove()795 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_shutdown()1173 struct platform_driver *pdrv = to_platform_driver(drv); in platform_match()1199 struct platform_driver *pdrv = to_platform_driver(dev->driver); in platform_legacy_suspend()1211 struct platform_driver *pdrv = to_platform_driver(dev->driver); in platform_legacy_resume()
27 struct platform_driver *pdrv = to_platform_driver(drv); in platform_match()
211 #define to_platform_driver(drv) (container_of((drv), struct platform_driver, \ macro
295 if (rockchip_sub_drivers[i] == to_platform_driver(drv)) { in rockchip_drm_endpoint_is_subdriver()
2550 struct platform_driver *pdrv = to_platform_driver(pdev->dev.driver); in asus_wmi_add()2775 struct platform_driver *pdrv = to_platform_driver(pdev->dev.driver); in asus_wmi_probe()