Home
last modified time | relevance | path

Searched refs:data_td (Results 1 – 9 of 9) sorted by relevance

/USBX-v6.2.1/common/core/src/
Dux_hcd_sim_host_request_bulk_transfer.c82 UX_HCD_SIM_HOST_TD *data_td; in _ux_hcd_sim_host_request_bulk_transfer() local
101 data_td = ed -> ux_sim_host_ed_tail_td; in _ux_hcd_sim_host_request_bulk_transfer()
102 previous_td = data_td; in _ux_hcd_sim_host_request_bulk_transfer()
125 data_td -> ux_sim_host_td_buffer = data_pointer; in _ux_hcd_sim_host_request_bulk_transfer()
128 data_td -> ux_sim_host_td_length = bulk_packet_payload_length; in _ux_hcd_sim_host_request_bulk_transfer()
131 data_td -> ux_sim_host_td_transfer_request = transfer_request; in _ux_hcd_sim_host_request_bulk_transfer()
132 data_td -> ux_sim_host_td_ed = ed; in _ux_hcd_sim_host_request_bulk_transfer()
141 data_td -> ux_sim_host_td_direction = UX_HCD_SIM_HOST_TD_IN; in _ux_hcd_sim_host_request_bulk_transfer()
143 data_td -> ux_sim_host_td_direction = UX_HCD_SIM_HOST_TD_OUT; in _ux_hcd_sim_host_request_bulk_transfer()
146 data_td -> ux_sim_host_td_status |= UX_HCD_SIM_HOST_TD_DATA_PHASE; in _ux_hcd_sim_host_request_bulk_transfer()
[all …]
Dux_hcd_sim_host_request_isochronous_transfer.c85 UX_HCD_SIM_HOST_ISO_TD *data_td; in _ux_hcd_sim_host_request_isochronous_transfer() local
129 data_td = (UX_HCD_SIM_HOST_ISO_TD *) ((void *) ed -> ux_sim_host_ed_tail_td); in _ux_hcd_sim_host_request_isochronous_transfer()
130 previous_td = data_td; in _ux_hcd_sim_host_request_isochronous_transfer()
160 data_td -> ux_sim_host_iso_td_direction = UX_HCD_SIM_HOST_TD_IN; in _ux_hcd_sim_host_request_isochronous_transfer()
163 data_td -> ux_sim_host_iso_td_direction = UX_HCD_SIM_HOST_TD_OUT; in _ux_hcd_sim_host_request_isochronous_transfer()
166 data_td -> ux_sim_host_iso_td_status |= UX_HCD_SIM_HOST_TD_DATA_PHASE; in _ux_hcd_sim_host_request_isochronous_transfer()
172 data_td -> ux_sim_host_iso_td_buffer = data_pointer; in _ux_hcd_sim_host_request_isochronous_transfer()
175data_td -> ux_sim_host_iso_td_length = UX_MIN(transfer_request_payload_length, isoch_packet_payloa… in _ux_hcd_sim_host_request_isochronous_transfer()
178 data_td -> ux_sim_host_iso_td_transfer_request = transfer_request; in _ux_hcd_sim_host_request_isochronous_transfer()
179 data_td -> ux_sim_host_iso_td_ed = ed; in _ux_hcd_sim_host_request_isochronous_transfer()
[all …]
Dux_hcd_sim_host_request_control_transfer.c92 UX_HCD_SIM_HOST_TD *data_td; in _ux_hcd_sim_host_request_control_transfer() local
143 data_td = UX_NULL; in _ux_hcd_sim_host_request_control_transfer()
158 data_td = _ux_hcd_sim_host_regular_td_obtain(hcd_sim_host); in _ux_hcd_sim_host_request_control_transfer()
159 if (data_td == UX_NULL) in _ux_hcd_sim_host_request_control_transfer()
169 data_td = start_data_td; in _ux_hcd_sim_host_request_control_transfer()
170 while (data_td) in _ux_hcd_sim_host_request_control_transfer()
173 next_data_td = data_td -> ux_sim_host_td_next_td; in _ux_hcd_sim_host_request_control_transfer()
174 data_td -> ux_sim_host_td_status = UX_UNUSED; in _ux_hcd_sim_host_request_control_transfer()
175 data_td = next_data_td; in _ux_hcd_sim_host_request_control_transfer()
191 data_td -> ux_sim_host_td_buffer = data_pointer; in _ux_hcd_sim_host_request_control_transfer()
[all …]
Dux_hcd_sim_host_request_interupt_transfer.c79 UX_HCD_SIM_HOST_TD *data_td; in _ux_hcd_sim_host_request_interrupt_transfer() local
91 data_td = ed -> ux_sim_host_ed_tail_td; in _ux_hcd_sim_host_request_interrupt_transfer()
95 data_td -> ux_sim_host_td_direction = UX_HCD_SIM_HOST_TD_IN; in _ux_hcd_sim_host_request_interrupt_transfer()
97 data_td -> ux_sim_host_td_direction = UX_HCD_SIM_HOST_TD_OUT; in _ux_hcd_sim_host_request_interrupt_transfer()
100 data_td -> ux_sim_host_td_status |= UX_HCD_SIM_HOST_TD_DATA_PHASE; in _ux_hcd_sim_host_request_interrupt_transfer()
103 data_td -> ux_sim_host_td_toggle = UX_HCD_SIM_HOST_TD_TOGGLE_FROM_ED; in _ux_hcd_sim_host_request_interrupt_transfer()
106 data_td -> ux_sim_host_td_buffer = transfer_request -> ux_transfer_request_data_pointer; in _ux_hcd_sim_host_request_interrupt_transfer()
109 data_td -> ux_sim_host_td_length = transfer_request -> ux_transfer_request_requested_length; in _ux_hcd_sim_host_request_interrupt_transfer()
112 data_td -> ux_sim_host_td_transfer_request = transfer_request; in _ux_hcd_sim_host_request_interrupt_transfer()
113 data_td -> ux_sim_host_td_ed = ed; in _ux_hcd_sim_host_request_interrupt_transfer()
[all …]
Dux_hcd_sim_host_transaction_schedule.c107 UX_HCD_SIM_HOST_TD *data_td; in _ux_hcd_sim_host_transaction_schedule() local
230 data_td = td -> ux_sim_host_td_next_td; in _ux_hcd_sim_host_transaction_schedule()
240 if (data_td -> ux_sim_host_td_status & UX_HCD_SIM_HOST_TD_DATA_PHASE) in _ux_hcd_sim_host_transaction_schedule()
244 td_length = UX_MIN(data_td -> ux_sim_host_td_length, transaction_length); in _ux_hcd_sim_host_transaction_schedule()
246 data_td -> ux_sim_host_td_buffer, in _ux_hcd_sim_host_transaction_schedule()
262 ed -> ux_sim_host_ed_head_td = data_td; in _ux_hcd_sim_host_transaction_schedule()
265 data_td = data_td -> ux_sim_host_td_next_td; in _ux_hcd_sim_host_transaction_schedule()
/USBX-v6.2.1/common/usbx_host_controllers/src/
Dux_hcd_ohci_request_bulk_transfer.c84 UX_OHCI_TD *data_td; in _ux_hcd_ohci_request_bulk_transfer() local
105 data_td = _ux_utility_virtual_address(ed -> ux_ohci_ed_tail_td); in _ux_hcd_ohci_request_bulk_transfer()
106 previous_td = data_td; in _ux_hcd_ohci_request_bulk_transfer()
145 data_td -> ux_ohci_td_dw0 = UX_OHCI_TD_IN | UX_OHCI_TD_DEFAULT_DW0; in _ux_hcd_ohci_request_bulk_transfer()
148 data_td -> ux_ohci_td_dw0 = UX_OHCI_TD_OUT | UX_OHCI_TD_DEFAULT_DW0; in _ux_hcd_ohci_request_bulk_transfer()
151 data_td -> ux_ohci_td_cbp = _ux_utility_physical_address(data_pointer); in _ux_hcd_ohci_request_bulk_transfer()
154 data_td -> ux_ohci_td_be = data_td -> ux_ohci_td_cbp + bulk_packet_payload_length - 1; in _ux_hcd_ohci_request_bulk_transfer()
157 data_td -> ux_ohci_td_length = bulk_packet_payload_length; in _ux_hcd_ohci_request_bulk_transfer()
160 data_td -> ux_ohci_td_transfer_request = transfer_request; in _ux_hcd_ohci_request_bulk_transfer()
161 data_td -> ux_ohci_td_ed = ed; in _ux_hcd_ohci_request_bulk_transfer()
[all …]
Dux_hcd_ohci_request_isochronous_transfer.c80 UX_OHCI_ISO_TD *data_td; in _ux_hcd_ohci_request_isochronous_transfer() local
112 data_td = _ux_utility_virtual_address(ed -> ux_ohci_ed_tail_td); in _ux_hcd_ohci_request_isochronous_transfer()
113 previous_td = data_td; in _ux_hcd_ohci_request_isochronous_transfer()
138 data_td -> ux_ohci_iso_td_dw0 = UX_OHCI_TD_DEFAULT_DW0; in _ux_hcd_ohci_request_isochronous_transfer()
148 data_td -> ux_ohci_iso_td_dw0 |= (USHORT) current_frame_number; in _ux_hcd_ohci_request_isochronous_transfer()
151data_td -> ux_ohci_iso_td_bp0 = _ux_utility_physical_address((VOID *)((ULONG) data_pointer & UX_O… in _ux_hcd_ohci_request_isochronous_transfer()
152data_td -> ux_ohci_iso_td_offset_psw[0] = (USHORT)((ULONG) _ux_utility_physical_address(data_poin… in _ux_hcd_ohci_request_isochronous_transfer()
155 data_td -> ux_ohci_iso_td_offset_psw[0] |= (USHORT) UX_OHCI_ISO_TD_PSW_CC; in _ux_hcd_ohci_request_isochronous_transfer()
158data_td -> ux_ohci_iso_td_be = ((UCHAR *) _ux_utility_physical_address(data_pointer)) + isoch_pac… in _ux_hcd_ohci_request_isochronous_transfer()
161 data_td -> ux_ohci_iso_td_length = isoch_packet_payload_length; in _ux_hcd_ohci_request_isochronous_transfer()
[all …]
Dux_hcd_ohci_request_interupt_transfer.c82 UX_OHCI_TD *data_td; in _ux_hcd_ohci_request_interrupt_transfer() local
94 data_td = _ux_utility_virtual_address(ed -> ux_ohci_ed_tail_td); in _ux_hcd_ohci_request_interrupt_transfer()
101 data_td -> ux_ohci_td_dw0 = UX_OHCI_TD_IN | UX_OHCI_TD_DEFAULT_DW0; in _ux_hcd_ohci_request_interrupt_transfer()
104 data_td -> ux_ohci_td_dw0 = UX_OHCI_TD_OUT | UX_OHCI_TD_DEFAULT_DW0; in _ux_hcd_ohci_request_interrupt_transfer()
107data_td -> ux_ohci_td_cbp = _ux_utility_physical_address(transfer_request -> ux_transfer_request_… in _ux_hcd_ohci_request_interrupt_transfer()
110data_td -> ux_ohci_td_be = data_td -> ux_ohci_td_cbp + transfer_request -> ux_transfer_request_re… in _ux_hcd_ohci_request_interrupt_transfer()
113 data_td -> ux_ohci_td_length = transfer_request -> ux_transfer_request_requested_length; in _ux_hcd_ohci_request_interrupt_transfer()
116 data_td -> ux_ohci_td_transfer_request = transfer_request; in _ux_hcd_ohci_request_interrupt_transfer()
117 data_td -> ux_ohci_td_ed = ed; in _ux_hcd_ohci_request_interrupt_transfer()
126 data_td -> ux_ohci_td_next_td = _ux_utility_physical_address(tail_td); in _ux_hcd_ohci_request_interrupt_transfer()
Dux_hcd_ohci_request_control_transfer.c104 UX_OHCI_TD *data_td; in _ux_hcd_ohci_request_control_transfer() local
154 data_td = UX_NULL; in _ux_hcd_ohci_request_control_transfer()
158 data_td = _ux_hcd_ohci_regular_td_obtain(hcd_ohci); in _ux_hcd_ohci_request_control_transfer()
159 if (data_td == UX_NULL) in _ux_hcd_ohci_request_control_transfer()
167 data_td -> ux_ohci_td_transfer_request = transfer_request; in _ux_hcd_ohci_request_control_transfer()
168 data_td -> ux_ohci_td_ed = ed; in _ux_hcd_ohci_request_control_transfer()
171 data_td -> ux_ohci_td_status |= UX_OHCI_TD_DATA_PHASE; in _ux_hcd_ohci_request_control_transfer()
176data_td -> ux_ohci_td_dw0 = UX_OHCI_TD_DEFAULT_DW0 | UX_OHCI_TD_IN | UX_OHCI_TD_DATA1 | UX_OHCI_T… in _ux_hcd_ohci_request_control_transfer()
179data_td -> ux_ohci_td_dw0 = UX_OHCI_TD_DEFAULT_DW0 | UX_OHCI_TD_OUT | UX_OHCI_TD_DATA1 | UX_OHCI_… in _ux_hcd_ohci_request_control_transfer()
182data_td -> ux_ohci_td_cbp = _ux_utility_physical_address(transfer_request -> ux_transfer_request_… in _ux_hcd_ohci_request_control_transfer()
[all …]