Home
last modified time | relevance | path

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

/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.c2809 return container_of(to_platform_driver(pdev->dev.driver), in pdev_to_platform_driver_dev_ctx()
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_drv.c343 if (rockchip_sub_drivers[i] == to_platform_driver(drv)) { in rockchip_drm_endpoint_is_subdriver()
/linux/drivers/platform/x86/
H A Dasus-wmi.c4734 struct platform_driver *pdrv = to_platform_driver(pdev->dev.driver); in asus_wmi_add()
5069 struct platform_driver *pdrv = to_platform_driver(pdev->dev.driver); in asus_wmi_probe()