Home
last modified time | relevance | path

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

/USBX-v6.2.1/test/regression/
Dusbx_msrc_81231_host_prolific_inst_free_tests.c75 static UX_DEVICE_CLASS_DUMMY *device_dummy = UX_NULL; variable
237 if (device_dummy == UX_NULL) in test_dummy_instance_activate()
238 device_dummy = (UX_DEVICE_CLASS_DUMMY *)dummy_instance; in test_dummy_instance_activate()
242 if ((VOID*)device_dummy == dummy_instance) in test_dummy_instance_deactivate()
243 device_dummy = UX_NULL; in test_dummy_instance_deactivate()
252 if (device_dummy == dummy_instance) in test_dummy_control_request()
396 if (device_dummy && host_prolific) in _test_check_host_connection_error()
405 if (device_dummy && host_prolific) in _test_check_host_connection_success()
412 if (device_dummy == UX_NULL && host_prolific == UX_NULL) in _test_check_host_disconnection_success()
Dusbx_msrc_81232_host_gser_inst_free_tests.c75 static UX_DEVICE_CLASS_DUMMY *device_dummy = UX_NULL; variable
241 if (device_dummy == UX_NULL) in test_dummy_instance_activate()
242 device_dummy = (UX_DEVICE_CLASS_DUMMY *)dummy_instance; in test_dummy_instance_activate()
246 if ((VOID*)device_dummy == dummy_instance) in test_dummy_instance_deactivate()
247 device_dummy = UX_NULL; in test_dummy_instance_deactivate()
256 if (device_dummy == dummy_instance) in test_dummy_control_request()
388 if (device_dummy && host_gser) in _test_check_host_connection_error()
397 if (device_dummy && host_gser) in _test_check_host_connection_success()
404 if (device_dummy == UX_NULL && host_gser == UX_NULL) in _test_check_host_disconnection_success()
Dusbx_msrc_81233_host_swar_inst_free_tests.c75 static UX_DEVICE_CLASS_DUMMY *device_dummy = UX_NULL; variable
235 if (device_dummy == UX_NULL) in test_dummy_instance_activate()
236 device_dummy = (UX_DEVICE_CLASS_DUMMY *)dummy_instance; in test_dummy_instance_activate()
240 if ((VOID*)device_dummy == dummy_instance) in test_dummy_instance_deactivate()
241 device_dummy = UX_NULL; in test_dummy_instance_deactivate()
250 if (device_dummy == dummy_instance) in test_dummy_control_request()
382 if (device_dummy && host_swar) in _test_check_host_connection_error()
391 if (device_dummy && host_swar) in _test_check_host_connection_success()
398 if (device_dummy == UX_NULL && host_swar == UX_NULL) in _test_check_host_disconnection_success()
Dusbx_msrc_81112_host_cdc_ecm_endpoints_get_tests.c75 static UX_DEVICE_CLASS_DUMMY *device_dummy = UX_NULL; variable
280 if (device_dummy == UX_NULL) in test_dummy_instance_activate()
281 device_dummy = (UX_DEVICE_CLASS_DUMMY *)dummy_instance; in test_dummy_instance_activate()
285 if ((VOID*)device_dummy == dummy_instance) in test_dummy_instance_deactivate()
286 device_dummy = UX_NULL; in test_dummy_instance_deactivate()
295 if (device_dummy == dummy_instance) in test_dummy_control_request()
421 if (device_dummy && host_cdc_ecm) in _test_check_host_connection_error()
430 if (device_dummy && host_cdc_ecm) in _test_check_host_connection_success()
437 if (device_dummy == UX_NULL && host_cdc_ecm == UX_NULL) in _test_check_host_disconnection_success()
Dusbx_msrc_81142_host_storage_endpoints_get_tests.c75 static UX_DEVICE_CLASS_DUMMY *device_dummy = UX_NULL; variable
245 if (device_dummy == UX_NULL) in test_dummy_instance_activate()
246 device_dummy = (UX_DEVICE_CLASS_DUMMY *)dummy_instance; in test_dummy_instance_activate()
250 if ((VOID*)device_dummy == dummy_instance) in test_dummy_instance_deactivate()
251 device_dummy = UX_NULL; in test_dummy_instance_deactivate()
260 if (device_dummy == dummy_instance) in test_dummy_control_request()
386 if (device_dummy && host_storage) in _test_check_host_connection_error()
395 if (device_dummy && host_storage) in _test_check_host_connection_success()
402 if (device_dummy == UX_NULL && host_storage == UX_NULL) in _test_check_host_disconnection_success()
Dusbx_msrc_81143_host_cdc_acm_endpoints_get_tests.c75 static UX_DEVICE_CLASS_DUMMY *device_dummy = UX_NULL; variable
279 if (device_dummy == UX_NULL) in test_dummy_instance_activate()
280 device_dummy = (UX_DEVICE_CLASS_DUMMY *)dummy_instance; in test_dummy_instance_activate()
284 if ((VOID*)device_dummy == dummy_instance) in test_dummy_instance_deactivate()
285 device_dummy = UX_NULL; in test_dummy_instance_deactivate()
294 if (device_dummy == dummy_instance) in test_dummy_control_request()
420 if (device_dummy && host_cdc_acm) in _test_check_host_connection_error()
429 if (device_dummy && host_cdc_acm) in _test_check_host_connection_success()
436 if (device_dummy == UX_NULL && host_cdc_acm == UX_NULL) in _test_check_host_disconnection_success()
Dusbx_msrc_81230_host_asix_inst_free_tests.c75 static UX_DEVICE_CLASS_DUMMY *device_dummy = UX_NULL; variable
246 if (device_dummy == UX_NULL) in test_dummy_instance_activate()
247 device_dummy = (UX_DEVICE_CLASS_DUMMY *)dummy_instance; in test_dummy_instance_activate()
251 if ((VOID*)device_dummy == dummy_instance) in test_dummy_instance_deactivate()
252 device_dummy = UX_NULL; in test_dummy_instance_deactivate()
261 if (device_dummy == dummy_instance) in test_dummy_control_request()
441 if (device_dummy && host_asix) in _test_check_host_connection_error()
450 if (device_dummy && host_asix) in _test_check_host_connection_success()
457 if (device_dummy == UX_NULL && host_asix == UX_NULL) in _test_check_host_disconnection_success()
Dusbx_ux_host_class_video_dwMaxPayloadTransferSize_test.c65 static UX_DEVICE_CLASS_DUMMY *device_dummy[2] = {UX_NULL, UX_NULL}; variable
387 if (device_dummy[0] == UX_NULL) in test_dummy_instance_activate()
389 device_dummy[0] = (UX_DEVICE_CLASS_DUMMY *)dummy_instance; in test_dummy_instance_activate()
392 if (device_dummy[1] == UX_NULL) in test_dummy_instance_activate()
394 device_dummy[1] = (UX_DEVICE_CLASS_DUMMY *)dummy_instance; in test_dummy_instance_activate()
400 if (device_dummy[0] == dummy_instance) in test_dummy_instance_deactivate()
401 device_dummy[0] = UX_NULL; in test_dummy_instance_deactivate()
402 if (device_dummy[1] == dummy_instance) in test_dummy_instance_deactivate()
403 device_dummy[1] = UX_NULL; in test_dummy_instance_deactivate()
Dusbx_msrc_81573_standalone_host_hub_allocated_enum_free_test.c78 static UX_DEVICE_CLASS_DUMMY *device_dummy = UX_NULL; variable
284 if (device_dummy == UX_NULL) in test_dummy_instance_activate()
285 device_dummy = (UX_DEVICE_CLASS_DUMMY *)dummy_instance; in test_dummy_instance_activate()
289 if ((VOID*)device_dummy == dummy_instance) in test_dummy_instance_deactivate()
290 device_dummy = UX_NULL; in test_dummy_instance_deactivate()
428 if (device_dummy && host_hub) in _test_check_host_connection_error()
437 if (device_dummy && host_hub) in _test_check_host_connection_success()
444 if (device_dummy == UX_NULL && host_hub == UX_NULL) in _test_check_host_disconnection_success()
Dusbx_ux_host_class_video_format_frame_based_test.c66 static UX_DEVICE_CLASS_DUMMY *device_dummy[2] = {UX_NULL, UX_NULL}; variable
471 if (device_dummy[0] == UX_NULL) in test_dummy_instance_activate()
473 device_dummy[0] = (UX_DEVICE_CLASS_DUMMY *)dummy_instance; in test_dummy_instance_activate()
476 if (device_dummy[1] == UX_NULL) in test_dummy_instance_activate()
478 device_dummy[1] = (UX_DEVICE_CLASS_DUMMY *)dummy_instance; in test_dummy_instance_activate()
484 if (device_dummy[0] == dummy_instance) in test_dummy_instance_deactivate()
485 device_dummy[0] = UX_NULL; in test_dummy_instance_deactivate()
486 if (device_dummy[1] == dummy_instance) in test_dummy_instance_deactivate()
487 device_dummy[1] = UX_NULL; in test_dummy_instance_deactivate()
Dusbx_ux_host_class_video_format_h264_test.c66 static UX_DEVICE_CLASS_DUMMY *device_dummy[2] = {UX_NULL, UX_NULL}; variable
494 if (device_dummy[0] == UX_NULL) in test_dummy_instance_activate()
496 device_dummy[0] = (UX_DEVICE_CLASS_DUMMY *)dummy_instance; in test_dummy_instance_activate()
499 if (device_dummy[1] == UX_NULL) in test_dummy_instance_activate()
501 device_dummy[1] = (UX_DEVICE_CLASS_DUMMY *)dummy_instance; in test_dummy_instance_activate()
507 if (device_dummy[0] == dummy_instance) in test_dummy_instance_deactivate()
508 device_dummy[0] = UX_NULL; in test_dummy_instance_deactivate()
509 if (device_dummy[1] == dummy_instance) in test_dummy_instance_deactivate()
510 device_dummy[1] = UX_NULL; in test_dummy_instance_deactivate()
Dusbx_msrc_73492_host_vc_header_parse.c65 static UX_DEVICE_CLASS_DUMMY *device_dummy[2] = {UX_NULL, UX_NULL}; variable
573 if (device_dummy[0] == UX_NULL) in test_dummy_instance_activate()
575 device_dummy[0] = (UX_DEVICE_CLASS_DUMMY *)dummy_instance; in test_dummy_instance_activate()
578 if (device_dummy[1] == UX_NULL) in test_dummy_instance_activate()
580 device_dummy[1] = (UX_DEVICE_CLASS_DUMMY *)dummy_instance; in test_dummy_instance_activate()
586 if (device_dummy[0] == dummy_instance) in test_dummy_instance_deactivate()
587 device_dummy[0] = UX_NULL; in test_dummy_instance_deactivate()
588 if (device_dummy[1] == dummy_instance) in test_dummy_instance_deactivate()
589 device_dummy[1] = UX_NULL; in test_dummy_instance_deactivate()
Dusbx_ux_host_class_video_basic_tests.c65 static UX_DEVICE_CLASS_DUMMY *device_dummy[2] = {UX_NULL, UX_NULL}; variable
573 if (device_dummy[0] == UX_NULL) in test_dummy_instance_activate()
575 device_dummy[0] = (UX_DEVICE_CLASS_DUMMY *)dummy_instance; in test_dummy_instance_activate()
578 if (device_dummy[1] == UX_NULL) in test_dummy_instance_activate()
580 device_dummy[1] = (UX_DEVICE_CLASS_DUMMY *)dummy_instance; in test_dummy_instance_activate()
586 if (device_dummy[0] == dummy_instance) in test_dummy_instance_deactivate()
587 device_dummy[0] = UX_NULL; in test_dummy_instance_deactivate()
588 if (device_dummy[1] == dummy_instance) in test_dummy_instance_deactivate()
589 device_dummy[1] = UX_NULL; in test_dummy_instance_deactivate()