Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/base/
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()
/Linux-v6.6/arch/powerpc/platforms/pseries/
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()
/Linux-v6.6/arch/sh/drivers/
Dplatform_early.c27 struct platform_driver *pdrv = to_platform_driver(drv); in platform_match()
/Linux-v6.6/include/linux/
Dplatform_device.h266 #define to_platform_driver(drv) (container_of((drv), struct platform_driver, \ macro
/Linux-v6.6/drivers/gpu/drm/rockchip/
Drockchip_drm_drv.c339 if (rockchip_sub_drivers[i] == to_platform_driver(drv)) { in rockchip_drm_endpoint_is_subdriver()
/Linux-v6.6/drivers/platform/x86/
Dasus-wmi.c4328 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()