Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dibmebus.c352 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()
/kernel/linux/linux-5.10/drivers/base/
Dplatform.c748 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()
/kernel/linux/linux-5.10/arch/sh/drivers/
Dplatform_early.c27 struct platform_driver *pdrv = to_platform_driver(drv); in platform_match()
/kernel/linux/linux-5.10/include/linux/
Dplatform_device.h211 #define to_platform_driver(drv) (container_of((drv), struct platform_driver, \ macro
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Drockchip_drm_drv.c295 if (rockchip_sub_drivers[i] == to_platform_driver(drv)) { in rockchip_drm_endpoint_is_subdriver()
/kernel/linux/linux-5.10/drivers/platform/x86/
Dasus-wmi.c2550 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()