Searched refs:kunit_platform_device_alloc (Results 1 – 2 of 2) sorted by relevance
| /linux/lib/kunit/ |
| H A D | platform-test.c | 17 kunit_platform_device_alloc(test, "kunit-platform", 1)); in kunit_platform_device_alloc_test() 30 pdev = kunit_platform_device_alloc(test, name, id); in kunit_platform_device_add_test() 49 pdev = kunit_platform_device_alloc(test, name, id); in kunit_platform_device_add_twice_fails_test() 53 pdev = kunit_platform_device_alloc(test, name, id); in kunit_platform_device_add_twice_fails_test() 78 pdev = kunit_platform_device_alloc(&fake, name, id); in kunit_platform_device_add_cleans_up() 156 pdev = kunit_platform_device_alloc(test, name, -1); in kunit_platform_driver_register_test() 185 pdev = kunit_platform_device_alloc(test, name, -1); in kunit_platform_device_prepare_wait_for_probe_completes_when_already_probed()
|
| H A D | platform.c | 51 kunit_platform_device_alloc(struct kunit *test, const char *name, int id) in kunit_platform_device_alloc() function 63 EXPORT_SYMBOL_GPL(kunit_platform_device_alloc);
|