Home
last modified time | relevance | path

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

/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()
1436 drv = to_platform_driver(_dev->driver); in platform_shutdown()
1443 struct platform_driver *drv = to_platform_driver(dev->driver); in platform_dma_configure()
1466 struct platform_driver *drv = to_platform_driver(dev->driver); in platform_dma_cleanup()
/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()
/linux/lib/kunit/
H A Dplatform-test.c130 return container_of(to_platform_driver(pdev->dev.driver), in to_test_context()
/linux/arch/sh/drivers/
H A Dplatform_early.c27 struct platform_driver *pdrv = to_platform_driver(drv); in platform_match()
/linux/include/linux/
H A Dplatform_device.h255 #define to_platform_driver(drv) (container_of((drv), struct platform_driver, \ macro
/linux/drivers/clk/
H A Dclk-fixed-rate_test.c287 return container_of(to_platform_driver(pdev->dev.driver), in pdev_to_clk_fixed_rate_of_test_context()
H A Dclk_test.c2811 return container_of(to_platform_driver(pdev->dev.driver), in clk_register_clk_parent_data_driver_to_test_context()
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_drv.c345 if (rockchip_sub_drivers[i] == to_platform_driver(drv)) { in rockchip_drm_endpoint_is_subdriver()
/linux/drivers/platform/x86/
H A Dasus-wmi.c4687 struct platform_driver *pdrv = to_platform_driver(pdev->dev.driver); in asus_wmi_add()
4994 struct platform_driver *pdrv = to_platform_driver(pdev->dev.driver); in asus_wmi_probe()