Searched refs:expected_name (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_connector_test.c | 329 char expected_name[128]; in drm_test_drm_connector_dynamic_init_name() local 338 snprintf(expected_name, sizeof(expected_name), "%s-%d", in drm_test_drm_connector_dynamic_init_name() 340 KUNIT_ASSERT_STREQ(test, connector->name, expected_name); in drm_test_drm_connector_dynamic_init_name() 594 char expected_name[128]; in drm_test_drm_connector_dynamic_register_sysfs_name() local 600 snprintf(expected_name, sizeof(expected_name), "card%d-%s", in drm_test_drm_connector_dynamic_register_sysfs_name() 603 KUNIT_ASSERT_STREQ(test, dev_name(connector->kdev), expected_name); in drm_test_drm_connector_dynamic_register_sysfs_name() 1337 const char *expected_name; member 1343 .expected_name = _name, \ 1353 params->expected_name); in drm_test_drm_hdmi_connector_get_broadcast_rgb_name() 1368 sprintf(desc, "%s", t->expected_name); in drm_hdmi_connector_get_broadcast_rgb_name_valid_desc() [all …]
|
| /linux/rust/macros/ |
| H A D | helpers.rs | 124 pub(crate) fn expect_string_field(it: &mut token_stream::IntoIter, expected_name: &str) -> String { in expect_string_field() 125 assert_eq!(expect_ident(it), expected_name); in expect_string_field()
|
| /linux/tools/testing/selftests/hid/tests/ |
| H A D | test_wacom_generic.py | 531 expected_name = uhdev.name + type 532 if "wacom" not in expected_name.lower(): 533 expected_name = "Wacom " + expected_name 534 assert evdev.name == expected_name
|
| /linux/sound/soc/codecs/ |
| H A D | cs-amp-lib-test.c | 225 static const efi_char16_t expected_name[] = CIRRUS_LOGIC_CALIBRATION_EFI_NAME; in cs_amp_lib_test_get_efi_variable() local 234 if (memcmp(name, expected_name, sizeof(expected_name)) || in cs_amp_lib_test_get_efi_variable() 269 static const efi_char16_t expected_name[] = CIRRUS_LOGIC_CALIBRATION_EFI_NAME; in cs_amp_lib_test_get_efi_variable_all_zeros() local 277 if (memcmp(name, expected_name, sizeof(expected_name)) || in cs_amp_lib_test_get_efi_variable_all_zeros() 309 static const efi_char16_t expected_name[] = L"SmartAmpCalibrationData"; in cs_amp_lib_test_get_hp_cal_efi_variable() local 319 if (memcmp(name, expected_name, sizeof(expected_name)) || in cs_amp_lib_test_get_hp_cal_efi_variable() 843 static const efi_char16_t expected_name[] = CIRRUS_LOGIC_CALIBRATION_EFI_NAME; in cs_amp_lib_test_set_efi_variable() local 851 if (memcmp(name, expected_name, sizeof(expected_name)) || in cs_amp_lib_test_set_efi_variable() 2064 static const efi_char16_t expected_name[] = HP_CALIBRATION_EFI_NAME; in cs_amp_lib_test_set_hp_efi_cal_variable() local 2072 if (memcmp(name, expected_name, sizeof(expected_name)) || in cs_amp_lib_test_set_hp_efi_cal_variable()
|