Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 25 of 26) sorted by relevance

12

/USBX-v6.2.1/common/usbx_device_classes/src/
Dux_device_class_hid_receiver_thread.c90 ULONG temp; in _ux_device_class_hid_receiver_thread() local
127 UX_OR_CLEAR, &temp, 100); in _ux_device_class_hid_receiver_thread()
163 temp = transfer -> ux_slave_transfer_request_actual_length; in _ux_device_class_hid_receiver_thread()
167 temp = transfer -> ux_slave_transfer_request_actual_length; in _ux_device_class_hid_receiver_thread()
170 temp); /* Use case of memcpy is verified. */ in _ux_device_class_hid_receiver_thread()
184 pos -> ux_device_class_hid_received_event_length = temp; in _ux_device_class_hid_receiver_thread()
Dux_device_class_hid_receiver_tasks_run.c88 ULONG temp; in _ux_device_class_hid_receiver_tasks_run() local
176 temp = transfer -> ux_slave_transfer_request_actual_length; in _ux_device_class_hid_receiver_tasks_run()
181 temp = transfer -> ux_slave_transfer_request_actual_length; in _ux_device_class_hid_receiver_tasks_run()
184 temp); /* Use case of memcpy is verified. */ in _ux_device_class_hid_receiver_tasks_run()
195 pos -> ux_device_class_hid_received_event_length = temp; in _ux_device_class_hid_receiver_tasks_run()
/USBX-v6.2.1/test/regression/
Dusbx_audio10_device_feedback_test.c932 ULONG temp; in tx_test_thread_host_simulation_entry() local
999 temp = 0x1234567; in tx_test_thread_host_simulation_entry()
1000 ux_device_class_audio_feedback_set(slave_audio_rx_stream, (UCHAR *)&temp); in tx_test_thread_host_simulation_entry()
1001 temp = device_audio_rx_feedback_count; in tx_test_thread_host_simulation_entry()
1002 while(device_audio_rx_feedback_count == temp) in tx_test_thread_host_simulation_entry()
1007 temp = device_audio_tx_feedback_count; in tx_test_thread_host_simulation_entry()
1008 while(device_audio_tx_feedback_count != (temp + 2)) in tx_test_thread_host_simulation_entry()
1010 status = ux_device_class_audio_feedback_get(slave_audio_tx_stream, (UCHAR *)&temp); in tx_test_thread_host_simulation_entry()
1012 UX_TEST_ASSERT(temp == 0xabcd1234); in tx_test_thread_host_simulation_entry()
1018 temp = 0x7654321; in tx_test_thread_host_simulation_entry()
[all …]
Dusbx_audio10_iad_device_basic_test.c756temp = (slave_audio_stream_parameter[0].ux_device_class_audio_stream_parameter_max_frame_buffer_si… in test_application_define()
761 temp); in test_application_define()
762 temp += sizeof(UX_DEVICE_CLASS_AUDIO_STREAM); in test_application_define()
763 printf(" per _stream: _AUDIO_STREAM + _frame_buffer_size = %ld\n", temp); in test_application_define()
764 temp *= 2; in test_application_define()
765 temp += sizeof(UX_DEVICE_CLASS_AUDIO); in test_application_define()
766 printf(" per _audio: _AUDIO + _stream * 2 + _CONTROL * 0 = %ld\n", temp); in test_application_define()
831 ULONG temp; in tx_test_thread_host_simulation_entry() local
1045 temp = 0; in tx_test_thread_host_simulation_entry()
1046 status = ux_device_class_audio_sample_read8(slave_audio_rx_stream, (UCHAR *)&temp); in tx_test_thread_host_simulation_entry()
[all …]
Dusbx_audio10_device_basic_test.c777temp = (slave_audio_tx_stream_parameter.ux_device_class_audio_stream_parameter_max_frame_buffer_si… in test_application_define()
782 temp); in test_application_define()
783 temp += sizeof(UX_DEVICE_CLASS_AUDIO_STREAM); in test_application_define()
784 printf(" per _stream: _AUDIO_STREAM + _frame_buffer_size = %ld\n", temp); in test_application_define()
785 temp += sizeof(UX_DEVICE_CLASS_AUDIO); in test_application_define()
786 temp *= 2; in test_application_define()
787 printf(" per _audio: (_AUDIO + _stream * 1 + _CONTROL * 0) * 2 = %ld\n", temp); in test_application_define()
856 ULONG temp; in tx_test_thread_host_simulation_entry() local
1070 temp = 0; in tx_test_thread_host_simulation_entry()
1071 status = ux_device_class_audio_sample_read8(slave_audio_rx_stream, (UCHAR *)&temp); in tx_test_thread_host_simulation_entry()
[all …]
Dusbx_audio20_device_feedback_test.c983 ULONG temp; in tx_test_thread_host_simulation_entry() local
1053 temp = 0x1234567; in tx_test_thread_host_simulation_entry()
1054 ux_device_class_audio_feedback_set(slave_audio_rx_stream, (UCHAR *)&temp); in tx_test_thread_host_simulation_entry()
1055 temp = device_audio_rx_feedback_count; in tx_test_thread_host_simulation_entry()
1056 while(device_audio_rx_feedback_count == temp) in tx_test_thread_host_simulation_entry()
1061 temp = device_audio_tx_feedback_count; in tx_test_thread_host_simulation_entry()
1062 while(device_audio_tx_feedback_count != (temp + 2)) in tx_test_thread_host_simulation_entry()
1064 status = ux_device_class_audio_feedback_get(slave_audio_tx_stream, (UCHAR *)&temp); in tx_test_thread_host_simulation_entry()
1066 UX_TEST_ASSERT(temp == 0xabcd1234); in tx_test_thread_host_simulation_entry()
1072 temp = 0x7654321; in tx_test_thread_host_simulation_entry()
[all …]
Dusbx_ux_device_class_video_basic_tests.c760temp = (device_video_tx_stream_parameter.ux_device_class_video_stream_parameter_max_payload_buffer… in test_application_define()
765 temp); in test_application_define()
766 temp += sizeof(UX_DEVICE_CLASS_VIDEO_STREAM); in test_application_define()
767 printf(" per _stream: _VIDEO_STREAM + _payload_buffer_size = %ld\n", temp); in test_application_define()
768 temp += sizeof(UX_DEVICE_CLASS_VIDEO); in test_application_define()
769 temp *= 2; in test_application_define()
770 printf(" per _video: (_VIDEO + _stream * 1 + _CONTROL * 0) * 2 = %ld\n", temp); in test_application_define()
835 ULONG temp; in tx_test_thread_host_simulation_entry() local
1052 temp = 0; in tx_test_thread_host_simulation_entry()
1053 status = ux_device_class_video_read_payload_get(device_video_rx_stream, &temp_buf, &temp); in tx_test_thread_host_simulation_entry()
[all …]
Dusbx_audio20_device_basic_test.c881 ULONG temp; in tx_test_thread_host_simulation_entry() local
1095 temp = 0; in tx_test_thread_host_simulation_entry()
1096 status = ux_device_class_audio_sample_read8(slave_audio_rx_stream, (UCHAR *)&temp); in tx_test_thread_host_simulation_entry()
1105 status = ux_device_class_audio_sample_read8(slave_audio_rx_stream, (UCHAR *)&temp); in tx_test_thread_host_simulation_entry()
1113 status = ux_device_class_audio_sample_read8(slave_audio_rx_stream, (UCHAR *)&temp); in tx_test_thread_host_simulation_entry()
1115 UX_TEST_ASSERT(temp == (test_n + '0')); in tx_test_thread_host_simulation_entry()
1124 status = ux_device_class_audio_sample_read8(slave_audio_rx_stream, (UCHAR *)&temp); in tx_test_thread_host_simulation_entry()
1126 UX_TEST_ASSERT(temp == (test_n + '0')); in tx_test_thread_host_simulation_entry()
1151 status = ux_device_class_audio_sample_read8(slave_audio_rx_stream, (UCHAR *)&temp); in tx_test_thread_host_simulation_entry()
1154 UX_TEST_ASSERT(temp == (test_n + '0')); in tx_test_thread_host_simulation_entry()
[all …]
Dusbx_hub_hub_device_connect_test.c27 ULONG temp; in post_init_host() local
69 temp = _ux_system_host -> ux_system_host_max_devices; in post_init_host()
89 _ux_system_host -> ux_system_host_max_devices = temp; in post_init_host()
Dusbx_ux_host_stack_device_configuration_activate_test.c343 ULONG temp; in tx_demo_thread_host_simulation_entry() local
365 temp = device -> ux_device_handle; in tx_demo_thread_host_simulation_entry()
373 device -> ux_device_handle = temp; in tx_demo_thread_host_simulation_entry()
407 temp = configuration -> ux_configuration_handle; in tx_demo_thread_host_simulation_entry()
415 configuration -> ux_configuration_handle = temp; in tx_demo_thread_host_simulation_entry()
Dusbx_ux_host_class_storage_thread_entry_test.c594 ULONG temp; in tx_demo_thread_host_simulation_entry() local
702 for(temp = 0; temp < 8; temp ++) in tx_demo_thread_host_simulation_entry()
706 stepinfo("%ld --- ready0\n", temp); in tx_demo_thread_host_simulation_entry()
719 stepinfo("%ld --- not ready\n", temp); in tx_demo_thread_host_simulation_entry()
721 semaphore_error_start = temp; in tx_demo_thread_host_simulation_entry()
738 stepinfo("%ld --- ready1\n", temp); in tx_demo_thread_host_simulation_entry()
751 stepinfo("%ld --- attention!\n", temp); in tx_demo_thread_host_simulation_entry()
753 semaphore_error_start = temp; in tx_demo_thread_host_simulation_entry()
Dusbx_ux_host_class_storage_device_support_check_test.c492 ULONG temp; in tx_demo_thread_host_simulation_entry() local
535 temp = storage -> ux_host_class_storage_interface -> ux_interface_descriptor.bInterfaceProtocol; in tx_demo_thread_host_simulation_entry()
545 storage -> ux_host_class_storage_interface -> ux_interface_descriptor.bInterfaceProtocol = temp; in tx_demo_thread_host_simulation_entry()
549 temp = storage -> ux_host_class_storage_interface -> ux_interface_descriptor.bInterfaceSubClass; in tx_demo_thread_host_simulation_entry()
559 storage -> ux_host_class_storage_interface -> ux_interface_descriptor.bInterfaceSubClass = temp; in tx_demo_thread_host_simulation_entry()
Dusbx_ux_host_stack_rh_device_insertion_test.c394 ULONG temp; in tx_demo_thread_host_simulation_entry() local
478 temp = _ux_system_host -> ux_system_host_max_devices; in tx_demo_thread_host_simulation_entry()
489 _ux_system_host -> ux_system_host_max_devices = temp; in tx_demo_thread_host_simulation_entry()
Dusbx_ux_host_class_storage_device_initialize_test.c495 ULONG temp; in tx_demo_thread_host_simulation_entry() local
538 temp = storage -> ux_host_class_storage_interface -> ux_interface_descriptor.bInterfaceProtocol; in tx_demo_thread_host_simulation_entry()
548 storage -> ux_host_class_storage_interface -> ux_interface_descriptor.bInterfaceProtocol = temp; in tx_demo_thread_host_simulation_entry()
557 temp = slave_storage -> ux_slave_class_storage_lun[0].ux_slave_class_storage_media_type; in tx_demo_thread_host_simulation_entry()
579 slave_storage -> ux_slave_class_storage_lun[0].ux_slave_class_storage_media_type = temp; in tx_demo_thread_host_simulation_entry()
Dusbx_ux_host_stack_device_string_get_test.c337 ULONG temp; in tx_demo_thread_host_simulation_entry() local
357 temp = device -> ux_device_handle; in tx_demo_thread_host_simulation_entry()
365 device -> ux_device_handle = temp; in tx_demo_thread_host_simulation_entry()
Dusbx_ux_test_hub.h479 ULONG temp; in thread_entry_cmd() local
493 temp = 0x3u; in thread_entry_cmd()
494 _ux_device_class_hub_notify_changes(g_hub_device, (UCHAR*)&temp, 2); in thread_entry_cmd()
Dux_test.c103 UX_TEST_ACTION temp; in ux_test_list_action_compare() local
110 temp = *action; in ux_test_list_action_compare()
113 temp.next = list_item->next; in ux_test_list_action_compare()
114 temp.created_list_next = list_item->created_list_next; in ux_test_list_action_compare()
117 status = ux_utility_memory_compare(list_item, &temp, sizeof(temp)); in ux_test_list_action_compare()
Dusbx_msrc_81426_host_audio_type_get_fail_ac_link_test.c1016 ULONG temp; in tx_test_thread_host_simulation_entry() local
Dusbx_msrc_81184_host_audio_desc_validate_test.c1030 ULONG temp; in tx_test_thread_host_simulation_entry() local
Dusbx_msrc_72526_pictbridge_dps_host_start_test.c417 ULONG temp; in replace_pima_cmd_thread_entry() local
Dusbx_msrc_81108_pictbridge_object_parse_test.c417 ULONG temp; in replace_pima_cmd_thread_entry() local
Dusbx_msrc_81428_81429_host_audio_ac_search_test.c1088 ULONG temp; in tx_test_thread_host_simulation_entry() local
Dusbx_audio20_device_controls_test.c971 ULONG temp; in tx_test_thread_host_simulation_entry() local
Dusbx_audio10_iad_host_basic_test.c1339 ULONG temp; in tx_test_thread_host_simulation_entry() local
/USBX-v6.2.1/cmake/
Dutilities.cmake3 # Store the current list in a temp
11 # Add this target into the temp
13 # Copy the temp back up to the parent list

12