Home
last modified time | relevance | path

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

/openbmc/linux/drivers/base/
H A Dplatform.c1097 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()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dibmebus.c358 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()
/openbmc/linux/arch/sh/drivers/
H A Dplatform_early.c27 struct platform_driver *pdrv = to_platform_driver(drv); in platform_match()
/openbmc/linux/include/linux/
H A Dplatform_device.h266 #define to_platform_driver(drv) (container_of((drv), struct platform_driver, \ macro
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_drv.c339 if (rockchip_sub_drivers[i] == to_platform_driver(drv)) { in rockchip_drm_endpoint_is_subdriver()
/openbmc/linux/drivers/platform/x86/
H A Dasus-wmi.c4328 struct platform_driver *pdrv = to_platform_driver(pdev->dev.driver); in asus_wmi_add()
4585 struct platform_driver *pdrv = to_platform_driver(pdev->dev.driver); in asus_wmi_probe()