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