Lines Matching full:kunit
3 * KUnit basic device implementation
5 * Helpers for creating and managing fake devices for KUnit tests.
16 #include <kunit/test.h>
29 * Return: a stub struct device_driver, managed by KUnit, with the name @name.
31 struct device_driver *kunit_driver_create(struct kunit *test, const char *name);
34 * kunit_device_register() - Create a struct device for use in KUnit tests
47 struct device *kunit_device_register(struct kunit *test, const char *name);
50 * kunit_device_register_with_driver() - Create a struct device for use in KUnit tests
58 * wish KUnit to create and manage a driver for you.
63 struct device *kunit_device_register_with_driver(struct kunit *test,
68 * kunit_device_unregister() - Unregister a KUnit-managed device
73 * kunit_device_register or kunit_device_register_with_driver. If KUnit created
76 void kunit_device_unregister(struct kunit *test, struct device *dev);