Home
last modified time | relevance | path

Searched refs:hcd_sim_host (Results 1 – 25 of 34) sorted by relevance

12

/USBX-v6.2.1/common/core/src/
Dux_hcd_sim_host_initialize.c91 UX_HCD_SIM_HOST *hcd_sim_host; in _ux_hcd_sim_host_initialize() local
99hcd_sim_host = _ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_MEMORY, sizeof(UX_HCD_SIM_HOST… in _ux_hcd_sim_host_initialize()
100 if (hcd_sim_host == UX_NULL) in _ux_hcd_sim_host_initialize()
104 hcd -> ux_hcd_controller_hardware = (VOID *) hcd_sim_host; in _ux_hcd_sim_host_initialize()
107 hcd_sim_host -> ux_hcd_sim_host_hcd_owner = hcd; in _ux_hcd_sim_host_initialize()
122hcd_sim_host -> ux_hcd_sim_host_ed_list = _ux_utility_memory_allocate(UX_ALIGN_16, UX_REGULAR_MEM… in _ux_hcd_sim_host_initialize()
123 if (hcd_sim_host -> ux_hcd_sim_host_ed_list == UX_NULL) in _ux_hcd_sim_host_initialize()
131hcd_sim_host -> ux_hcd_sim_host_td_list = _ux_utility_memory_allocate(UX_ALIGN_32, UX_REGULAR_MEM… in _ux_hcd_sim_host_initialize()
132 if (hcd_sim_host -> ux_hcd_sim_host_td_list == UX_NULL) in _ux_hcd_sim_host_initialize()
139hcd_sim_host -> ux_hcd_sim_host_iso_td_list = _ux_utility_memory_allocate(UX_ALIGN_32, UX_REGULAR… in _ux_hcd_sim_host_initialize()
[all …]
Dux_hcd_sim_host_entry.c100 UX_HCD_SIM_HOST *hcd_sim_host; in _ux_hcd_sim_host_entry() local
117 hcd_sim_host = (UX_HCD_SIM_HOST *) hcd -> ux_hcd_controller_hardware; in _ux_hcd_sim_host_entry()
124 status = _ux_hcd_sim_host_uninitialize(hcd_sim_host); in _ux_hcd_sim_host_entry()
130 status = _ux_hcd_sim_host_controller_disable(hcd_sim_host); in _ux_hcd_sim_host_entry()
136 status = _ux_hcd_sim_host_port_status_get(hcd_sim_host, (ULONG) (ALIGN_TYPE) parameter); in _ux_hcd_sim_host_entry()
178 status = _ux_hcd_sim_host_port_reset(hcd_sim_host, (ULONG) (ALIGN_TYPE) parameter); in _ux_hcd_sim_host_entry()
184 status = _ux_hcd_sim_host_frame_number_get(hcd_sim_host, (ULONG *) parameter); in _ux_hcd_sim_host_entry()
197 status = _ux_hcd_sim_host_transfer_run(hcd_sim_host, (UX_TRANSFER *) parameter); in _ux_hcd_sim_host_entry()
199 status = _ux_hcd_sim_host_request_transfer(hcd_sim_host, (UX_TRANSFER *) parameter); in _ux_hcd_sim_host_entry()
206 status = _ux_hcd_sim_host_transfer_abort(hcd_sim_host, (UX_TRANSFER *) parameter); in _ux_hcd_sim_host_entry()
[all …]
Dux_hcd_sim_host_asynch_schedule.c71 VOID _ux_hcd_sim_host_asynch_schedule(UX_HCD_SIM_HOST *hcd_sim_host) in _ux_hcd_sim_host_asynch_schedule() argument
80 ed = hcd_sim_host -> ux_hcd_sim_host_asynch_current_ed; in _ux_hcd_sim_host_asynch_schedule()
87 if (hcd_sim_host -> ux_hcd_sim_host_asynch_head_ed == UX_NULL) in _ux_hcd_sim_host_asynch_schedule()
90 ed = hcd_sim_host -> ux_hcd_sim_host_asynch_head_ed; in _ux_hcd_sim_host_asynch_schedule()
105 status = _ux_hcd_sim_host_transaction_schedule(hcd_sim_host, ed); in _ux_hcd_sim_host_asynch_schedule()
114hcd_sim_host -> ux_hcd_sim_host_asynch_current_ed = hcd_sim_host -> ux_hcd_sim_host_asynch_head_e… in _ux_hcd_sim_host_asynch_schedule()
116hcd_sim_host -> ux_hcd_sim_host_asynch_current_ed = ed -> ux_sim_host_ed_next_ed; in _ux_hcd_sim_host_asynch_schedule()
122 ed = hcd_sim_host -> ux_hcd_sim_host_asynch_head_ed; in _ux_hcd_sim_host_asynch_schedule()
Dux_hcd_sim_host_uninitialize.c75 UINT _ux_hcd_sim_host_uninitialize(UX_HCD_SIM_HOST *hcd_sim_host) in _ux_hcd_sim_host_uninitialize() argument
78 UX_HCD *hcd = hcd_sim_host -> ux_hcd_sim_host_hcd_owner; in _ux_hcd_sim_host_uninitialize()
88 hcd_sim_host = (UX_HCD_SIM_HOST *)hcd -> ux_hcd_controller_hardware; in _ux_hcd_sim_host_uninitialize()
91 _ux_host_timer_delete(&hcd_sim_host -> ux_hcd_sim_host_timer); in _ux_hcd_sim_host_uninitialize()
98 td = &hcd_sim_host -> ux_hcd_sim_host_td_list[td_index]; in _ux_hcd_sim_host_uninitialize()
118 _ux_utility_memory_free(hcd_sim_host -> ux_hcd_sim_host_iso_td_list); in _ux_hcd_sim_host_uninitialize()
119 _ux_utility_memory_free(hcd_sim_host -> ux_hcd_sim_host_td_list); in _ux_hcd_sim_host_uninitialize()
120 _ux_utility_memory_free(hcd_sim_host -> ux_hcd_sim_host_ed_list); in _ux_hcd_sim_host_uninitialize()
123 _ux_utility_memory_free(hcd_sim_host); in _ux_hcd_sim_host_uninitialize()
Dux_hcd_sim_host_request_transfer.c86 UINT _ux_hcd_sim_host_request_transfer(UX_HCD_SIM_HOST *hcd_sim_host, UX_TRANSFER *transfer_reques… in _ux_hcd_sim_host_request_transfer() argument
105 status = _ux_hcd_sim_host_request_control_transfer(hcd_sim_host, transfer_request); in _ux_hcd_sim_host_request_transfer()
111 status = _ux_hcd_sim_host_request_bulk_transfer(hcd_sim_host, transfer_request); in _ux_hcd_sim_host_request_transfer()
116 status = _ux_hcd_sim_host_request_interrupt_transfer(hcd_sim_host, transfer_request); in _ux_hcd_sim_host_request_transfer()
121 status = _ux_hcd_sim_host_request_isochronous_transfer(hcd_sim_host, transfer_request); in _ux_hcd_sim_host_request_transfer()
Dux_hcd_sim_host_timer_function.c84 UX_HCD_SIM_HOST *hcd_sim_host; in _ux_hcd_sim_host_timer_function() local
89 UX_TIMER_EXTENSION_PTR_GET(hcd_sim_host, UX_HCD_SIM_HOST, hcd_sim_host_addr) in _ux_hcd_sim_host_timer_function()
92 hcd = hcd_sim_host -> ux_hcd_sim_host_hcd_owner; in _ux_hcd_sim_host_timer_function()
95 hcd_sim_host -> ux_hcd_sim_host_interrupt_count++; in _ux_hcd_sim_host_timer_function()
Dux_hcd_sim_host_isochronous_endpoint_create.c73 UINT _ux_hcd_sim_host_isochronous_endpoint_create(UX_HCD_SIM_HOST *hcd_sim_host, UX_ENDPOINT *endp… in _ux_hcd_sim_host_isochronous_endpoint_create() argument
83 ed = _ux_hcd_sim_host_ed_obtain(hcd_sim_host); in _ux_hcd_sim_host_isochronous_endpoint_create()
88 td = _ux_hcd_sim_host_isochronous_td_obtain(hcd_sim_host); in _ux_hcd_sim_host_isochronous_endpoint_create()
104 head_ed = hcd_sim_host -> ux_hcd_sim_host_iso_head_ed; in _ux_hcd_sim_host_isochronous_endpoint_create()
106 hcd_sim_host -> ux_hcd_sim_host_iso_head_ed = ed; in _ux_hcd_sim_host_isochronous_endpoint_create()
Dux_hcd_sim_host_periodic_schedule.c73 VOID _ux_hcd_sim_host_periodic_schedule(UX_HCD_SIM_HOST *hcd_sim_host) in _ux_hcd_sim_host_periodic_schedule() argument
80 _ux_hcd_sim_host_frame_number_get(hcd_sim_host, &frame_number); in _ux_hcd_sim_host_periodic_schedule()
86 ed = hcd_sim_host -> ux_hcd_sim_host_interrupt_ed_list[frame_number]; in _ux_hcd_sim_host_periodic_schedule()
100 _ux_hcd_sim_host_transaction_schedule(hcd_sim_host, ed); in _ux_hcd_sim_host_periodic_schedule()
Dux_hcd_sim_host_asynchronous_endpoint_create.c74 UINT _ux_hcd_sim_host_asynchronous_endpoint_create(UX_HCD_SIM_HOST *hcd_sim_host, UX_ENDPOINT *end… in _ux_hcd_sim_host_asynchronous_endpoint_create() argument
88 ed = _ux_hcd_sim_host_ed_obtain(hcd_sim_host); in _ux_hcd_sim_host_asynchronous_endpoint_create()
93 td = _ux_hcd_sim_host_regular_td_obtain(hcd_sim_host); in _ux_hcd_sim_host_asynchronous_endpoint_create()
112 head_ed = hcd_sim_host -> ux_hcd_sim_host_asynch_head_ed; in _ux_hcd_sim_host_asynchronous_endpoint_create()
114 hcd_sim_host -> ux_hcd_sim_host_asynch_head_ed = ed; in _ux_hcd_sim_host_asynchronous_endpoint_create()
Dux_hcd_sim_host_port_status_get.c101 ULONG _ux_hcd_sim_host_port_status_get(UX_HCD_SIM_HOST *hcd_sim_host, ULONG port_index) in _ux_hcd_sim_host_port_status_get() argument
108 if (hcd_sim_host -> ux_hcd_sim_host_nb_root_hubs < port_index) in _ux_hcd_sim_host_port_status_get()
121 port_status = hcd_sim_host -> ux_hcd_sim_host_port_status[port_index]; in _ux_hcd_sim_host_port_status_get()
Dux_hcd_sim_host_asynchronous_endpoint_destroy.c73 UINT _ux_hcd_sim_host_asynchronous_endpoint_destroy(UX_HCD_SIM_HOST *hcd_sim_host, UX_ENDPOINT *en… in _ux_hcd_sim_host_asynchronous_endpoint_destroy() argument
95 hcd_sim_host -> ux_hcd_sim_host_asynch_head_ed = next_ed; in _ux_hcd_sim_host_asynchronous_endpoint_destroy()
106 if (hcd_sim_host -> ux_hcd_sim_host_asynch_current_ed == ed) in _ux_hcd_sim_host_asynchronous_endpoint_destroy()
110 hcd_sim_host -> ux_hcd_sim_host_asynch_current_ed = next_ed; in _ux_hcd_sim_host_asynchronous_endpoint_destroy()
Dux_hcd_sim_host_transfer_run.c83 UINT _ux_hcd_sim_host_transfer_run(UX_HCD_SIM_HOST *hcd_sim_host, UX_TRANSFER *transfer_request) in _ux_hcd_sim_host_transfer_run() argument
143 status = _ux_hcd_sim_host_request_control_transfer(hcd_sim_host, transfer_request); in _ux_hcd_sim_host_transfer_run()
149 status = _ux_hcd_sim_host_request_bulk_transfer(hcd_sim_host, transfer_request); in _ux_hcd_sim_host_transfer_run()
154 status = _ux_hcd_sim_host_request_interrupt_transfer(hcd_sim_host, transfer_request); in _ux_hcd_sim_host_transfer_run()
159 status = _ux_hcd_sim_host_request_isochronous_transfer(hcd_sim_host, transfer_request); in _ux_hcd_sim_host_transfer_run()
Dux_hcd_sim_host_asynch_queue_process.c73 VOID _ux_hcd_sim_host_asynch_queue_process(UX_HCD_SIM_HOST *hcd_sim_host) in _ux_hcd_sim_host_asynch_queue_process() argument
76 UX_PARAMETER_NOT_USED(hcd_sim_host); in _ux_hcd_sim_host_asynch_queue_process()
Dux_hcd_sim_host_iso_queue_process.c72 VOID _ux_hcd_sim_host_iso_queue_process(UX_HCD_SIM_HOST *hcd_sim_host) in _ux_hcd_sim_host_iso_queue_process() argument
75 UX_PARAMETER_NOT_USED(hcd_sim_host); in _ux_hcd_sim_host_iso_queue_process()
Dux_hcd_sim_host_iso_schedule.c71 VOID _ux_hcd_sim_host_iso_schedule(UX_HCD_SIM_HOST *hcd_sim_host) in _ux_hcd_sim_host_iso_schedule() argument
74 UX_PARAMETER_NOT_USED(hcd_sim_host); in _ux_hcd_sim_host_iso_schedule()
Dux_hcd_sim_host_interrupt_endpoint_create.c93 UINT _ux_hcd_sim_host_interrupt_endpoint_create(UX_HCD_SIM_HOST *hcd_sim_host, UX_ENDPOINT *endpoi… in _ux_hcd_sim_host_interrupt_endpoint_create() argument
107 ed = _ux_hcd_sim_host_ed_obtain(hcd_sim_host); in _ux_hcd_sim_host_interrupt_endpoint_create()
112 td = _ux_hcd_sim_host_regular_td_obtain(hcd_sim_host); in _ux_hcd_sim_host_interrupt_endpoint_create()
131 ed_list = _ux_hcd_sim_host_least_traffic_list_get(hcd_sim_host); in _ux_hcd_sim_host_interrupt_endpoint_create()
177 hcd_sim_host -> ux_hcd_sim_host_periodic_scheduler_active++; in _ux_hcd_sim_host_interrupt_endpoint_create()
Dux_hcd_sim_host_frame_number_get.c73 UINT _ux_hcd_sim_host_frame_number_get(UX_HCD_SIM_HOST *hcd_sim_host, ULONG *frame_number) in _ux_hcd_sim_host_frame_number_get() argument
77 *frame_number = hcd_sim_host -> ux_hcd_sim_host_interrupt_count; in _ux_hcd_sim_host_frame_number_get()
Dux_hcd_sim_host_frame_number_set.c73 VOID _ux_hcd_sim_host_frame_number_set(UX_HCD_SIM_HOST *hcd_sim_host, ULONG frame_number) in _ux_hcd_sim_host_frame_number_set() argument
76 UX_PARAMETER_NOT_USED(hcd_sim_host); in _ux_hcd_sim_host_frame_number_set()
Dux_hcd_sim_host_controller_disable.c73 UINT _ux_hcd_sim_host_controller_disable(UX_HCD_SIM_HOST *hcd_sim_host) in _ux_hcd_sim_host_controller_disable() argument
76 UX_HCD *hcd = hcd_sim_host -> ux_hcd_sim_host_hcd_owner; in _ux_hcd_sim_host_controller_disable()
Dux_hcd_sim_host_endpoint_reset.c75 UINT _ux_hcd_sim_host_endpoint_reset(UX_HCD_SIM_HOST *hcd_sim_host, UX_ENDPOINT *endpoint) in _ux_hcd_sim_host_endpoint_reset() argument
80 UX_PARAMETER_NOT_USED(hcd_sim_host); in _ux_hcd_sim_host_endpoint_reset()
Dux_hcd_sim_host_least_traffic_list_get.c72 UX_HCD_SIM_HOST_ED *_ux_hcd_sim_host_least_traffic_list_get(UX_HCD_SIM_HOST *hcd_sim_host) in _ux_hcd_sim_host_least_traffic_list_get() argument
88 min_bandwidth_ed = hcd_sim_host -> ux_hcd_sim_host_interrupt_ed_list[0]; in _ux_hcd_sim_host_least_traffic_list_get()
98 ed = hcd_sim_host -> ux_hcd_sim_host_interrupt_ed_list[list_index]; in _ux_hcd_sim_host_least_traffic_list_get()
Dux_hcd_sim_host_periodic_tree_create.c72 UINT _ux_hcd_sim_host_periodic_tree_create(UX_HCD_SIM_HOST *hcd_sim_host) in _ux_hcd_sim_host_periodic_tree_create() argument
95 ed = _ux_hcd_sim_host_ed_obtain(hcd_sim_host); in _ux_hcd_sim_host_periodic_tree_create()
134 hcd_sim_host -> ux_hcd_sim_host_interrupt_ed_list[current_list_entry] = ed; in _ux_hcd_sim_host_periodic_tree_create()
Dux_hcd_sim_host_ed_obtain.c73 UX_HCD_SIM_HOST_ED *_ux_hcd_sim_host_ed_obtain(UX_HCD_SIM_HOST *hcd_sim_host) in _ux_hcd_sim_host_ed_obtain() argument
81 ed = hcd_sim_host -> ux_hcd_sim_host_ed_list; in _ux_hcd_sim_host_ed_obtain()
Dux_hcd_sim_host_isochronous_td_obtain.c73 UX_HCD_SIM_HOST_ISO_TD *_ux_hcd_sim_host_isochronous_td_obtain(UX_HCD_SIM_HOST *hcd_sim_host) in _ux_hcd_sim_host_isochronous_td_obtain() argument
81 td = hcd_sim_host -> ux_hcd_sim_host_iso_td_list; in _ux_hcd_sim_host_isochronous_td_obtain()
/USBX-v6.2.1/common/core/inc/
Dux_hcd_sim_host.h228 VOID _ux_hcd_sim_host_asynch_queue_process(UX_HCD_SIM_HOST *hcd_sim_host);
229 VOID _ux_hcd_sim_host_asynch_schedule(UX_HCD_SIM_HOST *hcd_sim_host);
230 UINT _ux_hcd_sim_host_asynchronous_endpoint_create(UX_HCD_SIM_HOST *hcd_sim_host, UX_ENDPOINT *e…
231 UINT _ux_hcd_sim_host_asynchronous_endpoint_destroy(UX_HCD_SIM_HOST *hcd_sim_host, UX_ENDPOINT *…
233 *_ux_hcd_sim_host_ed_obtain(UX_HCD_SIM_HOST *hcd_sim_host);
235 UINT _ux_hcd_sim_host_endpoint_reset(UX_HCD_SIM_HOST *hcd_sim_host, UX_ENDPOINT *endpoint);
237 UINT _ux_hcd_sim_host_frame_number_get(UX_HCD_SIM_HOST *hcd_sim_host, ULONG *frame_number);
238 VOID _ux_hcd_sim_host_frame_number_set(UX_HCD_SIM_HOST *hcd_sim_host, ULONG frame_number);
242 UINT _ux_hcd_sim_host_interrupt_endpoint_create(UX_HCD_SIM_HOST *hcd_sim_host, UX_ENDPOINT *endp…
243 VOID _ux_hcd_sim_host_iso_queue_process(UX_HCD_SIM_HOST *hcd_sim_host);
[all …]

12