Home
last modified time | relevance | path

Searched refs:setup (Results 1 – 11 of 11) sorted by relevance

/USBX-v6.2.1/test/regression/
Dusbx_hub_get_status_fails_during_configuration_test.c30 UX_TEST_SETUP setup = {0}; in post_init_host() local
31 setup.ux_test_setup_request = UX_GET_STATUS; in post_init_host()
32 setup.ux_test_setup_type = UX_REQUEST_IN | UX_REQUEST_TYPE_STANDARD | UX_REQUEST_TARGET_DEVICE; in post_init_host()
33 setup.ux_test_setup_value = 0; in post_init_host()
34 setup.ux_test_setup_index = 0; in post_init_host()
41 action.req_setup = &setup; in post_init_host()
Dusbx_hub_invalid_hub_descriptor_length_test.c31 UX_TEST_SETUP setup = {0}; in post_init_host() local
32 setup.ux_test_setup_request = UX_HOST_CLASS_HUB_GET_DESCRIPTOR; in post_init_host()
33 setup.ux_test_setup_type = UX_REQUEST_IN | UX_REQUEST_TYPE_CLASS | UX_REQUEST_TARGET_DEVICE; in post_init_host()
34 setup.ux_test_setup_value = (UX_HUB_DESCRIPTOR_ITEM << 8); in post_init_host()
35 setup.ux_test_setup_index = 0; in post_init_host()
42 action.req_setup = &setup; in post_init_host()
Dusbx_ux_device_stack_class_control_request_test.c149 UCHAR setup[8]; in test_application_define() member
191 transfer_request.ux_slave_transfer_request_setup[0] = tests[i].setup[0]; in test_application_define()
192 …transfer_request.ux_slave_transfer_request_setup[UX_SETUP_REQUEST] = tests[i].setup[UX_SETUP_RE… in test_application_define()
193 …transfer_request.ux_slave_transfer_request_setup[UX_SETUP_INDEX] = tests[i].setup[UX_SETUP_IN… in test_application_define()
194 …transfer_request.ux_slave_transfer_request_setup[UX_SETUP_INDEX + 1] = tests[i].setup[UX_SETUP_IN… in test_application_define()
198 …tests[i].setup[0], tests[i].setup[UX_SETUP_REQUEST], tests[i].setup[UX_SETUP_INDEX], tests[i].setu… in test_application_define()
206 …tests[i].setup[0], tests[i].setup[UX_SETUP_REQUEST], tests[i].setup[UX_SETUP_INDEX], tests[i].setu… in test_application_define()
215 …tests[i].setup[0], tests[i].setup[UX_SETUP_REQUEST], tests[i].setup[UX_SETUP_INDEX], tests[i].setu… in test_application_define()
Dusbx_hub_request_to_hub_itself_test.c30 UX_TEST_SETUP setup = {0}; in post_init_host() local
31 setup.ux_test_setup_request = command; in post_init_host()
32 setup.ux_test_setup_type = UX_REQUEST_OUT | UX_REQUEST_TYPE_CLASS | UX_REQUEST_TARGET_DEVICE; in post_init_host()
38 action.req_setup = &setup; in post_init_host()
Dusbx_uxe_device_dfu_test.c619 UCHAR *setup; in demo_thread_dfu_custom_request() local
630 setup = transfer -> ux_slave_transfer_request_setup; in demo_thread_dfu_custom_request()
633 if (setup[UX_SETUP_REQUEST] == UX_SLAVE_CLASS_DFU_COMMAND_DOWNLOAD && in demo_thread_dfu_custom_request()
634 setup[UX_SETUP_LENGTH] == 0 && in demo_thread_dfu_custom_request()
635 setup[UX_SETUP_LENGTH + 1] == 0) in demo_thread_dfu_custom_request()
Dusbx_msrc_71934_dfu_upload_test.c761 UCHAR *setup; in demo_thread_dfu_custom_request() local
772 setup = transfer -> ux_slave_transfer_request_setup; in demo_thread_dfu_custom_request()
775 if (setup[UX_SETUP_REQUEST] == UX_SLAVE_CLASS_DFU_COMMAND_DOWNLOAD && in demo_thread_dfu_custom_request()
776 setup[UX_SETUP_LENGTH] == 0 && in demo_thread_dfu_custom_request()
777 setup[UX_SETUP_LENGTH + 1] == 0) in demo_thread_dfu_custom_request()
Dusbx_msrc_69702_dfu_dnload_test.c801 UCHAR *setup; in demo_thread_dfu_custom_request() local
812 setup = transfer -> ux_slave_transfer_request_setup; in demo_thread_dfu_custom_request()
815 if (setup[UX_SETUP_REQUEST] == UX_SLAVE_CLASS_DFU_COMMAND_DOWNLOAD && in demo_thread_dfu_custom_request()
816 setup[UX_SETUP_LENGTH] == 0 && in demo_thread_dfu_custom_request()
817 setup[UX_SETUP_LENGTH + 1] == 0) in demo_thread_dfu_custom_request()
Dusbx_device_dfu_basic_test.c854 UCHAR *setup; in demo_thread_dfu_custom_request() local
865 setup = transfer -> ux_slave_transfer_request_setup; in demo_thread_dfu_custom_request()
868 if (setup[UX_SETUP_REQUEST] == UX_SLAVE_CLASS_DFU_COMMAND_DOWNLOAD && in demo_thread_dfu_custom_request()
869 setup[UX_SETUP_LENGTH] == 0 && in demo_thread_dfu_custom_request()
870 setup[UX_SETUP_LENGTH + 1] == 0) in demo_thread_dfu_custom_request()
Dusbx_audio20_host_basic_test.c806 UCHAR *setup = transfer -> ux_slave_transfer_request_setup; in slave_audio_control_process() local
808 UCHAR bmRequestType = setup[UX_SETUP_REQUEST_TYPE]; in slave_audio_control_process()
809 UCHAR bRequest = setup[UX_SETUP_REQUEST]; in slave_audio_control_process()
810 UCHAR wValue_CN = setup[UX_SETUP_VALUE]; in slave_audio_control_process()
811 UCHAR wValue_CS = setup[UX_SETUP_VALUE + 1]; in slave_audio_control_process()
812 UCHAR wIndex_iface = setup[UX_SETUP_INDEX]; in slave_audio_control_process()
813 UCHAR wIndex_ID = setup[UX_SETUP_INDEX + 1]; in slave_audio_control_process()
814 … ULONG wLength = _ux_utility_long_get(setup + UX_SETUP_LENGTH); in slave_audio_control_process()
Dusbx_storage_tests.c1669 …UX_TEST_ACTION create_endpoint_reset_match_action(TX_THREAD *thread_to_match, UX_TEST_SETUP *setup) in create_endpoint_reset_match_action() argument
1680 action.req_setup = setup; in create_endpoint_reset_match_action()
4383 UX_TEST_SETUP setup = { 0 }; in max_lun_get_test() local
4398 setup.ux_test_setup_type = UX_REQUEST_IN | UX_REQUEST_TYPE_CLASS | UX_REQUEST_TARGET_INTERFACE; in max_lun_get_test()
4399 setup.ux_test_setup_request = UX_HOST_CLASS_STORAGE_GET_MAX_LUN; in max_lun_get_test()
4403 actions[0].req_setup = &setup; in max_lun_get_test()
4423 setup.ux_test_setup_type = UX_REQUEST_IN | UX_REQUEST_TYPE_CLASS | UX_REQUEST_TARGET_INTERFACE; in max_lun_get_test()
4424 setup.ux_test_setup_request = UX_HOST_CLASS_STORAGE_GET_MAX_LUN; in max_lun_get_test()
4428 actions[0].req_setup = &setup; in max_lun_get_test()
/USBX-v6.2.1/docs/
Drevision_history.txt107 added transfer timeout setup function,
1541 … ux_dcd_stm32_transfer_callback.c Forced flushing fifo when new setup packet is received
2564 ux_device_class_cdc_control_request.c Removed setup of complete function callback.