Home
last modified time | relevance | path

Searched refs:kunit (Results 1 – 13 of 13) sorted by relevance

/include/kunit/
Dclk.h9 struct kunit;
12 clk_get_kunit(struct kunit *test, struct device *dev, const char *con_id);
14 of_clk_get_kunit(struct kunit *test, struct device_node *np, int index);
17 clk_hw_get_clk_kunit(struct kunit *test, struct clk_hw *hw, const char *con_id);
19 clk_hw_get_clk_prepared_enabled_kunit(struct kunit *test, struct clk_hw *hw,
22 int clk_prepare_enable_kunit(struct kunit *test, struct clk *clk);
24 int clk_hw_register_kunit(struct kunit *test, struct device *dev, struct clk_hw *hw);
25 int of_clk_hw_register_kunit(struct kunit *test, struct device_node *node,
Dplatform_device.h6 struct kunit;
11 kunit_platform_device_alloc(struct kunit *test, const char *name, int id);
12 int kunit_platform_device_add(struct kunit *test, struct platform_device *pdev);
14 int kunit_platform_device_prepare_wait_for_probe(struct kunit *test,
18 int kunit_platform_driver_register(struct kunit *test,
Dresource.h156 int __kunit_add_resource(struct kunit *test,
172 static inline int kunit_add_resource(struct kunit *test, in kunit_add_resource()
183 kunit_find_named_resource(struct kunit *test, const char *name);
194 static inline int kunit_add_named_resource(struct kunit *test, in kunit_add_named_resource()
240 kunit_alloc_and_get_resource(struct kunit *test, in kunit_alloc_and_get_resource()
283 static inline void *kunit_alloc_resource(struct kunit *test, in kunit_alloc_resource()
302 typedef bool (*kunit_resource_match_t)(struct kunit *test,
312 static inline bool kunit_resource_name_match(struct kunit *test, in kunit_resource_name_match()
326 kunit_find_resource(struct kunit *test, in kunit_find_resource()
354 kunit_find_named_resource(struct kunit *test, in kunit_find_named_resource()
[all …]
Ddevice.h31 struct device_driver *kunit_driver_create(struct kunit *test, const char *name);
47 struct device *kunit_device_register(struct kunit *test, const char *name);
63 struct device *kunit_device_register_with_driver(struct kunit *test,
76 void kunit_device_unregister(struct kunit *test, struct device *dev);
Dof.h11 void of_node_put_kunit(struct kunit *test, struct device_node *node);
16 void of_node_put_kunit(struct kunit *test, struct device_node *node) in of_node_put_kunit()
25 int of_overlay_fdt_apply_kunit(struct kunit *test, void *overlay_fdt,
30 of_overlay_fdt_apply_kunit(struct kunit *test, void *overlay_fdt, in of_overlay_fdt_apply_kunit()
54 static inline int __of_overlay_apply_kunit(struct kunit *test, in __of_overlay_apply_kunit()
Dtest-bug.h26 void *(*get_static_stub_address)(struct kunit *test, void *real_fn_addr);
44 static inline struct kunit *kunit_get_current_test(void) in kunit_get_current_test()
68 static inline struct kunit *kunit_get_current_test(void) { return NULL; } in kunit_get_current_test()
Dstatic_stub.h62 struct kunit *current_test = kunit_get_current_test(); \
77 void __kunit_activate_static_stub(struct kunit *test,
110 void kunit_deactivate_static_stub(struct kunit *test, void *real_fn_addr);
Dtry-catch.h18 struct kunit;
47 struct kunit *test;
Dskbuff.h29 static inline struct sk_buff *kunit_zalloc_skb(struct kunit *test, int len, in kunit_zalloc_skb()
48 static inline void kunit_kfree_skb(struct kunit *test, struct sk_buff *skb) in kunit_kfree_skb()
Dtest.h37 struct kunit;
130 void (*run_case)(struct kunit *test);
252 int (*init)(struct kunit *test);
253 void (*exit)(struct kunit *test);
284 struct kunit { struct
318 static inline void kunit_set_failure(struct kunit *test) in kunit_set_failure() argument
329 void kunit_init_test(struct kunit *test, const char *name, struct string_stream *log);
441 void *kunit_kmalloc_array(struct kunit *test, size_t n, size_t size, gfp_t gfp);
454 static inline void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kmalloc()
464 void kunit_kfree(struct kunit *test, const void *ptr);
[all …]
Dassert.h16 struct kunit;
/include/drm/
Ddrm_kunit_helpers.h17 struct kunit;
19 struct device *drm_kunit_helper_alloc_device(struct kunit *test);
20 void drm_kunit_helper_free_device(struct kunit *test, struct device *dev);
23 __drm_kunit_helper_alloc_drm_device_with_driver(struct kunit *test,
55 __drm_kunit_helper_alloc_drm_device(struct kunit *test, in __drm_kunit_helper_alloc_drm_device()
99 drm_kunit_helper_acquire_ctx_alloc(struct kunit *test);
102 drm_kunit_helper_atomic_state_alloc(struct kunit *test,
107 drm_kunit_helper_create_primary_plane(struct kunit *test,
116 drm_kunit_helper_create_crtc(struct kunit *test,
123 int drm_kunit_add_mode_destroy_action(struct kunit *test,
[all …]
/include/linux/
Dsched.h1506 struct kunit *kunit_test;