| /USBX-v6.2.1/common/core/src/ |
| D | ux_hcd_sim_host_asynch_schedule.c | 73 UX_HCD_SIM_HOST_ED *ed; in _ux_hcd_sim_host_asynch_schedule() local 79 ed = hcd_sim_host -> ux_hcd_sim_host_asynch_current_ed; in _ux_hcd_sim_host_asynch_schedule() 82 if (ed == UX_NULL) in _ux_hcd_sim_host_asynch_schedule() 89 ed = hcd_sim_host -> ux_hcd_sim_host_asynch_head_ed; in _ux_hcd_sim_host_asynch_schedule() 93 first_ed = ed; in _ux_hcd_sim_host_asynch_schedule() 100 if (ed -> ux_sim_host_ed_tail_td != ed -> ux_sim_host_ed_head_td) in _ux_hcd_sim_host_asynch_schedule() 104 status = _ux_hcd_sim_host_transaction_schedule(hcd_sim_host, ed); in _ux_hcd_sim_host_asynch_schedule() 112 if (ed -> ux_sim_host_ed_next_ed == UX_NULL) in _ux_hcd_sim_host_asynch_schedule() 115 … hcd_sim_host -> ux_hcd_sim_host_asynch_current_ed = ed -> ux_sim_host_ed_next_ed; in _ux_hcd_sim_host_asynch_schedule() 120 if (ed -> ux_sim_host_ed_next_ed == UX_NULL) in _ux_hcd_sim_host_asynch_schedule() [all …]
|
| D | ux_hcd_sim_host_periodic_schedule.c | 75 UX_HCD_SIM_HOST_ED *ed; in _ux_hcd_sim_host_periodic_schedule() local 85 ed = hcd_sim_host -> ux_hcd_sim_host_interrupt_ed_list[frame_number]; in _ux_hcd_sim_host_periodic_schedule() 88 while (ed != UX_NULL) in _ux_hcd_sim_host_periodic_schedule() 92 …if ((ed -> ux_sim_host_ed_status != UX_HCD_SIM_HOST_ED_STATIC) && (ed -> ux_sim_host_ed_tail_td !=… in _ux_hcd_sim_host_periodic_schedule() 96 … if ((ed -> ux_sim_host_ed_head_td -> ux_sim_host_td_status & UX_HCD_SIM_HOST_TD_ACK_PENDING) == 0) in _ux_hcd_sim_host_periodic_schedule() 99 _ux_hcd_sim_host_transaction_schedule(hcd_sim_host, ed); in _ux_hcd_sim_host_periodic_schedule() 104 ed = ed -> ux_sim_host_ed_next_ed; in _ux_hcd_sim_host_periodic_schedule()
|
| D | ux_hcd_sim_host_asynchronous_endpoint_create.c | 76 UX_HCD_SIM_HOST_ED *ed; in _ux_hcd_sim_host_asynchronous_endpoint_create() local 87 ed = _ux_hcd_sim_host_ed_obtain(hcd_sim_host); in _ux_hcd_sim_host_asynchronous_endpoint_create() 88 if (ed == UX_NULL) in _ux_hcd_sim_host_asynchronous_endpoint_create() 96 ed -> ux_sim_host_ed_status = UX_UNUSED; in _ux_hcd_sim_host_asynchronous_endpoint_create() 101 endpoint -> ux_endpoint_ed = (VOID *) ed; in _ux_hcd_sim_host_asynchronous_endpoint_create() 104 ed -> ux_sim_host_ed_endpoint = endpoint; in _ux_hcd_sim_host_asynchronous_endpoint_create() 107 ed -> ux_sim_host_ed_tail_td = td; in _ux_hcd_sim_host_asynchronous_endpoint_create() 108 ed -> ux_sim_host_ed_head_td = td; in _ux_hcd_sim_host_asynchronous_endpoint_create() 112 ed -> ux_sim_host_ed_next_ed = head_ed; in _ux_hcd_sim_host_asynchronous_endpoint_create() 113 hcd_sim_host -> ux_hcd_sim_host_asynch_head_ed = ed; in _ux_hcd_sim_host_asynchronous_endpoint_create() [all …]
|
| D | ux_hcd_sim_host_isochronous_endpoint_create.c | 75 UX_HCD_SIM_HOST_ED *ed; in _ux_hcd_sim_host_isochronous_endpoint_create() local 82 ed = _ux_hcd_sim_host_ed_obtain(hcd_sim_host); in _ux_hcd_sim_host_isochronous_endpoint_create() 83 if (ed == UX_NULL) in _ux_hcd_sim_host_isochronous_endpoint_create() 91 ed -> ux_sim_host_ed_status = UX_UNUSED; in _ux_hcd_sim_host_isochronous_endpoint_create() 96 endpoint -> ux_endpoint_ed = (VOID *) ed; in _ux_hcd_sim_host_isochronous_endpoint_create() 99 ed -> ux_sim_host_ed_tail_td = (UX_HCD_SIM_HOST_TD *) ((void *) td); in _ux_hcd_sim_host_isochronous_endpoint_create() 100 ed -> ux_sim_host_ed_head_td = (UX_HCD_SIM_HOST_TD *) ((void *) td); in _ux_hcd_sim_host_isochronous_endpoint_create() 104 ed -> ux_sim_host_ed_next_ed = head_ed; in _ux_hcd_sim_host_isochronous_endpoint_create() 105 hcd_sim_host -> ux_hcd_sim_host_iso_head_ed = ed; in _ux_hcd_sim_host_isochronous_endpoint_create() 110 head_ed -> ux_sim_host_ed_previous_ed = ed; in _ux_hcd_sim_host_isochronous_endpoint_create()
|
| D | ux_hcd_sim_host_transfer_abort.c | 80 UX_HCD_SIM_HOST_ED *ed; in _ux_hcd_sim_host_transfer_abort() local 90 ed = (UX_HCD_SIM_HOST_ED *) endpoint -> ux_endpoint_ed; in _ux_hcd_sim_host_transfer_abort() 93 if (ed == UX_NULL) in _ux_hcd_sim_host_transfer_abort() 106 ed -> ux_sim_host_ed_status |= UX_HCD_SIM_HOST_ED_SKIP; in _ux_hcd_sim_host_transfer_abort() 109 ed -> ux_sim_host_ed_status |= UX_HCD_SIM_HOST_ED_SKIP; in _ux_hcd_sim_host_transfer_abort() 116 head_td = ed -> ux_sim_host_ed_head_td; in _ux_hcd_sim_host_transfer_abort() 117 tail_td = ed -> ux_sim_host_ed_tail_td; in _ux_hcd_sim_host_transfer_abort() 127 ed -> ux_sim_host_ed_head_td = head_td -> ux_sim_host_td_next_td; in _ux_hcd_sim_host_transfer_abort() 130 head_td = ed -> ux_sim_host_ed_head_td; in _ux_hcd_sim_host_transfer_abort() 135 ed -> ux_sim_host_ed_status &= ~(UX_HCD_SIM_HOST_ED_SKIP|UX_HCD_SIM_HOST_ED_TRANSFER); in _ux_hcd_sim_host_transfer_abort() [all …]
|
| D | ux_hcd_sim_host_interrupt_endpoint_create.c | 95 UX_HCD_SIM_HOST_ED *ed; in _ux_hcd_sim_host_interrupt_endpoint_create() local 106 ed = _ux_hcd_sim_host_ed_obtain(hcd_sim_host); in _ux_hcd_sim_host_interrupt_endpoint_create() 107 if (ed == UX_NULL) in _ux_hcd_sim_host_interrupt_endpoint_create() 115 ed -> ux_sim_host_ed_status = UX_UNUSED; in _ux_hcd_sim_host_interrupt_endpoint_create() 120 endpoint -> ux_endpoint_ed = (VOID *)ed; in _ux_hcd_sim_host_interrupt_endpoint_create() 123 ed -> ux_sim_host_ed_endpoint = endpoint; in _ux_hcd_sim_host_interrupt_endpoint_create() 126 ed -> ux_sim_host_ed_tail_td = td; in _ux_hcd_sim_host_interrupt_endpoint_create() 127 ed -> ux_sim_host_ed_head_td = td; in _ux_hcd_sim_host_interrupt_endpoint_create() 170 next_ed -> ux_sim_host_ed_previous_ed = ed; in _ux_hcd_sim_host_interrupt_endpoint_create() 171 ed -> ux_sim_host_ed_next_ed = next_ed; in _ux_hcd_sim_host_interrupt_endpoint_create() [all …]
|
| D | ux_hcd_sim_host_periodic_tree_create.c | 74 UX_HCD_SIM_HOST_ED *ed; in _ux_hcd_sim_host_periodic_tree_create() local 94 ed = _ux_hcd_sim_host_ed_obtain(hcd_sim_host); in _ux_hcd_sim_host_periodic_tree_create() 95 if (ed == UX_NULL) in _ux_hcd_sim_host_periodic_tree_create() 100 ed -> ux_sim_host_ed_status = UX_HCD_SIM_HOST_ED_STATIC; in _ux_hcd_sim_host_periodic_tree_create() 107 ed_start_list[current_list_entry] = ed; in _ux_hcd_sim_host_periodic_tree_create() 112 ed_list[current_list_entry * 2] -> ux_sim_host_ed_next_ed = ed; in _ux_hcd_sim_host_periodic_tree_create() 113 ed_list[(current_list_entry * 2) + 1] -> ux_sim_host_ed_next_ed = ed; in _ux_hcd_sim_host_periodic_tree_create() 118 ed_list[current_list_entry] = ed; in _ux_hcd_sim_host_periodic_tree_create() 132 ed = ed_start_list[_ux_system_host_hcd_periodic_tree_entries[current_list_entry]]; in _ux_hcd_sim_host_periodic_tree_create() 133 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 | 75 UX_HCD_SIM_HOST_ED *ed; in _ux_hcd_sim_host_ed_obtain() local 80 ed = hcd_sim_host -> ux_hcd_sim_host_ed_list; in _ux_hcd_sim_host_ed_obtain() 85 if (ed -> ux_sim_host_ed_status == UX_UNUSED) in _ux_hcd_sim_host_ed_obtain() 89 … _ux_utility_memory_set(ed, 0, sizeof(UX_HCD_SIM_HOST_ED)); /* Use case of memset is verified. */ in _ux_hcd_sim_host_ed_obtain() 92 ed -> ux_sim_host_ed_status = UX_USED; in _ux_hcd_sim_host_ed_obtain() 95 return(ed); in _ux_hcd_sim_host_ed_obtain() 99 ed++; in _ux_hcd_sim_host_ed_obtain()
|
| D | ux_dcd_sim_slave_endpoint_create.c | 77 UX_DCD_SIM_SLAVE_ED *ed; in _ux_dcd_sim_slave_endpoint_create() local 87 ed = ((endpoint -> ux_slave_endpoint_descriptor.bEndpointAddress == 0) ? in _ux_dcd_sim_slave_endpoint_create() 93 ed = &dcd_sim_slave -> ux_dcd_sim_slave_ed[sim_slave_endpoint_index]; in _ux_dcd_sim_slave_endpoint_create() 97 if ((ed -> ux_sim_slave_ed_status & UX_DCD_SIM_SLAVE_ED_STATUS_USED) == 0) in _ux_dcd_sim_slave_endpoint_create() 101 ed -> ux_sim_slave_ed_status |= UX_DCD_SIM_SLAVE_ED_STATUS_USED; in _ux_dcd_sim_slave_endpoint_create() 104 endpoint -> ux_slave_endpoint_ed = (VOID *) ed; in _ux_dcd_sim_slave_endpoint_create() 107 ed -> ux_sim_slave_ed_index = sim_slave_endpoint_index; in _ux_dcd_sim_slave_endpoint_create() 110 ed -> ux_sim_slave_ed_endpoint = endpoint; in _ux_dcd_sim_slave_endpoint_create() 114 ed -> ux_sim_slave_ed_status |= UX_DCD_SIM_SLAVE_ED_STATUS_TRANSFER; in _ux_dcd_sim_slave_endpoint_create()
|
| /USBX-v6.2.1/common/usbx_host_controllers/src/ |
| D | ux_hcd_ehci_hsisochronous_tds_process.c | 90 UX_EHCI_HSISO_ED *ed; in _ux_hcd_ehci_hsisochronous_tds_process() local 113 ed = itd -> ux_ehci_hsiso_td_ed; in _ux_hcd_ehci_hsisochronous_tds_process() 119 if (ed -> ux_ehci_hsiso_ed_frstart == 0xFF) in _ux_hcd_ehci_hsisochronous_tds_process() 135 n_fr = 8u >> ed -> ux_ehci_hsiso_ed_frinterval_shift; in _ux_hcd_ehci_hsisochronous_tds_process() 138 if (ed -> ux_ehci_hsiso_ed_frload > 0) in _ux_hcd_ehci_hsisochronous_tds_process() 142 fr_hc = (USHORT)(ed -> ux_ehci_hsiso_ed_fr_hc << ed -> ux_ehci_hsiso_ed_frinterval_shift); in _ux_hcd_ehci_hsisochronous_tds_process() 143 fr_hc = (USHORT)(fr_hc + ed -> ux_ehci_hsiso_ed_frstart); in _ux_hcd_ehci_hsisochronous_tds_process() 149 i += ed -> ux_ehci_hsiso_ed_frinterval) in _ux_hcd_ehci_hsisochronous_tds_process() 156 if ((ed -> ux_ehci_hsiso_ed_frload & (1u << frindex)) == 0) in _ux_hcd_ehci_hsisochronous_tds_process() 162 fr_td = ed -> ux_ehci_hsiso_ed_fr_td[frindex >> 1]; in _ux_hcd_ehci_hsisochronous_tds_process() [all …]
|
| D | ux_hcd_ehci_asynchronous_endpoint_create.c | 86 UX_EHCI_ED *ed; in _ux_hcd_ehci_asynchronous_endpoint_create() local 96 ed = _ux_hcd_ehci_ed_obtain(hcd_ehci); in _ux_hcd_ehci_asynchronous_endpoint_create() 97 if (ed == UX_NULL) in _ux_hcd_ehci_asynchronous_endpoint_create() 101 endpoint -> ux_endpoint_ed = (VOID *) ed; in _ux_hcd_ehci_asynchronous_endpoint_create() 104 ed -> REF_AS.INTR.ux_ehci_ed_endpoint = endpoint; in _ux_hcd_ehci_asynchronous_endpoint_create() 107 …ed -> ux_ehci_ed_cap0 = (ULONG)endpoint -> ux_endpoint_descriptor.wMaxPacketSize << UX_EHCI_QH_MP… in _ux_hcd_ehci_asynchronous_endpoint_create() 110 ed -> ux_ehci_ed_cap0 |= UX_EHCI_QH_NCR; in _ux_hcd_ehci_asynchronous_endpoint_create() 116 ed -> ux_ehci_ed_cap0 |= UX_EHCI_QH_CEF; in _ux_hcd_ehci_asynchronous_endpoint_create() 119 ed -> ux_ehci_ed_cap0 |= device -> ux_device_address; in _ux_hcd_ehci_asynchronous_endpoint_create() 122 ed -> ux_ehci_ed_cap0 |= (endpoint -> ux_endpoint_descriptor.bEndpointAddress & in _ux_hcd_ehci_asynchronous_endpoint_create() [all …]
|
| D | ux_hcd_ehci_done_queue_process.c | 90 UX_EHCI_PERIODIC_LINK_POINTER ed; in _ux_hcd_ehci_done_queue_process() local 126 ed.ed_ptr = hcd_ehci -> ux_hcd_ehci_interrupt_ed_list; in _ux_hcd_ehci_done_queue_process() 127 while(ed.ed_ptr != UX_NULL) in _ux_hcd_ehci_done_queue_process() 131 td = ed.ed_ptr -> ux_ehci_ed_first_td; in _ux_hcd_ehci_done_queue_process() 135 td = _ux_hcd_ehci_asynch_td_process(ed.ed_ptr, td); in _ux_hcd_ehci_done_queue_process() 138 ed.ed_ptr = ed.ed_ptr -> ux_ehci_ed_next_ed; in _ux_hcd_ehci_done_queue_process() 147 ed.ed_ptr = start_ed -> ux_ehci_ed_queue_head; in _ux_hcd_ehci_done_queue_process() 148 ed.value &= UX_EHCI_LINK_ADDRESS_MASK; in _ux_hcd_ehci_done_queue_process() 151 ed.void_ptr = _ux_utility_virtual_address(ed.void_ptr); in _ux_hcd_ehci_done_queue_process() 155 while (ed.ed_ptr != start_ed) in _ux_hcd_ehci_done_queue_process() [all …]
|
| D | ux_hcd_ehci_request_interrupt_transfer.c | 79 UX_EHCI_ED *ed; in _ux_hcd_ehci_request_interrupt_transfer() local 89 ed = endpoint -> ux_endpoint_ed; in _ux_hcd_ehci_request_interrupt_transfer() 92 ed -> ux_ehci_ed_current_td = UX_NULL; in _ux_hcd_ehci_request_interrupt_transfer() 93 ed -> ux_ehci_ed_queue_element = (UX_EHCI_TD *) UX_EHCI_TD_T; in _ux_hcd_ehci_request_interrupt_transfer() 94 ed -> ux_ehci_ed_alternate_td = (UX_EHCI_TD *) UX_EHCI_QH_T; in _ux_hcd_ehci_request_interrupt_transfer() 95 ed -> ux_ehci_ed_state &= UX_EHCI_QH_TOGGLE; in _ux_hcd_ehci_request_interrupt_transfer() 96 ed -> ux_ehci_ed_bp0 = UX_NULL; in _ux_hcd_ehci_request_interrupt_transfer() 97 ed -> ux_ehci_ed_bp1 = UX_NULL; in _ux_hcd_ehci_request_interrupt_transfer() 98 ed -> ux_ehci_ed_bp2 = UX_NULL; in _ux_hcd_ehci_request_interrupt_transfer() 99 ed -> ux_ehci_ed_bp3 = UX_NULL; in _ux_hcd_ehci_request_interrupt_transfer() [all …]
|
| D | ux_hcd_ehci_request_control_transfer.c | 99 UX_EHCI_ED *ed; in _ux_hcd_ehci_request_control_transfer() local 110 ed = endpoint -> ux_endpoint_ed; in _ux_hcd_ehci_request_control_transfer() 125 ed -> ux_ehci_ed_last_td = UX_NULL; in _ux_hcd_ehci_request_control_transfer() 129 …ed -> ux_ehci_ed_cap0 |= (endpoint -> ux_endpoint_descriptor.bEndpointAddress & ~UX_ENDPOINT_DIRE… in _ux_hcd_ehci_request_control_transfer() 132 ed -> ux_ehci_ed_cap0 |= device -> ux_device_address; in _ux_hcd_ehci_request_control_transfer() 135 ed -> ux_ehci_ed_cap0 &= ~UX_EHCI_QH_MPS_MASK; in _ux_hcd_ehci_request_control_transfer() 136 …ed -> ux_ehci_ed_cap0 |= (ULONG)endpoint -> ux_endpoint_descriptor.wMaxPacketSize << UX_EHCI_QH_M… in _ux_hcd_ehci_request_control_transfer() 139 ed -> ux_ehci_ed_cap0 |= UX_EHCI_QH_DTC; in _ux_hcd_ehci_request_control_transfer() 142 ed -> ux_ehci_ed_current_td = UX_NULL; in _ux_hcd_ehci_request_control_transfer() 143 ed -> ux_ehci_ed_queue_element = (UX_EHCI_TD *) UX_EHCI_TD_T; in _ux_hcd_ehci_request_control_transfer() [all …]
|
| D | ux_hcd_ehci_request_bulk_transfer.c | 80 UX_EHCI_ED *ed; in _ux_hcd_ehci_request_bulk_transfer() local 94 ed = endpoint -> ux_endpoint_ed; in _ux_hcd_ehci_request_bulk_transfer() 97 ed -> ux_ehci_ed_current_td = UX_NULL; in _ux_hcd_ehci_request_bulk_transfer() 98 ed -> ux_ehci_ed_queue_element = (UX_EHCI_TD *)UX_EHCI_TD_T; in _ux_hcd_ehci_request_bulk_transfer() 99 ed -> ux_ehci_ed_alternate_td = (UX_EHCI_TD *)UX_EHCI_TD_T; in _ux_hcd_ehci_request_bulk_transfer() 100 ed -> ux_ehci_ed_state &= UX_EHCI_QH_TOGGLE; in _ux_hcd_ehci_request_bulk_transfer() 101 ed -> ux_ehci_ed_bp0 = UX_NULL; in _ux_hcd_ehci_request_bulk_transfer() 102 ed -> ux_ehci_ed_bp0 = UX_NULL; in _ux_hcd_ehci_request_bulk_transfer() 103 ed -> ux_ehci_ed_bp1 = UX_NULL; in _ux_hcd_ehci_request_bulk_transfer() 104 ed -> ux_ehci_ed_bp2 = UX_NULL; in _ux_hcd_ehci_request_bulk_transfer() [all …]
|
| D | ux_hcd_ehci_periodic_tree_create.c | 79 UX_EHCI_ED *ed; in _ux_hcd_ehci_periodic_tree_create() local 100 ed = _ux_hcd_ehci_ed_obtain(hcd_ehci); in _ux_hcd_ehci_periodic_tree_create() 101 if (ed == UX_NULL) in _ux_hcd_ehci_periodic_tree_create() 105 ed -> ux_ehci_ed_queue_head = (UX_EHCI_ED *) (UX_EHCI_QH_TYP_QH | UX_EHCI_QH_T); in _ux_hcd_ehci_periodic_tree_create() 108 ed -> ux_ehci_ed_queue_element = (UX_EHCI_TD *) UX_EHCI_TD_T; in _ux_hcd_ehci_periodic_tree_create() 111 ed -> ux_ehci_ed_alternate_td = (UX_EHCI_TD *) UX_EHCI_TD_T; in _ux_hcd_ehci_periodic_tree_create() 114 ed -> ux_ehci_ed_status |= UX_EHCI_QH_STATIC; in _ux_hcd_ehci_periodic_tree_create() 121 ed_start_list[current_list_entry] = ed; in _ux_hcd_ehci_periodic_tree_create() 129 lp.void_ptr = _ux_utility_physical_address(ed); in _ux_hcd_ehci_periodic_tree_create() 133 previous_ed -> ux_ehci_ed_next_ed = ed; in _ux_hcd_ehci_periodic_tree_create() [all …]
|
| D | ux_hcd_ehci_ed_obtain.c | 76 UX_EHCI_ED *ed; in _ux_hcd_ehci_ed_obtain() local 81 ed = hcd_ehci -> ux_hcd_ehci_ed_list; in _ux_hcd_ehci_ed_obtain() 86 if (ed -> ux_ehci_ed_status == UX_UNUSED) in _ux_hcd_ehci_ed_obtain() 90 _ux_utility_memory_set(ed, 0, sizeof(UX_EHCI_ED)); /* Use case of memset is verified. */ in _ux_hcd_ehci_ed_obtain() 93 ed -> ux_ehci_ed_status = UX_USED; in _ux_hcd_ehci_ed_obtain() 96 ed -> ux_ehci_ed_queue_head = (UX_EHCI_ED *) UX_EHCI_QH_TYP_QH; in _ux_hcd_ehci_ed_obtain() 97 ed -> ux_ehci_ed_queue_element = (UX_EHCI_TD *) UX_EHCI_TD_T; in _ux_hcd_ehci_ed_obtain() 100 return(ed); in _ux_hcd_ehci_ed_obtain() 104 ed++; in _ux_hcd_ehci_ed_obtain()
|
| D | ux_hcd_ohci_transfer_abort.c | 84 UX_OHCI_ED *ed; in _ux_hcd_ohci_transfer_abort() local 97 ed = (UX_OHCI_ED *) endpoint -> ux_endpoint_ed; in _ux_hcd_ohci_transfer_abort() 100 if (ed == UX_NULL) in _ux_hcd_ohci_transfer_abort() 113 ed -> ux_ohci_ed_dw0 |= UX_OHCI_ED_SKIP; in _ux_hcd_ohci_transfer_abort() 119 value_carry = (ULONG)(ed -> ux_ohci_ed_head_td) & UX_OHCI_ED_TOGGLE_CARRY; in _ux_hcd_ohci_transfer_abort() 122 value_td = (ULONG) _ux_utility_virtual_address(ed -> ux_ohci_ed_head_td) & UX_OHCI_ED_MASK_TD; in _ux_hcd_ohci_transfer_abort() 127 tail_td = _ux_utility_virtual_address(ed -> ux_ohci_ed_tail_td); in _ux_hcd_ohci_transfer_abort() 134 ed -> ux_ohci_ed_head_td = head_td -> ux_ohci_td_next_td; in _ux_hcd_ohci_transfer_abort() 140 head_td = _ux_utility_virtual_address(ed -> ux_ohci_ed_head_td); in _ux_hcd_ohci_transfer_abort() 144 value_td = (ULONG) ed -> ux_ohci_ed_head_td; in _ux_hcd_ohci_transfer_abort() [all …]
|
| D | ux_hcd_ohci_asynchronous_endpoint_create.c | 86 UX_OHCI_ED *ed; in _ux_hcd_ohci_asynchronous_endpoint_create() local 98 ed = _ux_hcd_ohci_ed_obtain(hcd_ohci); in _ux_hcd_ohci_asynchronous_endpoint_create() 99 if (ed == UX_NULL) in _ux_hcd_ohci_asynchronous_endpoint_create() 107 ed -> ux_ohci_ed_status = UX_UNUSED; in _ux_hcd_ohci_asynchronous_endpoint_create() 112 endpoint -> ux_endpoint_ed = (VOID *) ed; in _ux_hcd_ohci_asynchronous_endpoint_create() 115 ed -> ux_ohci_ed_endpoint = endpoint; in _ux_hcd_ohci_asynchronous_endpoint_create() 124 ed -> ux_ohci_ed_dw0 = device -> ux_device_address | in _ux_hcd_ohci_asynchronous_endpoint_create() 129 ed -> ux_ohci_ed_dw0 |= UX_OHCI_ED_LOW_SPEED; in _ux_hcd_ohci_asynchronous_endpoint_create() 132 ed -> ux_ohci_ed_tail_td = _ux_utility_physical_address(td); in _ux_hcd_ohci_asynchronous_endpoint_create() 133 ed -> ux_ohci_ed_head_td = _ux_utility_physical_address(td); in _ux_hcd_ohci_asynchronous_endpoint_create() [all …]
|
| D | ux_hcd_ehci_interrupt_endpoint_destroy.c | 89 UX_EHCI_ED *ed; in _ux_hcd_ehci_interrupt_endpoint_destroy() local 96 ed = (UX_EHCI_ED *) endpoint -> ux_endpoint_ed; in _ux_hcd_ehci_interrupt_endpoint_destroy() 102 _ux_hcd_ehci_periodic_descriptor_link(ed -> ux_ehci_ed_previous_ed, in _ux_hcd_ehci_interrupt_endpoint_destroy() 103 UX_NULL, UX_NULL, ed -> ux_ehci_ed_queue_head); in _ux_hcd_ehci_interrupt_endpoint_destroy() 109 if (prev_ed == ed) in _ux_hcd_ehci_interrupt_endpoint_destroy() 112 hcd_ehci -> ux_hcd_ehci_interrupt_ed_list = ed -> ux_ehci_ed_next_ed; in _ux_hcd_ehci_interrupt_endpoint_destroy() 122 if (prev_ed -> ux_ehci_ed_next_ed == ed) in _ux_hcd_ehci_interrupt_endpoint_destroy() 126 prev_ed -> ux_ehci_ed_next_ed = ed -> ux_ehci_ed_next_ed; in _ux_hcd_ehci_interrupt_endpoint_destroy() 156 if ((ed -> ux_ehci_ed_cap1 & (UX_EHCI_SMASK_0 << frindex))) in _ux_hcd_ehci_interrupt_endpoint_destroy() 166 …ed -> REF_AS.INTR.ux_ehci_ed_anchor -> REF_AS.ANCHOR.ux_ehci_ed_microframe_ssplit_count[frindex] -… in _ux_hcd_ehci_interrupt_endpoint_destroy() [all …]
|
| D | ux_hcd_ohci_periodic_tree_create.c | 77 UX_OHCI_ED *ed; in _ux_hcd_ohci_periodic_tree_create() local 101 ed = _ux_hcd_ohci_ed_obtain(hcd_ohci); in _ux_hcd_ohci_periodic_tree_create() 102 if (ed == UX_NULL) in _ux_hcd_ohci_periodic_tree_create() 108 ed -> ux_ohci_ed_dw0 = UX_OHCI_ED_SKIP; in _ux_hcd_ohci_periodic_tree_create() 115 ed_start_list[current_list_entry] = ed; in _ux_hcd_ohci_periodic_tree_create() 120 … ed_list[current_list_entry * 2] -> ux_ohci_ed_next_ed = _ux_utility_physical_address(ed); in _ux_hcd_ohci_periodic_tree_create() 121 … ed_list[(current_list_entry * 2) + 1] -> ux_ohci_ed_next_ed = _ux_utility_physical_address(ed); in _ux_hcd_ohci_periodic_tree_create() 126 ed_list[current_list_entry] = ed; in _ux_hcd_ohci_periodic_tree_create() 141 ed = ed_start_list[_ux_system_host_hcd_periodic_tree_entries[current_list_entry]]; in _ux_hcd_ohci_periodic_tree_create() 142 ohci_hcca -> ux_hcd_ohci_hcca_ed[current_list_entry] = _ux_utility_physical_address(ed); in _ux_hcd_ohci_periodic_tree_create()
|
| D | ux_hcd_ohci_periodic_endpoint_destroy.c | 80 UX_OHCI_ED *ed; in _ux_hcd_ohci_periodic_endpoint_destroy() local 91 ed = (UX_OHCI_ED*) endpoint -> ux_endpoint_ed; in _ux_hcd_ohci_periodic_endpoint_destroy() 94 if (ed == UX_NULL) in _ux_hcd_ohci_periodic_endpoint_destroy() 107 ed -> ux_ohci_ed_dw0 |= UX_OHCI_ED_SKIP; in _ux_hcd_ohci_periodic_endpoint_destroy() 113 previous_ed = ed -> ux_ohci_ed_previous_ed; in _ux_hcd_ohci_periodic_endpoint_destroy() 116 next_ed = ed -> ux_ohci_ed_next_ed; in _ux_hcd_ohci_periodic_endpoint_destroy() 132 value_td = (ULONG) _ux_utility_virtual_address(ed -> ux_ohci_ed_head_td) & UX_OHCI_ED_MASK_TD; in _ux_hcd_ohci_periodic_endpoint_destroy() 137 tail_td = _ux_utility_virtual_address(ed -> ux_ohci_ed_tail_td); in _ux_hcd_ohci_periodic_endpoint_destroy() 144 ed -> ux_ohci_ed_head_td = head_td -> ux_ohci_td_next_td; in _ux_hcd_ohci_periodic_endpoint_destroy() 150 head_td = _ux_utility_virtual_address(ed -> ux_ohci_ed_head_td); in _ux_hcd_ohci_periodic_endpoint_destroy() [all …]
|
| D | ux_hcd_ohci_next_td_clean.c | 78 UX_OHCI_ED *ed; in _ux_hcd_ohci_next_td_clean() local 86 ed = td -> ux_ohci_td_ed; in _ux_hcd_ohci_next_td_clean() 89 value_carry = (ULONG)(ed -> ux_ohci_ed_head_td) & UX_OHCI_ED_TOGGLE_CARRY; in _ux_hcd_ohci_next_td_clean() 92 value_td = (ULONG) _ux_utility_virtual_address(ed -> ux_ohci_ed_head_td) & UX_OHCI_ED_MASK_TD; in _ux_hcd_ohci_next_td_clean() 97 tail_td = _ux_utility_virtual_address(ed -> ux_ohci_ed_tail_td); in _ux_hcd_ohci_next_td_clean() 107 ed -> ux_ohci_ed_head_td = head_td -> ux_ohci_td_next_td; in _ux_hcd_ohci_next_td_clean() 110 head_td = _ux_utility_virtual_address(ed -> ux_ohci_ed_head_td); in _ux_hcd_ohci_next_td_clean() 114 value_td = (ULONG) ed -> ux_ohci_ed_head_td; in _ux_hcd_ohci_next_td_clean() 116 ed -> ux_ohci_ed_head_td = (UX_OHCI_TD *) value_td; in _ux_hcd_ohci_next_td_clean()
|
| D | ux_hcd_ohci_interrupt_endpoint_create.c | 102 UX_OHCI_ED *ed; in _ux_hcd_ohci_interrupt_endpoint_create() local 113 ed = _ux_hcd_ohci_ed_obtain(hcd_ohci); in _ux_hcd_ohci_interrupt_endpoint_create() 114 if (ed == UX_NULL) in _ux_hcd_ohci_interrupt_endpoint_create() 122 ed -> ux_ohci_ed_status = UX_UNUSED; in _ux_hcd_ohci_interrupt_endpoint_create() 127 endpoint -> ux_endpoint_ed = (VOID *) ed; in _ux_hcd_ohci_interrupt_endpoint_create() 140 ed -> ux_ohci_ed_dw0 = device -> ux_device_address | in _ux_hcd_ohci_interrupt_endpoint_create() 145 ed -> ux_ohci_ed_dw0 |= UX_OHCI_ED_LOW_SPEED; in _ux_hcd_ohci_interrupt_endpoint_create() 148 ed -> ux_ohci_ed_tail_td = _ux_utility_physical_address(td); in _ux_hcd_ohci_interrupt_endpoint_create() 149 ed -> ux_ohci_ed_head_td = _ux_utility_physical_address(td); in _ux_hcd_ohci_interrupt_endpoint_create() 213 next_ed -> ux_ohci_ed_previous_ed = ed; in _ux_hcd_ohci_interrupt_endpoint_create() [all …]
|
| D | ux_hcd_ohci_ed_obtain.c | 76 UX_OHCI_ED *ed; in _ux_hcd_ohci_ed_obtain() local 81 ed = hcd_ohci -> ux_hcd_ohci_ed_list; in _ux_hcd_ohci_ed_obtain() 86 if (ed -> ux_ohci_ed_status == UX_UNUSED) in _ux_hcd_ohci_ed_obtain() 90 _ux_utility_memory_set(ed, 0, sizeof(UX_OHCI_ED)); /* Use case of memset is verified. */ in _ux_hcd_ohci_ed_obtain() 93 ed -> ux_ohci_ed_status = UX_USED; in _ux_hcd_ohci_ed_obtain() 96 return(ed); in _ux_hcd_ohci_ed_obtain() 100 ed++; in _ux_hcd_ohci_ed_obtain()
|