Home
last modified time | relevance | path

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

/USBX-v6.2.1/common/core/src/
Dux_utility_semaphore_create.c78 UINT _ux_utility_semaphore_create(UX_SEMAPHORE *semaphore, CHAR *semaphore_name, UINT initial_coun… in _ux_utility_semaphore_create() argument
84 status = tx_semaphore_create(semaphore, (CHAR *) semaphore_name, initial_count); in _ux_utility_semaphore_create()
94 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_SEMAPHORE_ERROR, semaphore, 0, 0, UX_TRACE_ERRORS, 0, 0) in _ux_utility_semaphore_create()
Dux_utility_semaphore_delete.c76 UINT _ux_utility_semaphore_delete(UX_SEMAPHORE *semaphore) in _ux_utility_semaphore_delete() argument
82 status = tx_semaphore_delete(semaphore); in _ux_utility_semaphore_delete()
Dux_utility_semaphore_put.c76 UINT _ux_utility_semaphore_put(UX_SEMAPHORE *semaphore) in _ux_utility_semaphore_put() argument
82 status = tx_semaphore_put(semaphore); in _ux_utility_semaphore_put()
Dux_utility_semaphore_get.c78 UINT _ux_utility_semaphore_get(UX_SEMAPHORE *semaphore, ULONG semaphore_signal) in _ux_utility_semaphore_get() argument
110 status = tx_semaphore_get(semaphore, semaphore_signal); in _ux_utility_semaphore_get()
/USBX-v6.2.1/test/regression/
Dusbx_device_class_ccid_busy_abort_tests.c85 TX_SEMAPHORE semaphore; member
524 status = tx_semaphore_create(&slot_tester[i].semaphore, "slot_test_semaphore", 0); in test_application_define()
900 tx_semaphore_put(&slot_tester[0].semaphore); in _ccid_busy_slot_test()
932 tx_semaphore_put(&slot_tester[1].semaphore); in _ccid_busy_slot_test()
945 tx_semaphore_put(&slot_tester[0].semaphore); in _ccid_busy_slot_test()
951 tx_semaphore_put(&slot_tester[2].semaphore); in _ccid_busy_slot_test()
1007 tx_semaphore_put(&slot_tester[0].semaphore); in _ccid_abort_test()
1178 tx_semaphore_get(&slot_tester[cmd->bSlot].semaphore, slot_tester[cmd->bSlot].timeout); in ux_test_ccid_xfr_block()
1449 tx_semaphore_put(&slot_tester[slot].semaphore); in ux_test_ccid_abort()
Dux_test_utility_sim.h22 VOID ux_test_utility_sim_sem_get_error_exception_add(TX_SEMAPHORE *semaphore, ULONG semaphore_sign…
Dux_test_utility_sim.c41 TX_SEMAPHORE *semaphore; /* UX_NULL to match any */ member
332 VOID ux_test_utility_sim_sem_get_error_exception_add(TX_SEMAPHORE *semaphore, ULONG semaphore_sign… in ux_test_utility_sim_sem_get_error_exception_add() argument
344 except->semaphore = semaphore; in ux_test_utility_sim_sem_get_error_exception_add()
352 static UCHAR ux_test_utility_sim_sem_in_exception_list(TX_SEMAPHORE *semaphore, ULONG semaphore_sig… in ux_test_utility_sim_sem_in_exception_list() argument
360 if (except->semaphore == UX_NULL && semaphore_signal == except->semaphore_signal) in ux_test_utility_sim_sem_in_exception_list()
363 if (except->semaphore == semaphore && semaphore_signal == except->semaphore_signal) in ux_test_utility_sim_sem_in_exception_list()
Dusbx_storage_tests.c1210 TX_SEMAPHORE *semaphore = &timeout_data->transfer_request->ux_transfer_r… in device_media_write_block_action_func() local
1217 while (semaphore->tx_semaphore_suspended_count == 0) in device_media_write_block_action_func()
1220 UX_TEST_ASSERT(semaphore->tx_semaphore_suspension_list != UX_NULL); in device_media_write_block_action_func()
1223 UX_TEST_CHECK_SUCCESS(tx_thread_wait_abort(semaphore->tx_semaphore_suspension_list)); in device_media_write_block_action_func()
1484 static UX_TEST_ACTION create_semaphore_get_match_action(TX_THREAD *thread, TX_SEMAPHORE *semaphore,… in create_semaphore_get_match_action() argument
1491 action.semaphore_ptr = semaphore; in create_semaphore_get_match_action()
1499 …create_semaphore_get_disconnect_action(TX_THREAD *thread, TX_SEMAPHORE *semaphore, ULONG semaphore… in create_semaphore_get_disconnect_action() argument
1506 action.semaphore_ptr = semaphore; in create_semaphore_get_disconnect_action()
1531 …re_get_fail_with_check_override_action(TX_THREAD *thread, TX_SEMAPHORE *semaphore, ULONG semaphore… in create_semaphore_get_fail_with_check_override_action() argument
1538 action.semaphore_ptr = semaphore; in create_semaphore_get_fail_with_check_override_action()
Dux_test.h339 TX_SEMAPHORE *semaphore; member
/USBX-v6.2.1/common/core/inc/
Dux_utility.h116 UINT _ux_utility_semaphore_create(UX_SEMAPHORE *semaphore, CHAR *semaphore_name, UINT i…
117 UINT _ux_utility_semaphore_delete(UX_SEMAPHORE *semaphore);
118 UINT _ux_utility_semaphore_get(UX_SEMAPHORE *semaphore, ULONG semaphore_signal);
119 UINT _ux_utility_semaphore_put(UX_SEMAPHORE *semaphore);
/USBX-v6.2.1/docs/
Drevision_history.txt71 … kept semaphore when unmounting endpoints.
93 changed semaphore names,
95 … set control endpoint state to running after semaphore and hcd creation.
101 ux_host_stack_transfer_request_abort.c Added filter to put semaphore.
120 … removed unused semaphore and function prototype,
187 changed semaphore names,
194 … clear additional semaphore counts on stop,
200 removed unused instance semaphore,
208 changed semaphore and thread names,
213 removed unused semaphore,
[all …]