| /USBX-v6.2.1/common/core/src/ |
| D | ux_host_stack_transfer_request.c | 167 if (!_ux_host_semaphore_waiting(&device -> ux_device_protection_semaphore)) in _ux_host_stack_transfer_request() 171 _ux_host_semaphore_put(&device -> ux_device_protection_semaphore); in _ux_host_stack_transfer_request() 192 if (_ux_host_semaphore_waiting(&device -> ux_device_protection_semaphore)) in _ux_host_stack_transfer_request() 196 … status = _ux_host_semaphore_get(&device -> ux_device_protection_semaphore, UX_WAIT_FOREVER); in _ux_host_stack_transfer_request() 213 _ux_host_semaphore_put(&device -> ux_device_protection_semaphore); in _ux_host_stack_transfer_request()
|
| D | ux_host_stack_device_configuration_activate.c | 124 status = _ux_host_semaphore_get(&device -> ux_device_protection_semaphore, UX_WAIT_FOREVER); in _ux_host_stack_device_configuration_activate() 152 _ux_host_semaphore_put(&device -> ux_device_protection_semaphore); in _ux_host_stack_device_configuration_activate()
|
| D | ux_host_stack_device_configuration_deactivate.c | 128 status = _ux_host_semaphore_get(&device -> ux_device_protection_semaphore, UX_WAIT_FOREVER); in _ux_host_stack_device_configuration_deactivate() 150 _ux_host_semaphore_put(&device -> ux_device_protection_semaphore); in _ux_host_stack_device_configuration_deactivate()
|
| D | ux_host_stack_interface_setting_select.c | 188 …t_semaphore_get(&configuration -> ux_configuration_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_stack_interface_setting_select() 209 …ux_host_semaphore_put(&configuration -> ux_configuration_device -> ux_device_protection_semaphore); in _ux_host_stack_interface_setting_select()
|
| D | ux_host_stack_role_swap.c | 98 status = _ux_host_semaphore_get(&device -> ux_device_protection_semaphore, UX_WAIT_FOREVER); in _ux_host_stack_role_swap()
|
| /USBX-v6.2.1/test/regression/ |
| D | ux_test_race_condition_overrides.c | 70 if (device -> ux_device_protection_semaphore.tx_semaphore_count != 0) in _ux_host_stack_transfer_request() 74 … status = _ux_utility_semaphore_get(&device -> ux_device_protection_semaphore, UX_WAIT_FOREVER); in _ux_host_stack_transfer_request() 95 _ux_utility_semaphore_put(&device -> ux_device_protection_semaphore); in _ux_host_stack_transfer_request() 115 if (device -> ux_device_protection_semaphore.tx_semaphore_count != 0) in _ux_host_stack_transfer_request() 119 … status = _ux_utility_semaphore_get(&device -> ux_device_protection_semaphore, UX_WAIT_FOREVER); in _ux_host_stack_transfer_request() 143 _ux_utility_semaphore_put(&device -> ux_device_protection_semaphore); in _ux_host_stack_transfer_request()
|
| D | usbx_ux_host_class_hid_idle_get_test.c | 393 hid -> ux_host_class_hid_device -> ux_device_protection_semaphore.tx_semaphore_id++; in tx_demo_thread_host_simulation_entry() 404 hid -> ux_host_class_hid_device -> ux_device_protection_semaphore.tx_semaphore_id--; in tx_demo_thread_host_simulation_entry() 437 _ux_utility_semaphore_put(&hid -> ux_host_class_hid_device -> ux_device_protection_semaphore); in tx_demo_thread_host_simulation_entry() 458 _ux_utility_semaphore_put(&hid -> ux_host_class_hid_device -> ux_device_protection_semaphore); in tx_demo_thread_host_simulation_entry()
|
| D | usbx_ux_host_stack_device_configuration_activate_test.c | 376 _ux_utility_semaphore_delete(&device -> ux_device_protection_semaphore); in tx_demo_thread_host_simulation_entry() 383 …_ux_utility_semaphore_create(&device -> ux_device_protection_semaphore, "ux_device_protection_sema… in tx_demo_thread_host_simulation_entry() 418 _ux_utility_semaphore_delete(&device -> ux_device_protection_semaphore); in tx_demo_thread_host_simulation_entry() 425 …_ux_utility_semaphore_create(&device -> ux_device_protection_semaphore, "ux_device_protection_sema… in tx_demo_thread_host_simulation_entry()
|
| D | usbx_ux_host_stack_device_string_get_test.c | 369 _ux_utility_semaphore_delete(&device -> ux_device_protection_semaphore); in tx_demo_thread_host_simulation_entry() 376 …_ux_utility_semaphore_create(&device -> ux_device_protection_semaphore, "ux_device_protection_sema… in tx_demo_thread_host_simulation_entry() 451 status = tx_semaphore_get(&device -> ux_device_protection_semaphore, UX_WAIT_FOREVER); in tx_demo_thread_test_simulation_entry() 458 status = tx_semaphore_put(&device -> ux_device_protection_semaphore); in tx_demo_thread_test_simulation_entry()
|
| D | usbx_ux_host_class_hid_report_get_test2.c | 415 _ux_utility_semaphore_put(&hid -> ux_host_class_hid_device -> ux_device_protection_semaphore); in tx_demo_thread_host_simulation_entry() 445 _ux_utility_semaphore_put(&hid -> ux_host_class_hid_device -> ux_device_protection_semaphore); in tx_demo_thread_host_simulation_entry() 456 hid -> ux_host_class_hid_device -> ux_device_protection_semaphore.tx_semaphore_id++; in tx_demo_thread_host_simulation_entry() 467 hid -> ux_host_class_hid_device -> ux_device_protection_semaphore.tx_semaphore_id--; in tx_demo_thread_host_simulation_entry()
|
| D | usbx_ux_host_class_hid_report_set_test.c | 398 hid -> ux_host_class_hid_device -> ux_device_protection_semaphore.tx_semaphore_id++; in tx_demo_thread_host_simulation_entry() 409 hid -> ux_host_class_hid_device -> ux_device_protection_semaphore.tx_semaphore_id--; in tx_demo_thread_host_simulation_entry() 560 ux_utility_semaphore_put(&hid -> ux_host_class_hid_device -> ux_device_protection_semaphore); in tx_demo_thread_host_simulation_entry() 578 ux_utility_semaphore_put(&hid -> ux_host_class_hid_device -> ux_device_protection_semaphore); in tx_demo_thread_host_simulation_entry()
|
| D | usbx_ux_host_class_hid_idle_set_test.c | 316 hid -> ux_host_class_hid_device -> ux_device_protection_semaphore.tx_semaphore_id++; in tx_demo_thread_host_simulation_entry() 327 hid -> ux_host_class_hid_device -> ux_device_protection_semaphore.tx_semaphore_id--; in tx_demo_thread_host_simulation_entry()
|
| /USBX-v6.2.1/common/usbx_host_classes/src/ |
| D | ux_host_class_audio_control_get.c | 139 …x_host_semaphore_get(&audio -> ux_host_class_audio_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_audio_control_get() 177 … _ux_host_semaphore_put(&audio -> ux_host_class_audio_device -> ux_device_protection_semaphore); in _ux_host_class_audio_control_get() 252 … _ux_host_semaphore_put(&audio -> ux_host_class_audio_device -> ux_device_protection_semaphore); in _ux_host_class_audio_control_get() 282 …x_host_semaphore_get(&audio -> ux_host_class_audio_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_audio_control_get() 313 …x_host_semaphore_get(&audio -> ux_host_class_audio_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_audio_control_get()
|
| D | ux_host_class_audio_control_value_set.c | 150 …x_host_semaphore_get(&audio -> ux_host_class_audio_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_audio_control_value_set() 201 … _ux_host_semaphore_put(&audio -> ux_host_class_audio_device -> ux_device_protection_semaphore); in _ux_host_class_audio_control_value_set() 233 … _ux_host_semaphore_put(&audio -> ux_host_class_audio_device -> ux_device_protection_semaphore); in _ux_host_class_audio_control_value_set()
|
| D | ux_host_class_storage_device_reset.c | 98 …emaphore_get_norc(&control_endpoint -> ux_endpoint_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_storage_device_reset()
|
| D | ux_host_class_audio_streaming_sampling_set.c | 226 … status = _ux_host_semaphore_get(&device -> ux_device_protection_semaphore, UX_WAIT_FOREVER); in _ux_host_class_audio_streaming_sampling_set() 257 … status = _ux_host_semaphore_get(&device -> ux_device_protection_semaphore, UX_WAIT_FOREVER); in _ux_host_class_audio_streaming_sampling_set() 294 … status = _ux_host_semaphore_get(&device -> ux_device_protection_semaphore, UX_WAIT_FOREVER); in _ux_host_class_audio_streaming_sampling_set()
|
| D | ux_host_class_prolific_command.c | 103 …_semaphore_get(&prolific -> ux_host_class_prolific_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_prolific_command()
|
| D | ux_host_class_hid_report_set.c | 228 … _ux_host_semaphore_get(&hid -> ux_host_class_hid_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_hid_report_set() 248 _ux_host_semaphore_put(&hid -> ux_host_class_hid_device -> ux_device_protection_semaphore); in _ux_host_class_hid_report_set()
|
| D | ux_host_class_audio_raw_sampling_parse.c | 402 … status = _ux_host_semaphore_get(&device -> ux_device_protection_semaphore, UX_WAIT_FOREVER); in _ux_host_class_audio20_clock_get() 430 … status = _ux_host_semaphore_get(&device -> ux_device_protection_semaphore, UX_WAIT_FOREVER); in _ux_host_class_audio20_clock_get() 487 … status = _ux_host_semaphore_get(&device -> ux_device_protection_semaphore, UX_WAIT_FOREVER); in _ux_host_class_audio20_clock_get() 615 …parser -> status = _ux_host_semaphore_get(&device -> ux_device_protection_semaphore, UX_WAIT_FOREV… in _ux_host_class_audio20_sam_parse_func() 667 …parser -> status = _ux_host_semaphore_get(&device -> ux_device_protection_semaphore, UX_WAIT_FOREV… in _ux_host_class_audio20_sam_parse_func()
|
| D | ux_host_class_storage_max_lun_get.c | 101 …ost_semaphore_get(&control_endpoint -> ux_endpoint_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_storage_max_lun_get()
|
| D | ux_host_class_hid_idle_set.c | 120 … _ux_host_semaphore_get(&hid -> ux_host_class_hid_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_hid_idle_set()
|
| D | ux_host_class_gser_command.c | 147 …_ux_host_semaphore_get(&gser -> ux_host_class_gser_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_gser_command()
|
| D | ux_host_class_video_control_value_set.c | 133 …x_host_semaphore_get(&video -> ux_host_class_video_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_video_control_value_set()
|
| D | ux_host_class_printer_device_id_get.c | 124 …st_semaphore_get(&printer -> ux_host_class_printer_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_printer_device_id_get()
|
| D | ux_host_class_video_control_value_get.c | 131 …x_host_semaphore_get(&video -> ux_host_class_video_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_video_control_value_get()
|