Home
last modified time | relevance | path

Searched refs:global_storage (Results 1 – 3 of 3) sorted by relevance

/USBX-v6.2.1/test/regression/
Dusbx_storage_direct_calls_test.c749 hcd = UX_DEVICE_HCD_GET(global_storage -> ux_host_class_storage_device); in tx_demo_thread_host_simulation_entry()
754global_storage -> ux_host_class_storage_cbw[UX_HOST_CLASS_STORAGE_CBW_FLAGS] = UX_HOST_CLASS_STORA… in tx_demo_thread_host_simulation_entry()
757 …ux_utility_memory_copy(global_storage -> ux_host_class_storage_cbw + UX_HOST_CLASS_STORAGE_CBW_CB,… in tx_demo_thread_host_simulation_entry()
763 …status = _ux_utility_semaphore_get(&global_storage -> ux_host_class_storage_semaphore, UX_WAIT_FO… in tx_demo_thread_host_simulation_entry()
771 status = _ux_host_class_storage_transport_cbi(global_storage, data_pointer); in tx_demo_thread_host_simulation_entry()
779 status = _ux_utility_semaphore_put(&global_storage -> ux_host_class_storage_semaphore); in tx_demo_thread_host_simulation_entry()
789global_storage -> ux_host_class_storage_bulk_out_endpoint -> ux_endpoint_transfer_request.ux_trans… in tx_demo_thread_host_simulation_entry()
796 hcd = UX_DEVICE_HCD_GET(global_storage -> ux_host_class_storage_device); in tx_demo_thread_host_simulation_entry()
804 interrupt_endpoint.ux_endpoint_device = global_storage -> ux_host_class_storage_device; in tx_demo_thread_host_simulation_entry()
806 global_storage -> ux_host_class_storage_interrupt_endpoint = &interrupt_endpoint; in tx_demo_thread_host_simulation_entry()
[all …]
Dusbx_test_common_storage.h47 static UX_HOST_CLASS_STORAGE *global_storage; variable
92 status = ux_host_stack_class_instance_get(host_class, 0, (void **) &global_storage); in host_storage_instance_get()
100 if (global_storage -> ux_host_class_storage_state != UX_HOST_CLASS_INSTANCE_LIVE) in host_storage_instance_get()
Dusbx_storage_tests.c99 static UX_HOST_CLASS_STORAGE *global_storage; variable
314 …status = ux_utility_semaphore_get(&global_storage -> ux_host_class_storage_semaphore,TX_WAIT_FOREV… in lock_out_storage_thread()
331 status = ux_utility_semaphore_put(&global_storage -> ux_host_class_storage_semaphore); in lock_in_storage_thread()
361 ux_test_host_class_storage_media_write(global_storage, 10, 10, global_buffer); in do_any_write()
377 _ux_host_stack_endpoint_reset(global_storage->ux_host_class_storage_bulk_in_endpoint); in receive_device_csw()
380 …transfer_request = &global_storage -> ux_host_class_storage_bulk_in_endpoint -> ux_endpoint_trans… in receive_device_csw()
381 …transfer_request -> ux_transfer_request_data_pointer = (UCHAR *) &global_storage -> ux_host_c… in receive_device_csw()
389 _ux_host_stack_endpoint_reset(global_storage->ux_host_class_storage_bulk_out_endpoint); in receive_device_csw()
1025 …status = ux_host_stack_class_instance_get(global_host_storage_class, 0, (void **) &global_storage); in wait_for_enum_completion_and_get_global_storage_values()
1031 if (global_storage -> ux_host_class_storage_state != UX_HOST_CLASS_INSTANCE_LIVE || in wait_for_enum_completion_and_get_global_storage_values()
[all …]