/USBX-v6.2.1/common/usbx_host_controllers/src/ |
D | ux_hcd_ehci_request_transfer_add.c | 86 UX_EHCI_TD *td; in _ux_hcd_ehci_request_transfer_add() local 92 td = _ux_hcd_ehci_regular_td_obtain(hcd_ehci); in _ux_hcd_ehci_request_transfer_add() 93 if (td == UX_NULL) in _ux_hcd_ehci_request_transfer_add() 97 td -> ux_ehci_td_transfer_request = transfer_request; in _ux_hcd_ehci_request_transfer_add() 100 td -> ux_ehci_td_ed = ed; in _ux_hcd_ehci_request_transfer_add() 103 td -> ux_ehci_td_phase |= phase; in _ux_hcd_ehci_request_transfer_add() 106 td -> ux_ehci_td_control = pid; in _ux_hcd_ehci_request_transfer_add() 110 td -> ux_ehci_td_bp0 = bp.void_ptr; /* with offset. */ in _ux_hcd_ehci_request_transfer_add() 114 td -> ux_ehci_td_bp1 = bp.u8_ptr + UX_EHCI_PAGE_SIZE; in _ux_hcd_ehci_request_transfer_add() 115 td -> ux_ehci_td_bp2 = bp.u8_ptr + UX_EHCI_PAGE_SIZE * 2; in _ux_hcd_ehci_request_transfer_add() [all …]
|
D | ux_hcd_ehci_ed_clean.c | 76 UX_EHCI_TD *td; in _ux_hcd_ehci_ed_clean() local 81 td = ed -> ux_ehci_ed_queue_element; in _ux_hcd_ehci_ed_clean() 82 td = (UX_EHCI_TD *) ((ULONG) td & ~UX_EHCI_QH_T); in _ux_hcd_ehci_ed_clean() 83 td = _ux_utility_virtual_address(td); in _ux_hcd_ehci_ed_clean() 89 while (td != UX_NULL) in _ux_hcd_ehci_ed_clean() 93 next_td = td -> ux_ehci_td_link_pointer; in _ux_hcd_ehci_ed_clean() 98 td -> ux_ehci_td_status = UX_UNUSED; in _ux_hcd_ehci_ed_clean() 100 td = next_td; in _ux_hcd_ehci_ed_clean()
|
D | ux_hcd_ehci_hsisochronous_td_obtain.c | 84 UX_EHCI_HSISO_TD *td; in _ux_hcd_ehci_hsisochronous_td_obtain() 89 td = hcd_ehci -> ux_hcd_ehci_hsiso_td_list; in _ux_hcd_ehci_hsisochronous_td_obtain() 94 if (td -> ux_ehci_hsiso_td_status == UX_UNUSED) in _ux_hcd_ehci_hsisochronous_td_obtain() 98 … _ux_utility_memory_set(td, 0, sizeof(UX_EHCI_HSISO_TD)); /* Use case of memset is verified. */ in _ux_hcd_ehci_hsisochronous_td_obtain() 101 td -> ux_ehci_hsiso_td_status = UX_USED; in _ux_hcd_ehci_hsisochronous_td_obtain() 104 td -> ux_ehci_hsiso_td_next_lp.value = UX_EHCI_HSISO_T; in _ux_hcd_ehci_hsisochronous_td_obtain() 107 return(td); in _ux_hcd_ehci_hsisochronous_td_obtain() 111 td++; in _ux_hcd_ehci_hsisochronous_td_obtain()
|
D | ux_hcd_ehci_fsisochronous_td_obtain.c | 84 UX_EHCI_FSISO_TD *td; in _ux_hcd_ehci_fsisochronous_td_obtain() 89 td = hcd_ehci -> ux_hcd_ehci_fsiso_td_list; in _ux_hcd_ehci_fsisochronous_td_obtain() 94 if (td -> ux_ehci_fsiso_td_status == UX_UNUSED) in _ux_hcd_ehci_fsisochronous_td_obtain() 98 … _ux_utility_memory_set(td, 0, sizeof(UX_EHCI_FSISO_TD)); /* Use case of memset is verified. */ in _ux_hcd_ehci_fsisochronous_td_obtain() 101 td -> ux_ehci_fsiso_td_status = UX_USED; in _ux_hcd_ehci_fsisochronous_td_obtain() 104 td -> ux_ehci_fsiso_td_next_lp.value = UX_EHCI_FSISO_T; in _ux_hcd_ehci_fsisochronous_td_obtain() 107 return(td); in _ux_hcd_ehci_fsisochronous_td_obtain() 111 td++; in _ux_hcd_ehci_fsisochronous_td_obtain()
|
D | ux_hcd_ehci_regular_td_obtain.c | 82 UX_EHCI_TD *td; in _ux_hcd_ehci_regular_td_obtain() local 91 td = hcd_ehci -> ux_hcd_ehci_td_list; in _ux_hcd_ehci_regular_td_obtain() 96 if (td -> ux_ehci_td_status == UX_UNUSED) in _ux_hcd_ehci_regular_td_obtain() 100 _ux_utility_memory_set(td, 0, sizeof(UX_EHCI_TD)); /* Use case of memset is verified. */ in _ux_hcd_ehci_regular_td_obtain() 103 td -> ux_ehci_td_status = UX_USED; in _ux_hcd_ehci_regular_td_obtain() 107 td -> ux_ehci_td_link_pointer = (UX_EHCI_TD *) td_element; in _ux_hcd_ehci_regular_td_obtain() 108 td -> ux_ehci_td_alternate_link_pointer = (UX_EHCI_TD *) td_element; in _ux_hcd_ehci_regular_td_obtain() 114 return(td); in _ux_hcd_ehci_regular_td_obtain() 118 td++; in _ux_hcd_ehci_regular_td_obtain()
|
D | ux_hcd_ohci_isochronous_td_obtain.c | 77 UX_OHCI_ISO_TD *td; in _ux_hcd_ohci_isochronous_td_obtain() local 82 td = hcd_ohci -> ux_hcd_ohci_iso_td_list; in _ux_hcd_ohci_isochronous_td_obtain() 87 if (td -> ux_ohci_iso_td_status == UX_UNUSED) in _ux_hcd_ohci_isochronous_td_obtain() 91 … _ux_utility_memory_set(td, 0, sizeof(UX_OHCI_ISO_TD)); /* Use case of memset is verified. */ in _ux_hcd_ohci_isochronous_td_obtain() 94 td -> ux_ohci_iso_td_status = UX_USED; in _ux_hcd_ohci_isochronous_td_obtain() 97 return(td); in _ux_hcd_ohci_isochronous_td_obtain() 101 td++; in _ux_hcd_ohci_isochronous_td_obtain()
|
D | ux_hcd_ehci_asynch_td_process.c | 81 UX_EHCI_TD *_ux_hcd_ehci_asynch_td_process(UX_EHCI_ED *ed, UX_EHCI_TD *td) in _ux_hcd_ehci_asynch_td_process() argument 94 if (td -> ux_ehci_td_control & UX_EHCI_TD_ACTIVE) in _ux_hcd_ehci_asynch_td_process() 98 transfer_request = td -> ux_ehci_td_transfer_request; in _ux_hcd_ehci_asynch_td_process() 106 if (td -> ux_ehci_td_control & UX_EHCI_TD_HALTED) in _ux_hcd_ehci_asynch_td_process() 113 if (td -> ux_ehci_td_control & UX_EHCI_TD_DATA_BUFFER_ERROR) in _ux_hcd_ehci_asynch_td_process() 117 if (td -> ux_ehci_td_control & UX_EHCI_TD_BABBLE_DETECTED) in _ux_hcd_ehci_asynch_td_process() 121 if (td -> ux_ehci_td_control & UX_EHCI_TD_TRANSACTION_ERROR) in _ux_hcd_ehci_asynch_td_process() 137 td -> ux_ehci_td_status = UX_UNUSED; in _ux_hcd_ehci_asynch_td_process() 157 pid = td -> ux_ehci_td_control & UX_EHCI_PID_MASK; in _ux_hcd_ehci_asynch_td_process() 162 td_residual_length = (td -> ux_ehci_td_control >> UX_EHCI_TD_LG_LOC) & UX_EHCI_TD_LG_MASK; in _ux_hcd_ehci_asynch_td_process() [all …]
|
D | ux_hcd_ohci_regular_td_obtain.c | 82 UX_OHCI_TD *td; in _ux_hcd_ohci_regular_td_obtain() local 90 td = hcd_ohci -> ux_hcd_ohci_td_list; in _ux_hcd_ohci_regular_td_obtain() 96 if (td -> ux_ohci_td_status == UX_UNUSED) in _ux_hcd_ohci_regular_td_obtain() 100 _ux_utility_memory_set(td, 0, sizeof(UX_OHCI_TD)); /* Use case of memset is verified. */ in _ux_hcd_ohci_regular_td_obtain() 103 td -> ux_ohci_td_status = UX_USED; in _ux_hcd_ohci_regular_td_obtain() 109 return(td); in _ux_hcd_ohci_regular_td_obtain() 113 td++; in _ux_hcd_ohci_regular_td_obtain()
|
D | ux_hcd_ohci_done_queue_process.c | 95 UX_OHCI_TD *td; in _ux_hcd_ohci_done_queue_process() local 114 td = UX_NULL; in _ux_hcd_ohci_done_queue_process() 121 td = next_td; in _ux_hcd_ohci_done_queue_process() 122 next_td = _ux_utility_virtual_address(td -> ux_ohci_td_next_td); in _ux_hcd_ohci_done_queue_process() 123 td -> ux_ohci_td_next_td = _ux_utility_physical_address(previous_td); in _ux_hcd_ohci_done_queue_process() 124 previous_td = td; in _ux_hcd_ohci_done_queue_process() 129 while (td != UX_NULL) in _ux_hcd_ohci_done_queue_process() 133 transfer_request = td -> ux_ohci_td_transfer_request; in _ux_hcd_ohci_done_queue_process() 140 td_error_code = td -> ux_ohci_td_dw0 >> UX_OHCI_TD_CC; in _ux_hcd_ohci_done_queue_process() 156 transfer_request -> ux_transfer_request_actual_length += td -> ux_ohci_td_length; in _ux_hcd_ohci_done_queue_process() [all …]
|
D | ux_hcd_ehci_done_queue_process.c | 90 UX_EHCI_TD *td; in _ux_hcd_ehci_done_queue_process() local 132 td = ed.ed_ptr -> ux_ehci_ed_first_td; in _ux_hcd_ehci_done_queue_process() 135 while (td != UX_NULL) in _ux_hcd_ehci_done_queue_process() 136 td = _ux_hcd_ehci_asynch_td_process(ed.ed_ptr, td); in _ux_hcd_ehci_done_queue_process() 160 td = ed.ed_ptr -> ux_ehci_ed_first_td; in _ux_hcd_ehci_done_queue_process() 161 while (td != UX_NULL) in _ux_hcd_ehci_done_queue_process() 164 td = _ux_hcd_ehci_asynch_td_process(ed.ed_ptr, td); in _ux_hcd_ehci_done_queue_process()
|
D | ux_hcd_ehci_next_td_clean.c | 73 VOID _ux_hcd_ehci_next_td_clean(UX_EHCI_TD *td) in _ux_hcd_ehci_next_td_clean() argument 76 UX_PARAMETER_NOT_USED(td); in _ux_hcd_ehci_next_td_clean()
|
D | ux_hcd_ohci_isochronous_endpoint_create.c | 86 UX_OHCI_ISO_TD *td; in _ux_hcd_ohci_isochronous_endpoint_create() local 99 td = _ux_hcd_ohci_isochronous_td_obtain(hcd_ohci); in _ux_hcd_ohci_isochronous_endpoint_create() 100 if (td == UX_NULL) in _ux_hcd_ohci_isochronous_endpoint_create() 127 ed -> ux_ohci_ed_tail_td = _ux_utility_physical_address(td); in _ux_hcd_ohci_isochronous_endpoint_create() 128 ed -> ux_ohci_ed_head_td = _ux_utility_physical_address(td); in _ux_hcd_ohci_isochronous_endpoint_create()
|
D | ux_hcd_ohci_interrupt_endpoint_create.c | 106 UX_OHCI_TD *td; in _ux_hcd_ohci_interrupt_endpoint_create() local 119 td = _ux_hcd_ohci_regular_td_obtain(hcd_ohci); in _ux_hcd_ohci_interrupt_endpoint_create() 120 if (td == UX_NULL) in _ux_hcd_ohci_interrupt_endpoint_create() 149 ed -> ux_ohci_ed_tail_td = _ux_utility_physical_address(td); in _ux_hcd_ohci_interrupt_endpoint_create() 150 ed -> ux_ohci_ed_head_td = _ux_utility_physical_address(td); in _ux_hcd_ohci_interrupt_endpoint_create()
|
D | ux_hcd_ohci_asynchronous_endpoint_create.c | 89 UX_OHCI_TD *td; in _ux_hcd_ohci_asynchronous_endpoint_create() local 104 td = _ux_hcd_ohci_regular_td_obtain(hcd_ohci); in _ux_hcd_ohci_asynchronous_endpoint_create() 105 if (td == UX_NULL) in _ux_hcd_ohci_asynchronous_endpoint_create() 133 ed -> ux_ohci_ed_tail_td = _ux_utility_physical_address(td); in _ux_hcd_ohci_asynchronous_endpoint_create() 134 ed -> ux_ohci_ed_head_td = _ux_utility_physical_address(td); in _ux_hcd_ohci_asynchronous_endpoint_create()
|
D | ux_hcd_ohci_next_td_clean.c | 76 VOID _ux_hcd_ohci_next_td_clean(UX_OHCI_TD *td) in _ux_hcd_ohci_next_td_clean() argument 87 ed = td -> ux_ohci_td_ed; in _ux_hcd_ohci_next_td_clean()
|
/USBX-v6.2.1/common/core/src/ |
D | ux_hcd_sim_host_isochronous_td_obtain.c | 76 UX_HCD_SIM_HOST_ISO_TD *td; in _ux_hcd_sim_host_isochronous_td_obtain() local 81 td = hcd_sim_host -> ux_hcd_sim_host_iso_td_list; in _ux_hcd_sim_host_isochronous_td_obtain() 86 if (td -> ux_sim_host_iso_td_status == UX_UNUSED) in _ux_hcd_sim_host_isochronous_td_obtain() 90 …_ux_utility_memory_set(td, 0, sizeof(UX_HCD_SIM_HOST_ISO_TD)); /* Use case of memset is verified. … in _ux_hcd_sim_host_isochronous_td_obtain() 93 td -> ux_sim_host_iso_td_status = UX_USED; in _ux_hcd_sim_host_isochronous_td_obtain() 96 return(td); in _ux_hcd_sim_host_isochronous_td_obtain() 100 td++; in _ux_hcd_sim_host_isochronous_td_obtain()
|
D | ux_hcd_sim_host_regular_td_obtain.c | 81 UX_HCD_SIM_HOST_TD *td; in _ux_hcd_sim_host_regular_td_obtain() local 89 td = hcd_sim_host -> ux_hcd_sim_host_td_list; in _ux_hcd_sim_host_regular_td_obtain() 95 if (td -> ux_sim_host_td_status == UX_UNUSED) in _ux_hcd_sim_host_regular_td_obtain() 99 … _ux_utility_memory_set(td, 0, sizeof(UX_HCD_SIM_HOST_TD)); /* Use case of memset is verified. */ in _ux_hcd_sim_host_regular_td_obtain() 102 td -> ux_sim_host_td_status = UX_USED; in _ux_hcd_sim_host_regular_td_obtain() 108 return(td); in _ux_hcd_sim_host_regular_td_obtain() 112 td++; in _ux_hcd_sim_host_regular_td_obtain()
|
D | ux_hcd_sim_host_uninitialize.c | 80 UX_HCD_SIM_HOST_TD *td; in _ux_hcd_sim_host_uninitialize() local 98 td = &hcd_sim_host -> ux_hcd_sim_host_td_list[td_index]; in _ux_hcd_sim_host_uninitialize() 101 if (td -> ux_sim_host_td_status == UX_UNUSED) in _ux_hcd_sim_host_uninitialize() 105 if ((td -> ux_sim_host_td_status & UX_HCD_SIM_HOST_TD_SETUP_PHASE) == 0) in _ux_hcd_sim_host_uninitialize() 109 if (td -> ux_sim_host_td_buffer == UX_NULL) in _ux_hcd_sim_host_uninitialize() 113 _ux_utility_memory_free(td -> ux_sim_host_td_buffer); in _ux_hcd_sim_host_uninitialize()
|
D | ux_hcd_sim_host_transaction_schedule.c | 105 UX_HCD_SIM_HOST_TD *td; in _ux_hcd_sim_host_transaction_schedule() local 132 td = ed -> ux_sim_host_ed_head_td; in _ux_hcd_sim_host_transaction_schedule() 138 transfer_request = td -> ux_sim_host_td_transfer_request; in _ux_hcd_sim_host_transaction_schedule() 176 if (td -> ux_sim_host_td_status & UX_HCD_SIM_HOST_TD_SETUP_PHASE) in _ux_hcd_sim_host_transaction_schedule() 183 UX_ASSERT(td -> ux_sim_host_td_length == 8); in _ux_hcd_sim_host_transaction_schedule() 190 td -> ux_sim_host_td_buffer, in _ux_hcd_sim_host_transaction_schedule() 191 td -> ux_sim_host_td_length); /* Use case of memcpy is verified. */ in _ux_hcd_sim_host_transaction_schedule() 196 _ux_utility_memory_free(td -> ux_sim_host_td_buffer); in _ux_hcd_sim_host_transaction_schedule() 197 td -> ux_sim_host_td_buffer = UX_NULL; in _ux_hcd_sim_host_transaction_schedule() 201 ed -> ux_sim_host_ed_head_td = td -> ux_sim_host_td_next_td; in _ux_hcd_sim_host_transaction_schedule() [all …]
|
D | ux_hcd_sim_host_isochronous_endpoint_create.c | 78 UX_HCD_SIM_HOST_ISO_TD *td; in _ux_hcd_sim_host_isochronous_endpoint_create() local 88 td = _ux_hcd_sim_host_isochronous_td_obtain(hcd_sim_host); in _ux_hcd_sim_host_isochronous_endpoint_create() 89 if (td == UX_NULL) in _ux_hcd_sim_host_isochronous_endpoint_create() 100 ed -> ux_sim_host_ed_tail_td = (UX_HCD_SIM_HOST_TD *) ((void *) td); in _ux_hcd_sim_host_isochronous_endpoint_create() 101 ed -> ux_sim_host_ed_head_td = (UX_HCD_SIM_HOST_TD *) ((void *) td); in _ux_hcd_sim_host_isochronous_endpoint_create()
|
D | ux_hcd_sim_host_asynchronous_endpoint_create.c | 79 UX_HCD_SIM_HOST_TD *td; in _ux_hcd_sim_host_asynchronous_endpoint_create() local 93 td = _ux_hcd_sim_host_regular_td_obtain(hcd_sim_host); in _ux_hcd_sim_host_asynchronous_endpoint_create() 94 if (td == UX_NULL) in _ux_hcd_sim_host_asynchronous_endpoint_create() 108 ed -> ux_sim_host_ed_tail_td = td; in _ux_hcd_sim_host_asynchronous_endpoint_create() 109 ed -> ux_sim_host_ed_head_td = td; in _ux_hcd_sim_host_asynchronous_endpoint_create()
|
D | ux_hcd_sim_host_interrupt_endpoint_create.c | 99 UX_HCD_SIM_HOST_TD *td; in _ux_hcd_sim_host_interrupt_endpoint_create() local 112 td = _ux_hcd_sim_host_regular_td_obtain(hcd_sim_host); in _ux_hcd_sim_host_interrupt_endpoint_create() 113 if (td == UX_NULL) in _ux_hcd_sim_host_interrupt_endpoint_create() 127 ed -> ux_sim_host_ed_tail_td = td; in _ux_hcd_sim_host_interrupt_endpoint_create() 128 ed -> ux_sim_host_ed_head_td = td; in _ux_hcd_sim_host_interrupt_endpoint_create()
|
D | ux_hcd_sim_host_periodic_endpoint_destroy.c | 78 UX_HCD_SIM_HOST_TD *td; in _ux_hcd_sim_host_periodic_endpoint_destroy() local 99 td = ed -> ux_sim_host_ed_tail_td; in _ux_hcd_sim_host_periodic_endpoint_destroy() 100 td -> ux_sim_host_td_status = UX_UNUSED; in _ux_hcd_sim_host_periodic_endpoint_destroy()
|
D | ux_hcd_sim_host_asynchronous_endpoint_destroy.c | 79 UX_HCD_SIM_HOST_TD *td; in _ux_hcd_sim_host_asynchronous_endpoint_destroy() local 114 td = ed -> ux_sim_host_ed_tail_td; in _ux_hcd_sim_host_asynchronous_endpoint_destroy() 115 td -> ux_sim_host_td_status = UX_UNUSED; in _ux_hcd_sim_host_asynchronous_endpoint_destroy()
|
/USBX-v6.2.1/common/usbx_host_controllers/inc/ |
D | ux_hcd_ehci.h | 795 UX_EHCI_TD *_ux_hcd_ehci_asynch_td_process(UX_EHCI_ED *ed, UX_EHCI_TD *td); 819 VOID _ux_hcd_ehci_next_td_clean(UX_EHCI_TD *td);
|