Home
last modified time | relevance | path

Searched refs:ux_device_protection_semaphore (Results 1 – 25 of 46) sorted by relevance

12

/USBX-v6.2.1/common/core/src/
Dux_host_stack_transfer_request.c167 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()
Dux_host_stack_device_configuration_activate.c124 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()
Dux_host_stack_device_configuration_deactivate.c128 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()
Dux_host_stack_interface_setting_select.c188 …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()
Dux_host_stack_role_swap.c98 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/
Dux_test_race_condition_overrides.c70 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()
Dusbx_ux_host_class_hid_idle_get_test.c393 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()
Dusbx_ux_host_stack_device_configuration_activate_test.c376 _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()
Dusbx_ux_host_stack_device_string_get_test.c369 _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()
Dusbx_ux_host_class_hid_report_get_test2.c415 _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()
Dusbx_ux_host_class_hid_report_set_test.c398 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()
Dusbx_ux_host_class_hid_idle_set_test.c316 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/
Dux_host_class_audio_control_get.c139 …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()
Dux_host_class_audio_control_value_set.c150 …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()
Dux_host_class_storage_device_reset.c98 …emaphore_get_norc(&control_endpoint -> ux_endpoint_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_storage_device_reset()
Dux_host_class_audio_streaming_sampling_set.c226 … 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()
Dux_host_class_prolific_command.c103 …_semaphore_get(&prolific -> ux_host_class_prolific_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_prolific_command()
Dux_host_class_hid_report_set.c228 … _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()
Dux_host_class_audio_raw_sampling_parse.c402 … 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()
Dux_host_class_storage_max_lun_get.c101 …ost_semaphore_get(&control_endpoint -> ux_endpoint_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_storage_max_lun_get()
Dux_host_class_hid_idle_set.c120 … _ux_host_semaphore_get(&hid -> ux_host_class_hid_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_hid_idle_set()
Dux_host_class_gser_command.c147 …_ux_host_semaphore_get(&gser -> ux_host_class_gser_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_gser_command()
Dux_host_class_video_control_value_set.c133 …x_host_semaphore_get(&video -> ux_host_class_video_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_video_control_value_set()
Dux_host_class_printer_device_id_get.c124 …st_semaphore_get(&printer -> ux_host_class_printer_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_printer_device_id_get()
Dux_host_class_video_control_value_get.c131 …x_host_semaphore_get(&video -> ux_host_class_video_device -> ux_device_protection_semaphore, UX_WA… in _ux_host_class_video_control_value_get()

12