Home
last modified time | relevance | path

Searched refs:UX_TRUE (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/USBX-v6.2.1/common/usbx_device_classes/src/
Dux_device_class_cdc_acm_write_with_callback.c120 if (cdc_acm -> ux_slave_class_cdc_acm_transmission_status != UX_TRUE) in _ux_device_class_cdc_acm_write_with_callback()
129 if (cdc_acm -> ux_slave_class_cdc_acm_scheduled_write == UX_TRUE) in _ux_device_class_cdc_acm_write_with_callback()
145 cdc_acm -> ux_slave_class_cdc_acm_scheduled_write = UX_TRUE; in _ux_device_class_cdc_acm_write_with_callback()
158 cdc_acm -> ux_slave_class_cdc_acm_scheduled_write = UX_TRUE; in _ux_device_class_cdc_acm_write_with_callback()
/USBX-v6.2.1/test/regression/
Dusbx_ux_host_device_basic_memory_tests.c291 UX_TRUE , UX_TEST_PORT_STATUS_DISC,
347 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
351 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
355 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
368 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
372 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
379 UX_TRUE},
381 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
394 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
398 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
[all …]
Dusbx_ux_host_basic_memory_tests.c304 UX_TRUE , UX_TEST_PORT_STATUS_DISC,
360 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
364 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
368 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
381 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
385 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
392 UX_TRUE},
394 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
407 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
411 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
[all …]
Dusbx_ux_device_class_storage_thread_test.c92 static UCHAR error_callback_ignore = UX_TRUE;
671 …ransfer_data(request_sense_response, UX_HOST_CLASS_STORAGE_REQUEST_SENSE_RESPONSE_LENGTH, UX_TRUE); in _test_request_sense()
763 _test_init_cbw(UX_FALSE, 10, UX_TRUE, 0, 6, 0xFF); in tx_demo_thread_host_simulation_entry()
770 status = _test_transfer_data(buffer, 512, UX_TRUE); in tx_demo_thread_host_simulation_entry()
776 _test_clear_stall(UX_TRUE); in tx_demo_thread_host_simulation_entry()
785 _test_init_cbw(UX_FALSE, 0, UX_TRUE, 0, 6, 0xFF); in tx_demo_thread_host_simulation_entry()
798 _test_clear_stall(UX_TRUE); in tx_demo_thread_host_simulation_entry()
812 …_test_init_cbw(UX_FALSE, 0, UX_TRUE, (UCHAR)slave_storage->ux_slave_class_storage_number_lun, UX_… in tx_demo_thread_host_simulation_entry()
825 _test_clear_stall(UX_TRUE); in tx_demo_thread_host_simulation_entry()
841 _test_clear_stall(UX_TRUE); in tx_demo_thread_host_simulation_entry()
[all …]
Dusbx_ux_host_device_basic_tests.c304 UX_TRUE , UX_TEST_PORT_STATUS_DISC,
360 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
364 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
368 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
381 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
385 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
392 UX_TRUE},
394 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
407 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
411 UX_TRUE, UX_TEST_PORT_STATUS_DISC,
[all …]
Dusbx_cdc_ecm_basic_test.c35 UX_TEST_CHECK_SUCCESS(ux_test_wait_for_value_uchar(&device_is_finished, UX_TRUE)); in post_init_host()
55 device_is_finished = UX_TRUE; in post_init_device()
Dusbx_ux_device_class_storage_mode_sense_test.c89 static UCHAR error_callback_ignore = UX_TRUE;
599 …ransfer_data(request_sense_response, UX_HOST_CLASS_STORAGE_REQUEST_SENSE_RESPONSE_LENGTH, UX_TRUE); in _test_request_sense()
677 status = _test_transfer_data(buffer, 128, UX_TRUE); in tx_demo_thread_host_simulation_entry()
690 _test_init_cbw_MODE_SENSE(UX_TRUE, UX_SLAVE_CLASS_STORAGE_MMC2_PAGE_CODE_CDROM, 74); in tx_demo_thread_host_simulation_entry()
697 status = _test_transfer_data(buffer, 74, UX_TRUE); in tx_demo_thread_host_simulation_entry()
714 …slave_storage->ux_slave_class_storage_lun[0].ux_slave_class_storage_media_read_only_flag = UX_TRUE; in tx_demo_thread_host_simulation_entry()
725 status = _test_transfer_data(buffer, 128, UX_TRUE); in tx_demo_thread_host_simulation_entry()
738 _test_init_cbw_MODE_SENSE(UX_TRUE, UX_SLAVE_CLASS_STORAGE_PAGE_CODE_CACHE, 24); in tx_demo_thread_host_simulation_entry()
745 status = _test_transfer_data(buffer, 24, UX_TRUE); in tx_demo_thread_host_simulation_entry()
759 _test_init_cbw_MODE_SENSE(UX_TRUE, UX_SLAVE_CLASS_STORAGE_PAGE_CODE_CACHE, 24); in tx_demo_thread_host_simulation_entry()
[all …]
Dusbx_ux_host_stack_new_interface_create_test.c462 test_error_cases = UX_TRUE; in tx_test_thread_host_simulation_entry()
480 test_error_cases = UX_TRUE; in tx_test_thread_host_simulation_entry()
498 test_error_cases = UX_TRUE; in tx_test_thread_host_simulation_entry()
574 detect_insertion = UX_TRUE; in test_host_change_function()
584 detect_extraction = UX_TRUE; in test_host_change_function()
Dusbx_cdc_ecm_nx_packet_chain_test.c57 UX_TEST_CHECK_SUCCESS(ux_test_wait_for_value_uchar(&device_is_finished, UX_TRUE)); in post_init_host()
76 device_is_finished = UX_TRUE; in post_init_device()
Dusbx_msrc_80947_device_cdc_ecm_rx_length_less_than_14.c59 UX_TEST_CHECK_SUCCESS(ux_test_wait_for_value_uchar(&device_is_finished, UX_TRUE)); in post_init_host()
79 device_is_finished = UX_TRUE; in post_init_device()
Dusbx_msrc_81024_host_cdc_ecm_rx_length_less_than_14.c56 UX_TEST_CHECK_SUCCESS(ux_test_wait_for_value_uchar(&device_is_finished, UX_TRUE)); in post_init_host()
79 device_is_finished = UX_TRUE; in post_init_device()
Dusbx_ux_device_class_storage_read_test.c92 static UCHAR error_callback_ignore = UX_TRUE;
691 …ransfer_data(request_sense_response, UX_HOST_CLASS_STORAGE_REQUEST_SENSE_RESPONSE_LENGTH, UX_TRUE); in _test_request_sense()
765 status = _test_transfer_data(buffer, 512, UX_TRUE); in tx_demo_thread_host_simulation_entry()
786 status = _test_transfer_data(buffer, 512, UX_TRUE); in tx_demo_thread_host_simulation_entry()
808 status = _test_transfer_data(buffer, 512, UX_TRUE); in tx_demo_thread_host_simulation_entry()
815 _test_clear_stall(UX_TRUE); in tx_demo_thread_host_simulation_entry()
832 status = _test_transfer_data(buffer, 512, UX_TRUE); in tx_demo_thread_host_simulation_entry()
838 _test_clear_stall(UX_TRUE); in tx_demo_thread_host_simulation_entry()
854 status = _test_transfer_data(buffer, 512, UX_TRUE); in tx_demo_thread_host_simulation_entry()
860 _test_clear_stall(UX_TRUE); in tx_demo_thread_host_simulation_entry()
[all …]
Dusbx_standalone_device_storage_read_write_test.c119 static UCHAR error_callback_ignore = UX_TRUE;
227 UX_TRUE}, /* Invoke callback & continue */
429 ux_test_utility_sim_mem_alloc_log_enable(UX_TRUE); in test_application_define()
856 _test_clear_stall(UX_TRUE); in _test_wait_csw()
886 …ta(__LINE__, request_sense_response, UX_HOST_CLASS_STORAGE_REQUEST_SENSE_RESPONSE_LENGTH, UX_TRUE); in _test_request_sense()
1180 status = _test_transfer_data(__LINE__, buffer, 128, UX_TRUE); in _msc_cbw_fail_cases_test()
1203 status = _test_transfer_data(__LINE__, buffer, 128, UX_TRUE); in _msc_cbw_fail_cases_test()
1226 status = _test_transfer_data(__LINE__, buffer, 128, UX_TRUE); in _msc_cbw_fail_cases_test()
1249 status = _test_transfer_data(__LINE__, buffer, 128, UX_TRUE); in _msc_cbw_fail_cases_test()
1262 _test_clear_stall(UX_TRUE); in _msc_cbw_fail_cases_test()
[all …]
Dusbx_standalone_device_storage_basic_test.c119 static UCHAR error_callback_ignore = UX_TRUE;
227 UX_TRUE}, /* Invoke callback & continue */
429 ux_test_utility_sim_mem_alloc_log_enable(UX_TRUE); in test_application_define()
856 _test_clear_stall(UX_TRUE); in _test_wait_csw()
886 …ta(__LINE__, request_sense_response, UX_HOST_CLASS_STORAGE_REQUEST_SENSE_RESPONSE_LENGTH, UX_TRUE); in _test_request_sense()
1180 status = _test_transfer_data(__LINE__, buffer, 128, UX_TRUE); in _msc_cbw_fail_cases_test()
1203 status = _test_transfer_data(__LINE__, buffer, 128, UX_TRUE); in _msc_cbw_fail_cases_test()
1226 status = _test_transfer_data(__LINE__, buffer, 128, UX_TRUE); in _msc_cbw_fail_cases_test()
1249 status = _test_transfer_data(__LINE__, buffer, 128, UX_TRUE); in _msc_cbw_fail_cases_test()
1262 _test_clear_stall(UX_TRUE); in _msc_cbw_fail_cases_test()
[all …]
Dusbx_standalone_device_storage_error_cv_test.c119 static UCHAR error_callback_ignore = UX_TRUE;
227 UX_TRUE}, /* Invoke callback & continue */
429 ux_test_utility_sim_mem_alloc_log_enable(UX_TRUE); in test_application_define()
856 _test_clear_stall(UX_TRUE); in _test_wait_csw()
886 …ta(__LINE__, request_sense_response, UX_HOST_CLASS_STORAGE_REQUEST_SENSE_RESPONSE_LENGTH, UX_TRUE); in _test_request_sense()
1180 status = _test_transfer_data(__LINE__, buffer, 128, UX_TRUE); in _msc_cbw_fail_cases_test()
1203 status = _test_transfer_data(__LINE__, buffer, 128, UX_TRUE); in _msc_cbw_fail_cases_test()
1226 status = _test_transfer_data(__LINE__, buffer, 128, UX_TRUE); in _msc_cbw_fail_cases_test()
1249 status = _test_transfer_data(__LINE__, buffer, 128, UX_TRUE); in _msc_cbw_fail_cases_test()
1262 _test_clear_stall(UX_TRUE); in _msc_cbw_fail_cases_test()
[all …]
/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_hid_mouse_callback.c109 if (callback -> ux_host_class_hid_report_callback_value == UX_TRUE) in _ux_host_class_hid_mouse_callback()
118 if (callback -> ux_host_class_hid_report_callback_value == UX_TRUE) in _ux_host_class_hid_mouse_callback()
127 if (callback -> ux_host_class_hid_report_callback_value == UX_TRUE) in _ux_host_class_hid_mouse_callback()
Dux_host_class_audio_streaming_sampling_get.c176 interface_found = UX_TRUE; in _ux_host_class_audio_streaming_sampling_get()
188 … if ((interface_found == UX_TRUE) && (descriptor_subtype == UX_HOST_CLASS_AUDIO_CS_FORMAT_TYPE)) in _ux_host_class_audio_streaming_sampling_get()
268 previous_match_found = UX_TRUE; in _ux_host_class_audio_streaming_sampling_get()
287 previous_match_found = UX_TRUE; in _ux_host_class_audio_streaming_sampling_get()
294 if (previous_match_found == UX_TRUE) in _ux_host_class_audio_streaming_sampling_get()
319 if (previous_match_found == UX_TRUE) in _ux_host_class_audio_streaming_sampling_get()
Dux_host_class_cdc_ecm_transmit_queue_clean.c96 if (cdc_ecm -> ux_host_class_cdc_ecm_bulk_out_transfer_check_and_arm_in_process == UX_TRUE) in _ux_host_class_cdc_ecm_transmit_queue_clean()
103 … cdc_ecm -> ux_host_class_cdc_ecm_bulk_out_transfer_waiting_for_check_and_arm_to_finish = UX_TRUE; in _ux_host_class_cdc_ecm_transmit_queue_clean()
Dux_host_class_cdc_ecm_interrupt_notification.c148 … if (cdc_ecm -> ux_host_class_cdc_ecm_bulk_in_transfer_check_and_arm_in_process == UX_TRUE) in _ux_host_class_cdc_ecm_interrupt_notification()
154 … cdc_ecm -> ux_host_class_cdc_ecm_bulk_in_transfer_waiting_for_check_and_arm_to_finish = UX_TRUE; in _ux_host_class_cdc_ecm_interrupt_notification()
Dux_host_class_video_control_list_get.c130 interface_found = UX_TRUE; in _ux_host_class_video_control_list_get()
148 …if ((interface_found == UX_TRUE) && (descriptor_subtype == UX_HOST_CLASS_VIDEO_VC_PROCESSING_UNIT)) in _ux_host_class_video_control_list_get()
Dux_host_class_video_input_terminal_get.c130 interface_found = UX_TRUE; in _ux_host_class_video_input_terminal_get()
148 … if ((interface_found == UX_TRUE) && (descriptor_subtype == UX_HOST_CLASS_VIDEO_VC_INPUT_TERMINAL)) in _ux_host_class_video_input_terminal_get()
Dux_host_class_video_input_format_get.c131 descriptor_found = UX_TRUE; in _ux_host_class_video_input_format_get()
144 if (descriptor_found == UX_TRUE) in _ux_host_class_video_input_format_get()
Dux_host_class_audio_streaming_terminal_get.c133 descriptor_found = UX_TRUE; in _ux_host_class_audio_streaming_terminal_get()
143 if (descriptor_found == UX_TRUE) in _ux_host_class_audio_streaming_terminal_get()
/USBX-v6.2.1/common/core/src/
Dux_hcd_sim_host_transaction_schedule.c463 wake_host = UX_TRUE; in _ux_hcd_sim_host_transaction_schedule()
464 wake_slave = UX_TRUE; in _ux_hcd_sim_host_transaction_schedule()
471 wake_host = UX_TRUE; in _ux_hcd_sim_host_transaction_schedule()
472 wake_slave = UX_TRUE; in _ux_hcd_sim_host_transaction_schedule()
479 wake_host = UX_TRUE; in _ux_hcd_sim_host_transaction_schedule()
487 wake_slave = UX_TRUE; in _ux_hcd_sim_host_transaction_schedule()
493 if (wake_slave == UX_TRUE) in _ux_hcd_sim_host_transaction_schedule()
517 if (wake_host == UX_TRUE) in _ux_hcd_sim_host_transaction_schedule()
/USBX-v6.2.1/common/usbx_network/src/
Dux_network_driver.c218 usb_network_devices[i].ux_network_device_activated_by_thread = UX_TRUE; in _ux_network_driver_activate()
355 usb_network_device -> ux_network_device_deactivate_thread_waiting = UX_TRUE; in _ux_network_driver_deactivate()
586 if (usb_network_device_ptr -> ux_network_device_activated_by_thread == UX_TRUE) in _ux_network_driver_entry()
599 if (usb_network_device_ptr -> ux_network_device_activated_by_thread == UX_TRUE) in _ux_network_driver_entry()
661 if (usb_network_device_ptr -> ux_network_device_activated_by_thread == UX_TRUE) in _ux_network_driver_entry()
678 … if (usb_network_device_ptr -> ux_network_device_deactivate_thread_waiting == UX_TRUE) in _ux_network_driver_entry()
695 if (usb_network_device_ptr -> ux_network_device_activated_by_thread == UX_TRUE) in _ux_network_driver_entry()

12345678910>>...12