/USBX-v6.2.1/common/core/src/ |
D | ux_hcd_sim_host_initialize.c | 91 UX_HCD_SIM_HOST *hcd_sim_host; in _ux_hcd_sim_host_initialize() local 99 …hcd_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() 122 …hcd_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() 131 …hcd_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() 139 …hcd_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 …]
|
D | ux_hcd_sim_host_entry.c | 100 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 …]
|
D | ux_hcd_sim_host_asynch_schedule.c | 71 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() 114 …hcd_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() 116 … hcd_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()
|
D | ux_hcd_sim_host_uninitialize.c | 75 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()
|
D | ux_hcd_sim_host_request_transfer.c | 86 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()
|
D | ux_hcd_sim_host_timer_function.c | 84 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()
|
D | ux_hcd_sim_host_isochronous_endpoint_create.c | 73 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()
|
D | ux_hcd_sim_host_periodic_schedule.c | 73 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()
|
D | ux_hcd_sim_host_asynchronous_endpoint_create.c | 74 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()
|
D | ux_hcd_sim_host_port_status_get.c | 101 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()
|
D | ux_hcd_sim_host_asynchronous_endpoint_destroy.c | 73 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()
|
D | ux_hcd_sim_host_transfer_run.c | 83 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()
|
D | ux_hcd_sim_host_asynch_queue_process.c | 73 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()
|
D | ux_hcd_sim_host_iso_queue_process.c | 72 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()
|
D | ux_hcd_sim_host_iso_schedule.c | 71 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()
|
D | ux_hcd_sim_host_interrupt_endpoint_create.c | 93 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()
|
D | ux_hcd_sim_host_frame_number_get.c | 73 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()
|
D | ux_hcd_sim_host_frame_number_set.c | 73 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()
|
D | ux_hcd_sim_host_controller_disable.c | 73 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()
|
D | ux_hcd_sim_host_endpoint_reset.c | 75 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()
|
D | ux_hcd_sim_host_least_traffic_list_get.c | 72 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()
|
D | ux_hcd_sim_host_periodic_tree_create.c | 72 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()
|
D | ux_hcd_sim_host_ed_obtain.c | 73 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()
|
D | ux_hcd_sim_host_isochronous_td_obtain.c | 73 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/ |
D | ux_hcd_sim_host.h | 228 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 …]
|