Lines Matching full:kunit
6 #include <kunit/test.h>
7 #include <kunit/static_stub.h>
8 #include <kunit/visibility.h>
20 * xe_kunit_helper_alloc_xe_device - Allocate a &xe_device for a KUnit test.
21 * @test: the &kunit where this &xe_device will be used
33 struct xe_device *xe_kunit_helper_alloc_xe_device(struct kunit *test, in xe_kunit_helper_alloc_xe_device()
48 struct kunit *test = kunit_get_current_test(); in kunit_action_restore_priv()
54 * xe_kunit_helper_xe_device_test_init - Prepare a &xe_device for a KUnit test.
55 * @test: the &kunit where this fake &xe_device will be used
58 * pointer as &kunit.priv to allow the test code to access it.
64 * in &kunit.priv pointer to the struct xe_pci_fake_data supplemented with
71 int xe_kunit_helper_xe_device_test_init(struct kunit *test) in xe_kunit_helper_xe_device_test_init()
98 * use in a live KUnit test.
99 * @test: the &kunit where live &xe_device will be used
103 * pointer as &kunit.priv to allow the test code to access it.
115 int xe_kunit_helper_xe_device_live_test_init(struct kunit *test) in xe_kunit_helper_xe_device_live_test_init()