Home
last modified time | relevance | path

Searched refs:KUNIT_ASSERT_NOT_NULL (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_device_test.c26 KUNIT_ASSERT_NOT_NULL(test, ttm_dev); in ttm_device_init_basic()
32 KUNIT_ASSERT_NOT_NULL(test, ttm_dev->wq); in ttm_device_init_basic()
33 KUNIT_ASSERT_NOT_NULL(test, ttm_dev->man_drv[TTM_PL_SYSTEM]); in ttm_device_init_basic()
36 KUNIT_ASSERT_NOT_NULL(test, ttm_sys_man); in ttm_device_init_basic()
39 KUNIT_ASSERT_NOT_NULL(test, ttm_sys_man->func); in ttm_device_init_basic()
55 KUNIT_ASSERT_NOT_NULL(test, ttm_devs); in ttm_device_init_multiple()
63 KUNIT_ASSERT_NOT_NULL(test, ttm_devs[i].wq); in ttm_device_init_multiple()
65 KUNIT_ASSERT_NOT_NULL(test, ttm_devs[i].man_drv[TTM_PL_SYSTEM]); in ttm_device_init_multiple()
82 KUNIT_ASSERT_NOT_NULL(test, ttm_dev); in ttm_device_fini_basic()
88 KUNIT_ASSERT_NOT_NULL(test, man); in ttm_device_fini_basic()
[all …]
H A Dttm_pool_test.c35 KUNIT_ASSERT_NOT_NULL(test, priv); in ttm_pool_test_init()
61 KUNIT_ASSERT_NOT_NULL(test, bo); in ttm_tt_kunit_init()
65 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_tt_kunit_init()
85 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_pool_pre_populated()
88 KUNIT_ASSERT_NOT_NULL(test, pool); in ttm_pool_pre_populated()
149 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_pool_alloc_basic()
152 KUNIT_ASSERT_NOT_NULL(test, pool); in ttm_pool_alloc_basic()
170 KUNIT_ASSERT_NOT_NULL(test, (void *)fst_page->private); in ttm_pool_alloc_basic()
171 KUNIT_ASSERT_NOT_NULL(test, (void *)last_page->private); in ttm_pool_alloc_basic()
177 KUNIT_ASSERT_NOT_NULL(test, (void *)fst_page->private); in ttm_pool_alloc_basic()
[all …]
H A Dttm_kunit_helpers.c36 KUNIT_ASSERT_NOT_NULL(test, bo); in ttm_bo_kunit_init()
50 KUNIT_ASSERT_NOT_NULL(test, devs); in ttm_test_devices_basic()
73 KUNIT_ASSERT_NOT_NULL(test, ttm_dev); in ttm_test_devices_all()
98 KUNIT_ASSERT_NOT_NULL(test, priv); in ttm_test_devices_init()
/openbmc/linux/net/handshake/
H A Dhandshake-test.c172 KUNIT_ASSERT_NOT_NULL(test, req); in handshake_req_submit_test2()
191 KUNIT_ASSERT_NOT_NULL(test, req); in handshake_req_submit_test3()
217 KUNIT_ASSERT_NOT_NULL(test, req); in handshake_req_submit_test4()
224 KUNIT_ASSERT_NOT_NULL(test, sock->sk); in handshake_req_submit_test4()
252 KUNIT_ASSERT_NOT_NULL(test, req); in handshake_req_submit_test5()
259 KUNIT_ASSERT_NOT_NULL(test, sock->sk); in handshake_req_submit_test5()
264 KUNIT_ASSERT_NOT_NULL(test, hn); in handshake_req_submit_test5()
288 KUNIT_ASSERT_NOT_NULL(test, req1); in handshake_req_submit_test6()
290 KUNIT_ASSERT_NOT_NULL(test, req2); in handshake_req_submit_test6()
297 KUNIT_ASSERT_NOT_NULL(test, sock->sk); in handshake_req_submit_test6()
[all …]
/openbmc/linux/drivers/gpu/drm/tests/
H A Ddrm_modes_test.c24 KUNIT_ASSERT_NOT_NULL(test, priv); in drm_test_modes_init()
48 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_modes_analog_tv_ntsc_480i()
78 KUNIT_ASSERT_NOT_NULL(test, expected); in drm_test_modes_analog_tv_ntsc_480i_inlined()
81 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_modes_analog_tv_ntsc_480i_inlined()
95 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_modes_analog_tv_pal_576i()
125 KUNIT_ASSERT_NOT_NULL(test, expected); in drm_test_modes_analog_tv_pal_576i_inlined()
128 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_modes_analog_tv_pal_576i_inlined()
H A Ddrm_format_test.c25 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_width_one_plane()
36 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_width_two_plane()
48 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_width_three_plane()
61 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_width_tiled()
81 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_height_one_plane()
92 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_height_two_plane()
104 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_height_three_plane()
117 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_height_tiled()
137 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_min_pitch_one_plane_8bpp()
160 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_min_pitch_one_plane_16bpp()
[all …]
H A Ddrm_client_modeset_test.c59 KUNIT_ASSERT_NOT_NULL(test, priv); in drm_client_modeset_test_init()
96 KUNIT_ASSERT_NOT_NULL(test, expected_mode); in drm_test_pick_cmdline_res_1920_1080_60()
109 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_pick_cmdline_res_1920_1080_60()
147 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_pick_cmdline_named()
150 KUNIT_ASSERT_NOT_NULL(test, expected_mode); in drm_test_pick_cmdline_named()
H A Ddrm_probe_helper_test.c40 KUNIT_ASSERT_NOT_NULL(test, priv); in drm_probe_helper_test_init()
130 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_connector_helper_tv_get_modes_check()
133 KUNIT_ASSERT_NOT_NULL(test, expected); in drm_test_connector_helper_tv_get_modes_check()
141 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_connector_helper_tv_get_modes_check()
144 KUNIT_ASSERT_NOT_NULL(test, expected); in drm_test_connector_helper_tv_get_modes_check()
H A Ddrm_plane_helper_test.c55 KUNIT_ASSERT_NOT_NULL(test, plane); in drm_plane_helper_init()
58 KUNIT_ASSERT_NOT_NULL(test, fb); in drm_plane_helper_init()
63 KUNIT_ASSERT_NOT_NULL(test, mock); in drm_plane_helper_init()
H A Ddrm_dp_mst_helper_test.c377 KUNIT_ASSERT_NOT_NULL(test, out); in drm_test_dp_mst_sideband_msg_req_decode()
380 KUNIT_ASSERT_NOT_NULL(test, txmsg); in drm_test_dp_mst_sideband_msg_req_decode()
H A Ddrm_kunit_helpers.c177 KUNIT_ASSERT_NOT_NULL(test, ctx); in drm_kunit_helper_acquire_ctx_alloc()
/openbmc/linux/drivers/thunderbolt/
H A Dtest.c908 KUNIT_ASSERT_NOT_NULL(test, path); in tb_test_path_not_bonded_lane0()
970 KUNIT_ASSERT_NOT_NULL(test, path); in tb_test_path_not_bonded_lane1()
1050 KUNIT_ASSERT_NOT_NULL(test, path); in tb_test_path_not_bonded_lane1_chain()
1130 KUNIT_ASSERT_NOT_NULL(test, path); in tb_test_path_not_bonded_lane1_chain_reverse()
1222 KUNIT_ASSERT_NOT_NULL(test, path); in tb_test_path_mixed_chain()
1314 KUNIT_ASSERT_NOT_NULL(test, path); in tb_test_path_mixed_chain_reverse()
1358 KUNIT_ASSERT_NOT_NULL(test, tunnel1); in tb_test_tunnel_pcie()
1373 KUNIT_ASSERT_NOT_NULL(test, tunnel2); in tb_test_tunnel_pcie()
1410 KUNIT_ASSERT_NOT_NULL(test, tunnel); in tb_test_tunnel_dp()
1456 KUNIT_ASSERT_NOT_NULL(test, tunnel); in tb_test_tunnel_dp_chain()
[all …]
/openbmc/linux/drivers/gpu/drm/vc4/tests/
H A Dvc4_test_pv_muxing.c157 KUNIT_ASSERT_NOT_NULL(test, new_vc4_crtc_state); in check_channel_for_encoder()
733 KUNIT_ASSERT_NOT_NULL(test, priv); in vc4_pv_muxing_test_init()
816 KUNIT_ASSERT_NOT_NULL(test, new_vc4_crtc_state); in drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable()
839 KUNIT_ASSERT_NOT_NULL(test, new_vc4_crtc_state); in drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable()
891 KUNIT_ASSERT_NOT_NULL(test, new_vc4_crtc_state); in drm_test_vc5_pv_muxing_bugs_stable_fifo()
899 KUNIT_ASSERT_NOT_NULL(test, new_vc4_crtc_state); in drm_test_vc5_pv_muxing_bugs_stable_fifo()
H A Dvc4_mock_crtc.c30 KUNIT_ASSERT_NOT_NULL(test, dummy_crtc); in vc4_mock_pv()
/openbmc/linux/include/drm/
H A Ddrm_kunit_helpers.h59 KUNIT_ASSERT_NOT_NULL(test, driver); in __drm_kunit_helper_alloc_drm_device()
/openbmc/linux/lib/kunit/
H A Dkunit-example-test.c213 KUNIT_ASSERT_NOT_NULL(test, param); in example_params_test()
/openbmc/linux/kernel/events/
H A Dhw_breakpoint_test.c69 KUNIT_ASSERT_NOT_NULL(test, bp); in fill_one_bp_slot()
/openbmc/linux/include/kunit/
H A Dtest.h1466 #define KUNIT_ASSERT_NOT_NULL(test, ptr) \ macro