Lines Matching full:platform
3 * Test managed platform driver
41 * kunit_platform_device_alloc() - Allocate a KUnit test managed platform device
43 * @name: device name of platform device to alloc
44 * @id: identifier of platform device to alloc.
46 * Allocate a test managed platform device. The device is put when the test completes.
48 * Return: Allocated platform device on success, NULL on failure.
84 * kunit_platform_device_add() - Register a KUnit test managed platform device
86 * @pdev: platform device to add
88 * Register a test managed platform device. The device is unregistered when the
105 * Transfer the reference count of the platform device if it in kunit_platform_device_add()
161 * variable to wait for a platform device to probe
163 * @pdev: platform device to prepare to wait for probe of
167 * completion forces a preemption, allowing the platform driver to probe.
184 * pdev = kunit_platform_device_alloc(test, "kunit-platform", -1);
192 * pdrv->driver.name = "kunit-platform";
238 * kunit_platform_driver_register() - Register a KUnit test managed platform driver
240 * @drv: platform driver to register
242 * Register a test managed platform driver. This allows callers to embed the
281 * ctx->pdrv.driver.name = "kunit-platform";