Home
last modified time | relevance | path

Searched refs:to_platform_driver (Results 1 – 6 of 6) sorted by relevance

/linux/arch/powerpc/platforms/pseries/
A Dibmebus.c353 drv = to_platform_driver(dev->driver); in ibmebus_bus_device_probe()
372 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()
/linux/drivers/base/
A Dplatform.c1084 struct platform_driver *pdrv = to_platform_driver(dev->driver); in platform_legacy_suspend()
1096 struct platform_driver *pdrv = to_platform_driver(dev->driver); in platform_legacy_resume()
1345 struct platform_driver *pdrv = to_platform_driver(drv); in platform_match()
1388 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_probe()
1427 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_remove()
1447 drv = to_platform_driver(_dev->driver); in platform_shutdown()
/linux/arch/sh/drivers/
A Dplatform_early.c27 struct platform_driver *pdrv = to_platform_driver(drv); in platform_match()
/linux/include/linux/
A Dplatform_device.h215 #define to_platform_driver(drv) (container_of((drv), struct platform_driver, \ macro
/linux/drivers/gpu/drm/rockchip/
A Drockchip_drm_drv.c298 if (rockchip_sub_drivers[i] == to_platform_driver(drv)) { in rockchip_drm_endpoint_is_subdriver()
/linux/drivers/platform/x86/
A Dasus-wmi.c2974 struct platform_driver *pdrv = to_platform_driver(pdev->dev.driver); in asus_wmi_add()
3232 struct platform_driver *pdrv = to_platform_driver(pdev->dev.driver); in asus_wmi_probe()

Completed in 15 milliseconds