| /drivers/gpu/drm/tests/ |
| A D | drm_cmdline_parser_test.c | 26 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_e_only() 27 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_e_only() 44 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_D_only_not_digital() 45 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_D_only_not_digital() 66 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_D_only_hdmi() 67 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_D_only_hdmi() 88 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_D_only_dvi() 106 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_d_only() 172 KUNIT_EXPECT_TRUE(test, mode.rb); in drm_test_cmdline_res_vesa_rblank() 194 KUNIT_EXPECT_TRUE(test, mode.rb); in drm_test_cmdline_res_rblank() [all …]
|
| A D | drm_format_test.c | 25 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 …]
|
| A D | drm_gem_shmem_test.c | 82 KUNIT_ASSERT_EQ(test, ret, 0); in drm_gem_shmem_test_obj_create_private() 85 KUNIT_ASSERT_EQ(test, ret, 0); in drm_gem_shmem_test_obj_create_private() 88 KUNIT_ASSERT_EQ(test, ret, 0); in drm_gem_shmem_test_obj_create_private() 98 KUNIT_ASSERT_EQ(test, ret, 0); in drm_gem_shmem_test_obj_create_private() 101 KUNIT_ASSERT_EQ(test, ret, 0); in drm_gem_shmem_test_obj_create_private() 140 KUNIT_ASSERT_EQ(test, ret, 0); in drm_gem_shmem_test_pin_pages() 143 KUNIT_ASSERT_EQ(test, ret, 0); in drm_gem_shmem_test_pin_pages() 174 KUNIT_ASSERT_EQ(test, ret, 0); in drm_gem_shmem_test_vmap() 177 KUNIT_ASSERT_EQ(test, ret, 0); in drm_gem_shmem_test_vmap() 288 KUNIT_EXPECT_TRUE(test, ret); in drm_gem_shmem_test_madvise() [all …]
|
| A D | drm_hdmi_state_helper_test.c | 163 test->priv = priv; in __connector_hdmi_init() 277 KUNIT_ASSERT_NE(test, in drm_test_check_broadcast_rgb_crtc_mode_changed() 355 KUNIT_EXPECT_EQ(test, in drm_test_check_broadcast_rgb_crtc_mode_not_changed() 412 KUNIT_ASSERT_EQ(test, in drm_test_check_broadcast_rgb_auto_cea_mode() 472 KUNIT_ASSERT_EQ(test, in drm_test_check_broadcast_rgb_auto_cea_mode_vic_1() 541 KUNIT_ASSERT_EQ(test, in drm_test_check_broadcast_rgb_full_cea_mode() 603 KUNIT_ASSERT_EQ(test, in drm_test_check_broadcast_rgb_full_cea_mode_vic_1() 666 KUNIT_ASSERT_EQ(test, in drm_test_check_broadcast_rgb_limited_cea_mode() 728 KUNIT_ASSERT_EQ(test, in drm_test_check_broadcast_rgb_limited_cea_mode_vic_1() 890 KUNIT_ASSERT_NE(test, in drm_test_check_output_bpc_crtc_mode_changed() [all …]
|
| A D | drm_connector_test.c | 85 test->priv = priv; in drm_test_connector_init() 370 priv = test->priv; in drm_test_connector_dynamic_register_early_init() 480 priv = test->priv; in drm_test_connector_dynamic_register_init() 748 KUNIT_EXPECT_MEMEQ(test, in drm_test_connector_hdmi_init_product_valid() 781 KUNIT_EXPECT_MEMEQ(test, in drm_test_connector_hdmi_init_product_length_exact() 834 KUNIT_EXPECT_MEMEQ(test, in drm_test_connector_hdmi_init_vendor_valid() 866 KUNIT_EXPECT_MEMEQ(test, in drm_test_connector_hdmi_init_vendor_length_exact() 1286 KUNIT_EXPECT_EQ(test, in drm_test_get_tv_mode_from_name_valid() 1349 test->param_value; in drm_test_drm_hdmi_connector_get_broadcast_rgb_name() 1351 KUNIT_EXPECT_STREQ(test, in drm_test_drm_hdmi_connector_get_broadcast_rgb_name() [all …]
|
| A D | drm_modes_test.c | 24 KUNIT_ASSERT_NOT_NULL(test, priv); in drm_test_modes_init() 34 test->priv = priv; in drm_test_modes_init() 49 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_modes_analog_tv_ntsc_480i() 52 KUNIT_ASSERT_EQ(test, ret, 0); in drm_test_modes_analog_tv_ntsc_480i() 86 KUNIT_ASSERT_EQ(test, ret, 0); in drm_test_modes_analog_tv_ntsc_480i_inlined() 89 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_modes_analog_tv_ntsc_480i_inlined() 92 KUNIT_ASSERT_EQ(test, ret, 0); in drm_test_modes_analog_tv_ntsc_480i_inlined() 110 KUNIT_ASSERT_EQ(test, ret, 0); in drm_test_modes_analog_tv_pal_576i() 144 KUNIT_ASSERT_EQ(test, ret, 0); in drm_test_modes_analog_tv_pal_576i_inlined() 150 KUNIT_ASSERT_EQ(test, ret, 0); in drm_test_modes_analog_tv_pal_576i_inlined() [all …]
|
| /drivers/platform/chrome/ |
| A D | cros_ec_proto_test.c | 64 KUNIT_EXPECT_EQ(test, in cros_ec_proto_test_prepare_tx_legacy_normal() 170 KUNIT_EXPECT_EQ(test, ret, 0); in cros_ec_proto_test_check_result() 259 KUNIT_EXPECT_EQ(test, ret, 0); in cros_ec_proto_test_query_all_normal() 381 KUNIT_EXPECT_EQ(test, ret, 0); in cros_ec_proto_test_query_all_no_pd_return_error() 446 KUNIT_EXPECT_EQ(test, ret, 0); in cros_ec_proto_test_query_all_no_pd_return0() 503 KUNIT_EXPECT_EQ(test, ret, 0); in cros_ec_proto_test_query_all_legacy_normal_v3_return_error() 568 KUNIT_EXPECT_EQ(test, ret, 0); in cros_ec_proto_test_query_all_legacy_normal_v3_return0() 849 KUNIT_EXPECT_EQ(test, ret, 0); in cros_ec_proto_test_query_all_no_mkbp() 937 KUNIT_EXPECT_EQ(test, ret, 0); in cros_ec_proto_test_query_all_no_mkbp_return_error() 1025 KUNIT_EXPECT_EQ(test, ret, 0); in cros_ec_proto_test_query_all_no_mkbp_return0() [all …]
|
| /drivers/base/test/ |
| A D | property-entry-test.c | 31 KUNIT_EXPECT_EQ(test, error, 1); in pe_test_uints() 34 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints() 35 KUNIT_EXPECT_EQ(test, val_u8, 8); in pe_test_uints() 38 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints() 42 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints() 45 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints() 48 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints() 51 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints() 55 KUNIT_EXPECT_EQ(test, error, 1); in pe_test_uints() 58 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints() [all …]
|
| /drivers/thunderbolt/ |
| A D | test.c | 158 sw = alloc_host(test); in alloc_host_usb4() 428 host = alloc_host(test); in tb_test_path_basic() 445 host = alloc_host(test); in tb_test_path_not_connected_walk() 500 host = alloc_host(test); in tb_test_path_single_hop_walk() 558 host = alloc_host(test); in tb_test_path_daisy_chain_walk() 619 host = alloc_host(test); in tb_test_path_simple_tree_walk() 698 host = alloc_host(test); in tb_test_path_complex_tree_walk() 798 host = alloc_host(test); in tb_test_path_max_length_walk() 848 host = alloc_host(test); in tb_test_path_not_connected() 901 host = alloc_host(test); in tb_test_path_not_bonded_lane0() [all …]
|
| /drivers/clk/ |
| A D | clk_test.c | 188 test->priv = ctx; in clk_test_init_with_ops() 349 test->priv = ctx; in clk_uncached_test_init() 472 test->priv = ctx; in clk_multiple_parents_mux_test_init() 621 test->priv = ctx; in clk_orphan_transparent_multiple_parent_mux_test_init() 955 test->priv = ctx; in clk_single_parent_mux_test_init() 1224 test->priv = ctx; in clk_orphan_transparent_single_parent_mux_test_init() 2937 KUNIT_ASSERT_EQ(test, 0, clk_hw_register_kunit(test, dev, hw)); in KUNIT_ARRAY_PARAM() 3057 KUNIT_ASSERT_EQ(test, 0, clk_hw_register_kunit(test, dev, hw)); in KUNIT_ARRAY_PARAM() 3153 KUNIT_ASSERT_EQ(test, 0, __of_overlay_apply_kunit(test, in clk_assigned_rates_test_init() 3432 KUNIT_ASSERT_EQ(test, 0, clk_hw_register_kunit(test, dev, hw)); in clk_hw_register_dev_get_dev_returns_dev() [all …]
|
| A D | clk-gate_test.c | 17 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, pdev); in clk_gate_register_test_dev() 21 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ret); in clk_gate_register_test_dev() 40 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ret); in clk_gate_register_test_parent_names() 60 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ret); in clk_gate_register_test_parent_data() 112 KUNIT_EXPECT_TRUE(test, IS_ERR(ret)); in clk_gate_register_test_hiword_invalid() 141 test->priv = ctx = kunit_kzalloc(test, sizeof(*ctx), GFP_KERNEL); in clk_gate_test_alloc_ctx() 156 KUNIT_EXPECT_EQ(test, prate, rate); in clk_gate_test_parent_rate() 209 ctx = clk_gate_test_alloc_ctx(test); in clk_gate_test_init() 288 ctx = clk_gate_test_alloc_ctx(test); in clk_gate_test_invert_init() 361 ctx = clk_gate_test_alloc_ctx(test); in clk_gate_test_hiword_init() [all …]
|
| A D | clk-fixed-rate_test.c | 89 hw = kunit_alloc_resource(test, in clk_hw_register_fixed_rate_kunit() 111 if (!kunit_alloc_resource(test, NULL, in clk_hw_unregister_fixed_rate_kunit() 131 KUNIT_ASSERT_EQ(test, 0, clk_hw_unregister_fixed_rate_kunit(test, hw)); in clk_fixed_rate_rate_test() 153 KUNIT_ASSERT_EQ(test, 0, clk_hw_unregister_fixed_rate_kunit(test, hw)); in clk_fixed_rate_accuracy_test() 195 KUNIT_ASSERT_EQ(test, 0, clk_hw_unregister_fixed_rate_kunit(test, hw)); in clk_fixed_rate_parent_test() 226 KUNIT_ASSERT_EQ(test, 0, clk_hw_unregister_fixed_rate_kunit(test, hw)); in clk_fixed_rate_parent_rate_test() 257 KUNIT_ASSERT_EQ(test, 0, clk_hw_unregister_fixed_rate_kunit(test, hw)); in clk_fixed_rate_parent_accuracy_test() 305 KUNIT_ASSERT_EQ(test, 0, clk_prepare_enable_kunit(test, clk)); in clk_fixed_rate_of_probe_test() 350 KUNIT_ASSERT_EQ(test, 0, of_overlay_apply_kunit(test, kunit_clk_fixed_rate_test)); in clk_fixed_rate_of_init() 354 test->priv = ctx; in clk_fixed_rate_of_init() [all …]
|
| /drivers/net/ethernet/microchip/vcap/ |
| A D | vcap_api_kunit.c | 304 KUNIT_EXPECT_EQ(test, 0, ret); in test_vcap_xn_rule_creator() 311 KUNIT_EXPECT_EQ(test, 0, ret); in test_vcap_xn_rule_creator() 906 KUNIT_EXPECT_EQ(test, 0, ret); in vcap_api_encode_rule_keyset_test() 978 KUNIT_EXPECT_EQ(test, 0, ret); in vcap_api_encode_rule_actionset_test() 983 KUNIT_EXPECT_EQ(test, 0, ret); in vcap_api_encode_rule_actionset_test() 1033 KUNIT_EXPECT_EQ(test, 0, ret); in vcap_api_rule_add_keyvalue_test() 1046 KUNIT_EXPECT_EQ(test, 0, ret); in vcap_api_rule_add_keyvalue_test() 1060 KUNIT_EXPECT_EQ(test, 0, ret); in vcap_api_rule_add_keyvalue_test() 1073 KUNIT_EXPECT_EQ(test, 0, ret); in vcap_api_rule_add_keyvalue_test() 1086 KUNIT_EXPECT_EQ(test, 0, ret); in vcap_api_rule_add_keyvalue_test() [all …]
|
| /drivers/gpu/drm/ttm/tests/ |
| A D | ttm_tt_test.c | 53 bo = ttm_bo_kunit_init(test, test->priv, params->size, NULL); in ttm_tt_init_basic() 79 bo = ttm_bo_kunit_init(test, test->priv, size, NULL); in ttm_tt_init_misaligned() 100 bo = ttm_bo_kunit_init(test, test->priv, BO_SIZE, NULL); in ttm_tt_fini_basic() 120 bo = ttm_bo_kunit_init(test, test->priv, BO_SIZE, NULL); in ttm_tt_fini_sg() 141 bo = ttm_bo_kunit_init(test, test->priv, BO_SIZE, NULL); in ttm_tt_fini_shmem() 158 bo = ttm_bo_kunit_init(test, test->priv, BO_SIZE, NULL); in ttm_tt_create_basic() 177 bo = ttm_bo_kunit_init(test, test->priv, BO_SIZE, NULL); in ttm_tt_create_invalid_bo_type() 198 bo = ttm_bo_kunit_init(test, test->priv, BO_SIZE, NULL); in ttm_tt_create_ttm_exists() 229 bo = ttm_bo_kunit_init(test, test->priv, BO_SIZE, NULL); in ttm_tt_create_failed() 247 bo = ttm_bo_kunit_init(test, test->priv, BO_SIZE, NULL); in ttm_tt_destroy_basic() [all …]
|
| A D | ttm_bo_validate_test.c | 286 bo = ttm_bo_kunit_init(test, test->priv, size, NULL); in ttm_bo_validate_invalid_placement() 310 bo = ttm_bo_kunit_init(test, test->priv, size, NULL); in ttm_bo_validate_failed_alloc() 342 bo = ttm_bo_kunit_init(test, test->priv, size, NULL); in ttm_bo_validate_pinned() 536 bo = ttm_bo_kunit_init(test, test->priv, size, NULL); in ttm_bo_validate_no_placement_signaled() 604 bo = ttm_bo_kunit_init(test, test->priv, size, NULL); in ttm_bo_validate_no_placement_not_signaled() 657 bo = ttm_bo_kunit_init(test, test->priv, size, NULL); in ttm_bo_validate_move_fence_signaled() 795 bo_val = ttm_bo_kunit_init(test, test->priv, BO_SIZE, NULL); in ttm_bo_validate_happy_evict() 906 bo = ttm_bo_kunit_init(test, test->priv, BO_SIZE, NULL); in ttm_bo_validate_allowed_only_evict() 963 bo_small = ttm_bo_kunit_init(test, test->priv, small, NULL); in ttm_bo_validate_deleted_evict() 1017 bo_val = ttm_bo_kunit_init(test, test->priv, BO_SIZE, NULL); in ttm_bo_validate_busy_domain_evict() [all …]
|
| A D | ttm_resource_test.c | 31 KUNIT_ASSERT_NOT_NULL(test, priv); in ttm_resource_test_init() 36 test->priv = priv; in ttm_resource_test_init() 45 ttm_test_devices_put(test, priv->devs); in ttm_resource_test_fini() 70 KUNIT_ASSERT_NOT_NULL(test, man); in ttm_init_test_manager() 125 KUNIT_ASSERT_NOT_NULL(test, res); in ttm_resource_init_basic() 166 KUNIT_ASSERT_NOT_NULL(test, res); in ttm_resource_init_pinned() 196 KUNIT_ASSERT_NOT_NULL(test, res); in ttm_resource_fini_basic() 212 KUNIT_ASSERT_NOT_NULL(test, man); in ttm_resource_manager_init_basic() 240 KUNIT_ASSERT_NOT_NULL(test, res); in ttm_resource_manager_usage_basic() 281 KUNIT_ASSERT_EQ(test, ret, 0); in ttm_sys_man_alloc_basic() [all …]
|
| /drivers/gpu/drm/vkms/tests/ |
| A D | vkms_config_test.c | 400 KUNIT_EXPECT_EQ(test, err, 0); in vkms_config_test_valid_plane_type() 407 KUNIT_EXPECT_EQ(test, err, 0); in vkms_config_test_valid_plane_type() 412 KUNIT_EXPECT_EQ(test, err, 0); in vkms_config_test_valid_plane_type() 424 KUNIT_EXPECT_EQ(test, err, 0); in vkms_config_test_valid_plane_type() 429 KUNIT_EXPECT_EQ(test, err, 0); in vkms_config_test_valid_plane_type() 441 KUNIT_EXPECT_EQ(test, err, 0); in vkms_config_test_valid_plane_type() 448 KUNIT_EXPECT_EQ(test, err, 0); in vkms_config_test_valid_plane_type() 542 KUNIT_EXPECT_EQ(test, err, 0); in vkms_config_test_valid_encoder_possible_crtcs() 695 KUNIT_EXPECT_PTR_EQ(test, in vkms_config_test_plane_attach_crtc() 703 KUNIT_EXPECT_PTR_EQ(test, in vkms_config_test_plane_attach_crtc() [all …]
|
| /drivers/gpu/drm/xe/tests/ |
| A D | xe_guc_relay_test.c | 35 test->priv = &fake; in relay_test_init() 38 xe = test->priv; in relay_test_init() 49 test->priv = relay; in relay_test_init() 88 KUNIT_EXPECT_EQ(test, TEST_VFID, in replacement_xe_guc_ct_send_recv_expects_pf2guc_relay() 90 KUNIT_EXPECT_EQ(test, TEST_RID, in replacement_xe_guc_ct_send_recv_expects_pf2guc_relay() 217 KUNIT_ASSERT_EQ(test, 0, in pf_sends_pf2guc() 239 KUNIT_ASSERT_NOT_NULL(test, reply); in replacement_xe_guc_ct_send_recv_loopback_relay() 263 KUNIT_EXPECT_EQ(test, err, 0); in replacement_xe_guc_ct_send_recv_loopback_relay() 478 struct xe_device *xe = test->priv; in xe_drops_guc2pf_if_not_ready() 488 struct xe_device *xe = test->priv; in xe_drops_guc2vf_if_not_ready() [all …]
|
| A D | xe_guc_buf_kunit.c | 44 KUNIT_ASSERT_EQ(test, 0, in replacement_xe_managed_bo_create_pin_map() 62 test->priv = &fake; in guc_buf_test_init() 68 KUNIT_ASSERT_EQ(test, 0, in guc_buf_test_init() 77 test->priv = &guc->buf; in guc_buf_test_init() 117 KUNIT_EXPECT_NOT_NULL(test, bufs); in test_granular() 137 KUNIT_EXPECT_NOT_NULL(test, bufs); in test_unique() 179 KUNIT_EXPECT_NE(test, a1, a2); in test_overlap() 227 KUNIT_ASSERT_NOT_NULL(test, s = kunit_kcalloc(test, dwords, sizeof(u32), GFP_KERNEL)); in test_flush() 228 KUNIT_ASSERT_NOT_NULL(test, d = kunit_kcalloc(test, dwords, sizeof(u32), GFP_KERNEL)); in test_flush() 236 KUNIT_EXPECT_PTR_NE(test, p, s); in test_flush() [all …]
|
| A D | xe_guc_db_mgr_test.c | 15 xe_kunit_helper_xe_device_test_init(test); in guc_dbm_test_init() 19 test->priv = dbm; in guc_dbm_test_init() 23 static void test_empty(struct kunit *test) in test_empty() argument 25 struct xe_guc_db_mgr *dbm = test->priv; in test_empty() 28 KUNIT_ASSERT_EQ(test, dbm->count, 0); in test_empty() 39 struct xe_guc_db_mgr *dbm = test->priv; in test_default() 124 KUNIT_ASSERT_NE(test, id2, id1); in test_range_overlap() 134 KUNIT_ASSERT_NE(test, id2, id1); in test_range_overlap() 139 KUNIT_ASSERT_NE(test, id3, id1); in test_range_overlap() 140 KUNIT_ASSERT_NE(test, id3, id2); in test_range_overlap() [all …]
|
| /drivers/misc/ |
| A D | pci_endpoint_test.c | 225 test->num_irqs = 0; in pci_endpoint_test_release_irq() 238 test->name, test); in pci_endpoint_test_request_irq() 263 test->num_irqs = i; in pci_endpoint_test_request_irq() 1019 test = devm_kzalloc(dev, sizeof(*test), GFP_KERNEL); in pci_endpoint_test_probe() 1020 if (!test) in pci_endpoint_test_probe() 1025 test->pdev = pdev; in pci_endpoint_test_probe() 1065 test->base = test->bar[test_reg_bar]; in pci_endpoint_test_probe() 1066 if (!test->base) { in pci_endpoint_test_probe() 1084 if (!test->name) { in pci_endpoint_test_probe() 1113 kfree(test->name); in pci_endpoint_test_probe() [all …]
|
| /drivers/base/regmap/ |
| A D | regmap-kunit.c | 192 defaults = kunit_kcalloc(test, in gen_regmap() 347 KUNIT_EXPECT_EQ(test, 0, in multi_write() 382 KUNIT_EXPECT_EQ(test, 0, in multi_read() 576 KUNIT_EXPECT_EQ(test, i != 5, in read_writeonly() 1534 KUNIT_EXPECT_EQ(test, 0, val); in cache_write_zero() 1569 KUNIT_ASSERT_EQ(test, val, 2); in cache_range_window_reg() 1574 KUNIT_ASSERT_EQ(test, val, 0); in cache_range_window_reg() 1583 KUNIT_ASSERT_EQ(test, val, 0); in cache_range_window_reg() 1592 KUNIT_ASSERT_EQ(test, val, 2); in cache_range_window_reg() 2079 test->priv = priv; in regmap_test_init() [all …]
|
| /drivers/firewire/ |
| A D | device-attribute-test.c | 102 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in device_attr_simple_avc() 120 KUNIT_EXPECT_STREQ(test, buf, "0xffffff\n"); in device_attr_simple_avc() 124 KUNIT_EXPECT_STREQ(test, buf, "0xffffff\n"); in device_attr_simple_avc() 141 KUNIT_EXPECT_STREQ(test, buf, "0xffffff\n"); in device_attr_simple_avc() 152 KUNIT_EXPECT_STREQ(test, buf, "0x00a02d\n"); in device_attr_simple_avc() 156 KUNIT_EXPECT_STREQ(test, buf, "0x010001\n"); in device_attr_simple_avc() 158 kunit_kfree(test, buf); in device_attr_simple_avc() 184 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf); in device_attr_legacy_avc() 202 KUNIT_EXPECT_STREQ(test, buf, "0x012345\n"); in device_attr_legacy_avc() 206 KUNIT_EXPECT_STREQ(test, buf, "0xfedcba\n"); in device_attr_legacy_avc() [all …]
|
| A D | packet-serdes-test.c | 299 KUNIT_EXPECT_EQ(test, 0x01, retry); in test_async_header_write_quadlet_request() 339 KUNIT_EXPECT_EQ(test, 0x01, retry); in test_async_header_write_block_request() 376 KUNIT_EXPECT_EQ(test, 0x01, retry); in test_async_header_write_response() 411 KUNIT_EXPECT_EQ(test, 0x01, retry); in test_async_header_read_quadlet_request() 636 KUNIT_EXPECT_EQ(test, 0x02, tag); in test_isoc_header() 639 KUNIT_EXPECT_EQ(test, 0x0c, sy); in test_isoc_header() 670 KUNIT_EXPECT_EQ(test, 0, phy_id); in test_phy_packet_self_id_zero_case0() 725 KUNIT_EXPECT_EQ(test, 1, phy_id); in test_phy_packet_self_id_zero_case1() 785 KUNIT_EXPECT_EQ(test, 0, phy_id); in test_phy_packet_self_id_zero_and_one() 803 KUNIT_EXPECT_EQ(test, 0, phy_id); in test_phy_packet_self_id_zero_and_one() [all …]
|
| /drivers/firmware/cirrus/test/ |
| A D | cs_dsp_test_control_cache.c | 247 KUNIT_EXPECT_EQ(test, in cs_dsp_ctl_cache_init() 298 KUNIT_EXPECT_EQ(test, in cs_dsp_ctl_cache_init_write_only() 398 KUNIT_EXPECT_EQ(test, in cs_dsp_ctl_cache_init_multiple_fw_same_controls() 403 KUNIT_EXPECT_EQ(test, in cs_dsp_ctl_cache_init_multiple_fw_same_controls() 408 KUNIT_EXPECT_EQ(test, in cs_dsp_ctl_cache_init_multiple_fw_same_controls() 507 KUNIT_EXPECT_EQ(test, in cs_dsp_ctl_cache_init_multiple_fwalgid_same_controls() 512 KUNIT_EXPECT_EQ(test, in cs_dsp_ctl_cache_init_multiple_fwalgid_same_controls() 517 KUNIT_EXPECT_EQ(test, in cs_dsp_ctl_cache_init_multiple_fwalgid_same_controls() 623 KUNIT_EXPECT_EQ(test, in cs_dsp_ctl_cache_init_multiple_mems() 2697 priv->test = test; in cs_dsp_ctl_cache_test_common_init() [all …]
|