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.c83 UX_HCD_SIM_HOST_TD *data_td; in _ux_hcd_sim_host_request_bulk_transfer() local
102 data_td = ed -> ux_sim_host_ed_tail_td; in _ux_hcd_sim_host_request_bulk_transfer()
103 previous_td = data_td; in _ux_hcd_sim_host_request_bulk_transfer()
126 data_td -> ux_sim_host_td_buffer = data_pointer; in _ux_hcd_sim_host_request_bulk_transfer()
129 data_td -> ux_sim_host_td_length = bulk_packet_payload_length; in _ux_hcd_sim_host_request_bulk_transfer()
132 data_td -> ux_sim_host_td_transfer_request = transfer_request; in _ux_hcd_sim_host_request_bulk_transfer()
133 data_td -> ux_sim_host_td_ed = ed; in _ux_hcd_sim_host_request_bulk_transfer()
142 data_td -> ux_sim_host_td_direction = UX_HCD_SIM_HOST_TD_IN; in _ux_hcd_sim_host_request_bulk_transfer()
144 data_td -> ux_sim_host_td_direction = UX_HCD_SIM_HOST_TD_OUT; in _ux_hcd_sim_host_request_bulk_transfer()
147 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.c86 UX_HCD_SIM_HOST_ISO_TD *data_td; in _ux_hcd_sim_host_request_isochronous_transfer() local
130 data_td = (UX_HCD_SIM_HOST_ISO_TD *) ((void *) ed -> ux_sim_host_ed_tail_td); in _ux_hcd_sim_host_request_isochronous_transfer()
131 previous_td = data_td; in _ux_hcd_sim_host_request_isochronous_transfer()
161 data_td -> ux_sim_host_iso_td_direction = UX_HCD_SIM_HOST_TD_IN; in _ux_hcd_sim_host_request_isochronous_transfer()
164 data_td -> ux_sim_host_iso_td_direction = UX_HCD_SIM_HOST_TD_OUT; in _ux_hcd_sim_host_request_isochronous_transfer()
167 data_td -> ux_sim_host_iso_td_status |= UX_HCD_SIM_HOST_TD_DATA_PHASE; in _ux_hcd_sim_host_request_isochronous_transfer()
173 data_td -> ux_sim_host_iso_td_buffer = data_pointer; in _ux_hcd_sim_host_request_isochronous_transfer()
176data_td -> ux_sim_host_iso_td_length = UX_MIN(transfer_request_payload_length, isoch_packet_payloa… in _ux_hcd_sim_host_request_isochronous_transfer()
179 data_td -> ux_sim_host_iso_td_transfer_request = transfer_request; in _ux_hcd_sim_host_request_isochronous_transfer()
180 data_td -> ux_sim_host_iso_td_ed = ed; in _ux_hcd_sim_host_request_isochronous_transfer()
[all …]
Dux_hcd_sim_host_request_interupt_transfer.c80 UX_HCD_SIM_HOST_TD *data_td; in _ux_hcd_sim_host_request_interrupt_transfer() local
92 data_td = ed -> ux_sim_host_ed_tail_td; in _ux_hcd_sim_host_request_interrupt_transfer()
96 data_td -> ux_sim_host_td_direction = UX_HCD_SIM_HOST_TD_IN; in _ux_hcd_sim_host_request_interrupt_transfer()
98 data_td -> ux_sim_host_td_direction = UX_HCD_SIM_HOST_TD_OUT; in _ux_hcd_sim_host_request_interrupt_transfer()
101 data_td -> ux_sim_host_td_status |= UX_HCD_SIM_HOST_TD_DATA_PHASE; in _ux_hcd_sim_host_request_interrupt_transfer()
104 data_td -> ux_sim_host_td_toggle = UX_HCD_SIM_HOST_TD_TOGGLE_FROM_ED; in _ux_hcd_sim_host_request_interrupt_transfer()
107 data_td -> ux_sim_host_td_buffer = transfer_request -> ux_transfer_request_data_pointer; in _ux_hcd_sim_host_request_interrupt_transfer()
110 data_td -> ux_sim_host_td_length = transfer_request -> ux_transfer_request_requested_length; in _ux_hcd_sim_host_request_interrupt_transfer()
113 data_td -> ux_sim_host_td_transfer_request = transfer_request; in _ux_hcd_sim_host_request_interrupt_transfer()
114 data_td -> ux_sim_host_td_ed = ed; in _ux_hcd_sim_host_request_interrupt_transfer()
[all …]
Dux_hcd_sim_host_request_control_transfer.c93 UX_HCD_SIM_HOST_TD *data_td; in _ux_hcd_sim_host_request_control_transfer() local
144 data_td = UX_NULL; in _ux_hcd_sim_host_request_control_transfer()
159 data_td = _ux_hcd_sim_host_regular_td_obtain(hcd_sim_host); in _ux_hcd_sim_host_request_control_transfer()
160 if (data_td == UX_NULL) in _ux_hcd_sim_host_request_control_transfer()
170 data_td = start_data_td; in _ux_hcd_sim_host_request_control_transfer()
171 while (data_td) in _ux_hcd_sim_host_request_control_transfer()
174 next_data_td = data_td -> ux_sim_host_td_next_td; in _ux_hcd_sim_host_request_control_transfer()
175 data_td -> ux_sim_host_td_status = UX_UNUSED; in _ux_hcd_sim_host_request_control_transfer()
176 data_td = next_data_td; in _ux_hcd_sim_host_request_control_transfer()
192 data_td -> ux_sim_host_td_buffer = data_pointer; in _ux_hcd_sim_host_request_control_transfer()
[all …]
Dux_hcd_sim_host_transaction_schedule.c108 UX_HCD_SIM_HOST_TD *data_td; in _ux_hcd_sim_host_transaction_schedule() local
231 data_td = td -> ux_sim_host_td_next_td; in _ux_hcd_sim_host_transaction_schedule()
241 if (data_td -> ux_sim_host_td_status & UX_HCD_SIM_HOST_TD_DATA_PHASE) in _ux_hcd_sim_host_transaction_schedule()
245 td_length = UX_MIN(data_td -> ux_sim_host_td_length, transaction_length); in _ux_hcd_sim_host_transaction_schedule()
247 data_td -> ux_sim_host_td_buffer, in _ux_hcd_sim_host_transaction_schedule()
263 ed -> ux_sim_host_ed_head_td = data_td; in _ux_hcd_sim_host_transaction_schedule()
266 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.c85 UX_OHCI_TD *data_td; in _ux_hcd_ohci_request_bulk_transfer() local
106 data_td = _ux_utility_virtual_address(ed -> ux_ohci_ed_tail_td); in _ux_hcd_ohci_request_bulk_transfer()
107 previous_td = data_td; in _ux_hcd_ohci_request_bulk_transfer()
146 data_td -> ux_ohci_td_dw0 = UX_OHCI_TD_IN | UX_OHCI_TD_DEFAULT_DW0; in _ux_hcd_ohci_request_bulk_transfer()
149 data_td -> ux_ohci_td_dw0 = UX_OHCI_TD_OUT | UX_OHCI_TD_DEFAULT_DW0; in _ux_hcd_ohci_request_bulk_transfer()
152 data_td -> ux_ohci_td_cbp = _ux_utility_physical_address(data_pointer); in _ux_hcd_ohci_request_bulk_transfer()
155 data_td -> ux_ohci_td_be = data_td -> ux_ohci_td_cbp + bulk_packet_payload_length - 1; in _ux_hcd_ohci_request_bulk_transfer()
158 data_td -> ux_ohci_td_length = bulk_packet_payload_length; in _ux_hcd_ohci_request_bulk_transfer()
161 data_td -> ux_ohci_td_transfer_request = transfer_request; in _ux_hcd_ohci_request_bulk_transfer()
162 data_td -> ux_ohci_td_ed = ed; in _ux_hcd_ohci_request_bulk_transfer()
[all …]
Dux_hcd_ohci_request_isochronous_transfer.c81 UX_OHCI_ISO_TD *data_td; in _ux_hcd_ohci_request_isochronous_transfer() local
113 data_td = _ux_utility_virtual_address(ed -> ux_ohci_ed_tail_td); in _ux_hcd_ohci_request_isochronous_transfer()
114 previous_td = data_td; in _ux_hcd_ohci_request_isochronous_transfer()
139 data_td -> ux_ohci_iso_td_dw0 = UX_OHCI_TD_DEFAULT_DW0; in _ux_hcd_ohci_request_isochronous_transfer()
149 data_td -> ux_ohci_iso_td_dw0 |= (USHORT) current_frame_number; in _ux_hcd_ohci_request_isochronous_transfer()
152data_td -> ux_ohci_iso_td_bp0 = _ux_utility_physical_address((VOID *)((ULONG) data_pointer & UX_O… in _ux_hcd_ohci_request_isochronous_transfer()
153data_td -> ux_ohci_iso_td_offset_psw[0] = (USHORT)((ULONG) _ux_utility_physical_address(data_poin… in _ux_hcd_ohci_request_isochronous_transfer()
156 data_td -> ux_ohci_iso_td_offset_psw[0] |= (USHORT) UX_OHCI_ISO_TD_PSW_CC; in _ux_hcd_ohci_request_isochronous_transfer()
159data_td -> ux_ohci_iso_td_be = ((UCHAR *) _ux_utility_physical_address(data_pointer)) + isoch_pac… in _ux_hcd_ohci_request_isochronous_transfer()
162 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.c83 UX_OHCI_TD *data_td; in _ux_hcd_ohci_request_interrupt_transfer() local
95 data_td = _ux_utility_virtual_address(ed -> ux_ohci_ed_tail_td); in _ux_hcd_ohci_request_interrupt_transfer()
102 data_td -> ux_ohci_td_dw0 = UX_OHCI_TD_IN | UX_OHCI_TD_DEFAULT_DW0; in _ux_hcd_ohci_request_interrupt_transfer()
105 data_td -> ux_ohci_td_dw0 = UX_OHCI_TD_OUT | UX_OHCI_TD_DEFAULT_DW0; in _ux_hcd_ohci_request_interrupt_transfer()
108data_td -> ux_ohci_td_cbp = _ux_utility_physical_address(transfer_request -> ux_transfer_request_… in _ux_hcd_ohci_request_interrupt_transfer()
111data_td -> ux_ohci_td_be = data_td -> ux_ohci_td_cbp + transfer_request -> ux_transfer_request_re… in _ux_hcd_ohci_request_interrupt_transfer()
114 data_td -> ux_ohci_td_length = transfer_request -> ux_transfer_request_requested_length; in _ux_hcd_ohci_request_interrupt_transfer()
117 data_td -> ux_ohci_td_transfer_request = transfer_request; in _ux_hcd_ohci_request_interrupt_transfer()
118 data_td -> ux_ohci_td_ed = ed; in _ux_hcd_ohci_request_interrupt_transfer()
127 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.c105 UX_OHCI_TD *data_td; in _ux_hcd_ohci_request_control_transfer() local
155 data_td = UX_NULL; in _ux_hcd_ohci_request_control_transfer()
159 data_td = _ux_hcd_ohci_regular_td_obtain(hcd_ohci); in _ux_hcd_ohci_request_control_transfer()
160 if (data_td == UX_NULL) in _ux_hcd_ohci_request_control_transfer()
168 data_td -> ux_ohci_td_transfer_request = transfer_request; in _ux_hcd_ohci_request_control_transfer()
169 data_td -> ux_ohci_td_ed = ed; in _ux_hcd_ohci_request_control_transfer()
172 data_td -> ux_ohci_td_status |= UX_OHCI_TD_DATA_PHASE; in _ux_hcd_ohci_request_control_transfer()
177data_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()
180data_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()
183data_td -> ux_ohci_td_cbp = _ux_utility_physical_address(transfer_request -> ux_transfer_request_… in _ux_hcd_ohci_request_control_transfer()
[all …]