Home
last modified time | relevance | path

Searched refs:dpump_slave (Results 1 – 25 of 57) sorted by relevance

123

/USBX-v6.2.1/test/regression/
Dusbx_dpump_basic_test.c35 static UX_SLAVE_CLASS_DPUMP *dpump_slave; variable
517 if (dpump_slave != UX_NULL) in tx_demo_thread_slave_simulation_entry()
526 if (dpump_slave == UX_NULL) in tx_demo_thread_slave_simulation_entry()
531 …status = ux_device_class_dpump_read_run(dpump_slave, slave_buffer, UX_HOST_CLASS_DPUMP_PACKET_SIZE… in tx_demo_thread_slave_simulation_entry()
556 if (dpump_slave == UX_NULL) in tx_demo_thread_slave_simulation_entry()
561 …status = ux_device_class_dpump_write_run(dpump_slave, slave_buffer, UX_HOST_CLASS_DPUMP_PACKET_SIZ… in tx_demo_thread_slave_simulation_entry()
586 while (dpump_slave != UX_NULL) in tx_demo_thread_slave_simulation_entry()
593 …status = _ux_device_class_dpump_read(dpump_slave, slave_buffer, UX_HOST_CLASS_DPUMP_PACKET_SIZE, … in tx_demo_thread_slave_simulation_entry()
608 …status = _ux_device_class_dpump_write(dpump_slave, slave_buffer, UX_HOST_CLASS_DPUMP_PACKET_SIZE,… in tx_demo_thread_slave_simulation_entry()
633 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in tx_demo_instance_activate()
[all …]
Dusbx_ux_host_stack_device_configuration_activate_test.c40 static UX_SLAVE_CLASS_DPUMP *dpump_slave; variable
348 if (tx_demo_dpump_get() == UX_SUCCESS && dpump_slave != UX_NULL) in tx_demo_thread_host_simulation_entry()
352 if (dpump == UX_NULL || dpump_slave == UX_NULL) in tx_demo_thread_host_simulation_entry()
394 UX_TEST_ASSERT(dpump_slave == UX_NULL); in tx_demo_thread_host_simulation_entry()
436 UX_TEST_ASSERT(dpump_slave != UX_NULL); in tx_demo_thread_host_simulation_entry()
483 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in tx_demo_instance_activate()
490 dpump_slave = UX_NULL; in tx_demo_instance_deactivate()
Dusbx_ux_host_stack_device_string_get_test.c36 static UX_SLAVE_CLASS_DPUMP *dpump_slave; variable
343 dpump_slave != UX_NULL) in tx_demo_thread_host_simulation_entry()
347 if (dpump == UX_NULL || dpump_slave == UX_NULL) in tx_demo_thread_host_simulation_entry()
349 printf("ERROR #%d: Enumeration fail %p %p\n", __LINE__, dpump, dpump_slave); in tx_demo_thread_host_simulation_entry()
475 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in tx_demo_instance_activate()
482 dpump_slave = UX_NULL; in tx_demo_instance_deactivate()
Dusbx_ux_host_stack_class_instance_get_test.c38 static UX_SLAVE_CLASS_DPUMP *dpump_slave; variable
412 if (dpump_slave != UX_NULL) in tx_demo_thread_slave_simulation_entry()
428 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in tx_demo_instance_activate()
435 dpump_slave = UX_NULL; in tx_demo_instance_deactivate()
Dusbx_ux_host_stack_interfaces_scan_test.c42 static UX_SLAVE_CLASS_DPUMP *dpump_slave; variable
452 if (dpump_slave != UX_NULL) in tx_demo_thread_slave_simulation_entry()
468 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in tx_demo_instance_activate()
475 dpump_slave = UX_NULL; in tx_demo_instance_deactivate()
Dusbx_ux_host_stack_class_instance_destroy_test.c38 static UX_SLAVE_CLASS_DPUMP *dpump_slave; variable
438 if (dpump_slave != UX_NULL) in tx_demo_thread_slave_simulation_entry()
454 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in tx_demo_instance_activate()
461 dpump_slave = UX_NULL; in tx_demo_instance_deactivate()
Dusbx_ux_host_stack_class_interface_scan_test.c44 static UX_SLAVE_CLASS_DPUMP *dpump_slave; variable
456 if (dpump_slave != UX_NULL) in tx_demo_thread_slave_simulation_entry()
472 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in tx_demo_instance_activate()
479 dpump_slave = UX_NULL; in tx_demo_instance_deactivate()
Dusbx_ux_host_stack_interface_endpoint_get_test.c38 static UX_SLAVE_CLASS_DPUMP *dpump_slave; variable
451 if (dpump_slave != UX_NULL) in tx_demo_thread_slave_simulation_entry()
467 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in tx_demo_instance_activate()
474 dpump_slave = UX_NULL; in tx_demo_instance_deactivate()
Dusbx_ux_host_stack_class_device_scan_test.c41 static UX_SLAVE_CLASS_DPUMP *dpump_slave; variable
508 if (dpump_slave != UX_NULL) in tx_demo_thread_slave_simulation_entry()
524 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in tx_demo_instance_activate()
531 dpump_slave = UX_NULL; in tx_demo_instance_deactivate()
Dusbx_ux_host_stack_endpoint_instance_create_test.c39 static UX_SLAVE_CLASS_DPUMP *dpump_slave; variable
459 if (dpump_slave != UX_NULL) in tx_test_thread_slave_simulation_entry()
475 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in tx_test_instance_activate()
482 dpump_slave = UX_NULL; in tx_test_instance_deactivate()
Dusbx_ux_device_stack_alternate_setting_get_test.c129 static UX_SLAVE_CLASS_DPUMP *dpump_slave = UX_NULL; variable
422 if (dpump_slave == UX_NULL) in ux_test_thread_simulation_0_entry()
473 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in ux_test_instance_activate()
480 dpump_slave = UX_NULL; in ux_test_instance_deactivate()
Dusbx_ux_device_stack_configuration_set_test.c156 static UX_SLAVE_CLASS_DPUMP *dpump_slave = UX_NULL; variable
451 if (dpump_slave == UX_NULL) in ux_test_thread_simulation_0_entry()
492 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in ux_test_instance_activate()
499 dpump_slave = UX_NULL; in ux_test_instance_deactivate()
Dusbx_ux_device_stack_endpoint_stall_test.c129 static UX_SLAVE_CLASS_DPUMP *dpump_slave = UX_NULL; variable
414 if (dpump_slave == UX_NULL) in ux_test_thread_simulation_0_entry()
469 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in ux_test_instance_activate()
476 dpump_slave = UX_NULL; in ux_test_instance_deactivate()
Dusbx_ux_device_stack_interface_delete_test.c129 static UX_SLAVE_CLASS_DPUMP *dpump_slave = UX_NULL; variable
412 if (dpump_slave == UX_NULL) in ux_test_thread_simulation_0_entry()
482 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in ux_test_instance_activate()
489 dpump_slave = UX_NULL; in ux_test_instance_deactivate()
Dusbx_ux_host_stack_device_configuration_get_test.c35 static UX_SLAVE_CLASS_DPUMP *dpump_slave; variable
366 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in ux_test_instance_activate()
373 dpump_slave = UX_NULL; in ux_test_instance_deactivate()
Dusbx_ux_host_stack_class_register_test.c156 static UX_SLAVE_CLASS_DPUMP *dpump_slave = UX_NULL; variable
457 if (dpump_slave == UX_NULL) in ux_test_thread_simulation_0_entry()
510 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in ux_test_instance_activate()
517 dpump_slave = UX_NULL; in ux_test_instance_deactivate()
Dusbx_ux_host_stack_class_get_test.c156 static UX_SLAVE_CLASS_DPUMP *dpump_slave = UX_NULL; variable
457 if (dpump_slave == UX_NULL) in ux_test_thread_simulation_0_entry()
510 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in ux_test_instance_activate()
517 dpump_slave = UX_NULL; in ux_test_instance_deactivate()
Dusbx_ux_host_stack_configuration_set_test.c39 static UX_SLAVE_CLASS_DPUMP *dpump_slave; variable
502 if (dpump_slave != UX_NULL) in tx_test_thread_slave_simulation_entry()
518 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in tx_test_instance_activate()
525 dpump_slave = UX_NULL; in tx_test_instance_deactivate()
Dusbx_ux_host_stack_hcd_transfer_request_test.c129 static UX_SLAVE_CLASS_DPUMP *dpump_slave = UX_NULL; variable
424 if (dpump_slave == UX_NULL) in ux_test_thread_simulation_0_entry()
486 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in ux_test_instance_activate()
493 dpump_slave = UX_NULL; in ux_test_instance_deactivate()
Dusbx_ux_device_stack_class_register_test.c156 static UX_SLAVE_CLASS_DPUMP *dpump_slave = UX_NULL; variable
457 if (dpump_slave == UX_NULL) in ux_test_thread_simulation_0_entry()
509 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in ux_test_instance_activate()
516 dpump_slave = UX_NULL; in ux_test_instance_deactivate()
Dusbx_ux_host_stack_rh_device_insertion_test.c41 static UX_SLAVE_CLASS_DPUMP *dpump_slave; variable
523 if (dpump_slave != UX_NULL) in tx_demo_thread_slave_simulation_entry()
539 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in tx_demo_instance_activate()
546 dpump_slave = UX_NULL; in tx_demo_instance_deactivate()
Dusbx_ux_device_stack_interface_start_test.c133 static UX_SLAVE_CLASS_DPUMP *dpump_slave = UX_NULL; variable
455 if (dpump_slave == UX_NULL) in ux_test_thread_simulation_0_entry()
495 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in ux_test_instance_activate()
502 dpump_slave = UX_NULL; in ux_test_instance_deactivate()
Dusbx_ux_host_stack_hcd_register_test.c156 static UX_SLAVE_CLASS_DPUMP *dpump_slave = UX_NULL; variable
457 if (dpump_slave == UX_NULL) in ux_test_thread_simulation_0_entry()
508 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in ux_test_instance_activate()
515 dpump_slave = UX_NULL; in ux_test_instance_deactivate()
Dusbx_ux_device_stack_class_unregister_test.c156 static UX_SLAVE_CLASS_DPUMP *dpump_slave = UX_NULL; variable
456 if (dpump_slave == UX_NULL) in ux_test_thread_simulation_0_entry()
509 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in ux_test_instance_activate()
516 dpump_slave = UX_NULL; in ux_test_instance_deactivate()
Dusbx_ux_host_stack_configuration_interface_get_test.c35 static UX_SLAVE_CLASS_DPUMP *dpump_slave; variable
403 dpump_slave = (UX_SLAVE_CLASS_DPUMP *) dpump_instance; in ux_test_instance_activate()
410 dpump_slave = UX_NULL; in ux_test_instance_deactivate()

123