/USBX-v6.2.1/common/usbx_device_classes/src/ |
D | ux_device_class_audio20_control_process.c | 97 UX_SLAVE_TRANSFER *transfer, in _ux_device_class_audio20_control_process() argument 116 transfer = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_audio20_control_process() 119 …request = *(transfer -> ux_slave_transfer_request_setup + UX_DEVICE_CLASS_AUDIO_REQUEST_R… in _ux_device_class_audio20_control_process() 120 …request_type = *(transfer -> ux_slave_transfer_request_setup + UX_DEVICE_CLASS_AUDIO_REQUEST_R… in _ux_device_class_audio20_control_process() 121 …unit_id = *(transfer -> ux_slave_transfer_request_setup + UX_DEVICE_CLASS_AUDIO_REQUEST_E… in _ux_device_class_audio20_control_process() 122 …control_selector = *(transfer -> ux_slave_transfer_request_setup + UX_DEVICE_CLASS_AUDIO_REQUEST_C… in _ux_device_class_audio20_control_process() 123 …channel_number = *(transfer -> ux_slave_transfer_request_setup + UX_DEVICE_CLASS_AUDIO_REQUEST_C… in _ux_device_class_audio20_control_process() 124 …request_length = _ux_utility_short_get(transfer -> ux_slave_transfer_request_setup + UX_SETUP_LE… in _ux_device_class_audio20_control_process() 172 freq = _ux_utility_long_get(transfer -> ux_slave_transfer_request_data_pointer); in _ux_device_class_audio20_control_process() 213 …_ux_utility_long_put(transfer -> ux_slave_transfer_request_data_pointer, control -> ux_device_clas… in _ux_device_class_audio20_control_process() [all …]
|
D | ux_device_class_audio10_control_process.c | 93 UX_SLAVE_TRANSFER *transfer, UX_DEVICE_CLASS_AUDIO10_CONTROL_GROUP *group) in _ux_device_class_audio10_control_process() argument 111 transfer = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_audio10_control_process() 114 …request = *(transfer -> ux_slave_transfer_request_setup + UX_DEVICE_CLASS_AUDIO_REQUEST_R… in _ux_device_class_audio10_control_process() 115 …request_type = *(transfer -> ux_slave_transfer_request_setup + UX_DEVICE_CLASS_AUDIO_REQUEST_R… in _ux_device_class_audio10_control_process() 116 …unit_id = *(transfer -> ux_slave_transfer_request_setup + UX_DEVICE_CLASS_AUDIO_REQUEST_E… in _ux_device_class_audio10_control_process() 117 …ep_addr = *(transfer -> ux_slave_transfer_request_setup + UX_DEVICE_CLASS_AUDIO_REQUEST_E… in _ux_device_class_audio10_control_process() 118 …control_selector = *(transfer -> ux_slave_transfer_request_setup + UX_DEVICE_CLASS_AUDIO_REQUEST_C… in _ux_device_class_audio10_control_process() 119 …channel_number = *(transfer -> ux_slave_transfer_request_setup + UX_DEVICE_CLASS_AUDIO_REQUEST_C… in _ux_device_class_audio10_control_process() 120 …request_length = _ux_utility_short_get(transfer -> ux_slave_transfer_request_setup + UX_SETUP_LE… in _ux_device_class_audio10_control_process() 178 sam = ((ULONG)transfer -> ux_slave_transfer_request_data_pointer[0] ) | in _ux_device_class_audio10_control_process() [all …]
|
D | ux_device_class_ccid_response.c | 76 UX_SLAVE_TRANSFER *transfer; in _ux_device_class_ccid_response() local 83 transfer = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_ccid_response() 90 transfer -> ux_slave_transfer_request_data_pointer != buffer) in _ux_device_class_ccid_response() 92 _ux_utility_memory_copy(transfer -> ux_slave_transfer_request_data_pointer, in _ux_device_class_ccid_response() 99 UX_SLAVE_TRANSFER_STATE_RESET(transfer); in _ux_device_class_ccid_response() 100 transfer -> ux_slave_transfer_request_requested_length = length; in _ux_device_class_ccid_response() 107 status = _ux_device_stack_transfer_request(transfer, length, length); in _ux_device_class_ccid_response()
|
D | ux_device_class_video_read_task_function.c | 80 UX_SLAVE_TRANSFER *transfer; in _ux_device_class_video_read_task_function() local 110 transfer = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_video_read_task_function() 120 UX_SLAVE_TRANSFER_STATE_RESET(transfer); in _ux_device_class_video_read_task_function() 126 status = _ux_device_stack_transfer_run(transfer, max_packet_size, max_packet_size); in _ux_device_class_video_read_task_function() 135 transfer -> ux_slave_transfer_request_completion_code; in _ux_device_class_video_read_task_function() 149 transfer -> ux_slave_transfer_request_completion_code; in _ux_device_class_video_read_task_function() 152 actual_length = transfer -> ux_slave_transfer_request_actual_length; in _ux_device_class_video_read_task_function() 157 transfer -> ux_slave_transfer_request_data_pointer, in _ux_device_class_video_read_task_function()
|
D | ux_device_class_audio_read_task_function.c | 80 UX_SLAVE_TRANSFER *transfer; in _ux_device_class_audio_read_task_function() local 110 transfer = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_audio_read_task_function() 120 UX_SLAVE_TRANSFER_STATE_RESET(transfer); in _ux_device_class_audio_read_task_function() 125 status = _ux_device_stack_transfer_run(transfer, max_packet_size, max_packet_size); in _ux_device_class_audio_read_task_function() 134 transfer -> ux_slave_transfer_request_completion_code; in _ux_device_class_audio_read_task_function() 148 transfer -> ux_slave_transfer_request_completion_code; in _ux_device_class_audio_read_task_function() 151 actual_length = transfer -> ux_slave_transfer_request_actual_length; in _ux_device_class_audio_read_task_function() 157 transfer -> ux_slave_transfer_request_data_pointer, in _ux_device_class_audio_read_task_function()
|
D | ux_device_class_audio_feedback_task_function.c | 83 UX_SLAVE_TRANSFER *transfer; in _ux_device_class_audio_feedback_task_function() local 116 transfer = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_audio_feedback_task_function() 119 transfer_length = transfer -> ux_slave_transfer_request_requested_length; in _ux_device_class_audio_feedback_task_function() 131 status = _ux_device_stack_transfer_run(transfer, transfer_length, transfer_length); in _ux_device_class_audio_feedback_task_function() 141 …stream -> ux_device_class_audio_stream_feedback_task_status = transfer -> ux_slave_transfer_reques… in _ux_device_class_audio_feedback_task_function() 149 …stream -> ux_device_class_audio_stream_feedback_task_status = transfer -> ux_slave_transfer_reques… in _ux_device_class_audio_feedback_task_function()
|
D | ux_device_class_printer_ioctl.c | 80 UX_SLAVE_TRANSFER *transfer; in _ux_device_class_printer_ioctl() local 99 transfer = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_printer_ioctl() 100 transfer -> ux_slave_transfer_request_timeout = (ULONG)(ALIGN_TYPE)parameter; in _ux_device_class_printer_ioctl() 109 transfer = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_printer_ioctl() 110 transfer -> ux_slave_transfer_request_timeout = (ULONG)(ALIGN_TYPE)parameter; in _ux_device_class_printer_ioctl()
|
D | ux_device_class_audio_write_task_function.c | 81 UX_SLAVE_TRANSFER *transfer; in _ux_device_class_audio_write_task_function() local 111 transfer = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_audio_write_task_function() 123 _ux_utility_memory_copy(transfer -> ux_slave_transfer_request_data_pointer, in _ux_device_class_audio_write_task_function() 127 UX_SLAVE_TRANSFER_STATE_RESET(transfer); in _ux_device_class_audio_write_task_function() 134 status = _ux_device_stack_transfer_run(transfer, transfer_length, transfer_length); in _ux_device_class_audio_write_task_function() 143 transfer -> ux_slave_transfer_request_completion_code; in _ux_device_class_audio_write_task_function() 157 transfer -> ux_slave_transfer_request_completion_code; in _ux_device_class_audio_write_task_function() 163 actual_length = transfer -> ux_slave_transfer_request_actual_length; in _ux_device_class_audio_write_task_function()
|
D | ux_device_class_video_write_task_function.c | 81 UX_SLAVE_TRANSFER *transfer; in _ux_device_class_video_write_task_function() local 111 transfer = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_video_write_task_function() 123 _ux_utility_memory_copy(transfer -> ux_slave_transfer_request_data_pointer, in _ux_device_class_video_write_task_function() 127 UX_SLAVE_TRANSFER_STATE_RESET(transfer); in _ux_device_class_video_write_task_function() 134 status = _ux_device_stack_transfer_run(transfer, transfer_length, transfer_length); in _ux_device_class_video_write_task_function() 143 transfer -> ux_slave_transfer_request_completion_code; in _ux_device_class_video_write_task_function() 157 transfer -> ux_slave_transfer_request_completion_code; in _ux_device_class_video_write_task_function() 163 actual_length = transfer -> ux_slave_transfer_request_actual_length; in _ux_device_class_video_write_task_function()
|
D | ux_device_class_audio_feedback_thread_entry.c | 88 UX_SLAVE_TRANSFER *transfer; in _ux_device_class_audio_feedback_thread_entry() 112 transfer = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_audio_feedback_thread_entry() 115 transfer_length = transfer -> ux_slave_transfer_request_requested_length; in _ux_device_class_audio_feedback_thread_entry() 118 status = _ux_device_stack_transfer_request(transfer, transfer_length, transfer_length); in _ux_device_class_audio_feedback_thread_entry()
|
D | ux_device_class_hid_receiver_tasks_run.c | 80 UX_SLAVE_TRANSFER *transfer; in _ux_device_class_hid_receiver_tasks_run() local 104 transfer = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_hid_receiver_tasks_run() 131 status = _ux_device_stack_transfer_run(transfer, in _ux_device_class_hid_receiver_tasks_run() 141 transfer -> ux_slave_transfer_request_completion_code; in _ux_device_class_hid_receiver_tasks_run() 150 if (transfer -> ux_slave_transfer_request_actual_length == 0) in _ux_device_class_hid_receiver_tasks_run() 161 temp = transfer -> ux_slave_transfer_request_actual_length; in _ux_device_class_hid_receiver_tasks_run() 163 transfer -> ux_slave_transfer_request_data_pointer, in _ux_device_class_hid_receiver_tasks_run()
|
D | ux_device_class_hid_receiver_thread.c | 86 UX_SLAVE_TRANSFER *transfer; in _ux_device_class_hid_receiver_thread() local 133 transfer = &hid -> ux_device_class_hid_read_endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_hid_receiver_thread() 139 status = _ux_device_stack_transfer_request(transfer, in _ux_device_class_hid_receiver_thread() 145 (transfer -> ux_slave_transfer_request_actual_length == 0)) in _ux_device_class_hid_receiver_thread() 153 temp = transfer -> ux_slave_transfer_request_actual_length; in _ux_device_class_hid_receiver_thread() 155 transfer -> ux_slave_transfer_request_data_pointer, in _ux_device_class_hid_receiver_thread()
|
D | ux_device_class_ccid_notify_task_run.c | 82 UX_SLAVE_TRANSFER *transfer; in _ux_device_class_ccid_notify_task_run() local 101 transfer = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_ccid_notify_task_run() 137 buffer = transfer -> ux_slave_transfer_request_data_pointer; in _ux_device_class_ccid_notify_task_run() 197 UX_SLAVE_TRANSFER_STATE_RESET(transfer); in _ux_device_class_ccid_notify_task_run() 198 transfer -> ux_slave_transfer_request_requested_length = length; in _ux_device_class_ccid_notify_task_run() 203 length = transfer -> ux_slave_transfer_request_requested_length; in _ux_device_class_ccid_notify_task_run() 204 status = _ux_device_stack_transfer_run(transfer, length, length); in _ux_device_class_ccid_notify_task_run()
|
D | ux_device_class_audio_interrupt_task_function.c | 82 UX_SLAVE_TRANSFER *transfer; in _ux_device_class_audio_interrupt_task_function() local 123 transfer = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_audio_interrupt_task_function() 134 …if (audio -> ux_device_class_audio_status_size > transfer -> ux_slave_transfer_request_transfer_le… in _ux_device_class_audio_interrupt_task_function() 145 _ux_utility_memory_copy(transfer -> ux_slave_transfer_request_data_pointer, in _ux_device_class_audio_interrupt_task_function() 154 … status = _ux_device_stack_transfer_run(transfer, audio -> ux_device_class_audio_status_size, in _ux_device_class_audio_interrupt_task_function() 166 transfer -> ux_slave_transfer_request_completion_code; in _ux_device_class_audio_interrupt_task_function() 183 transfer -> ux_slave_transfer_request_completion_code; in _ux_device_class_audio_interrupt_task_function()
|
D | ux_device_class_audio_interrupt_thread_entry.c | 82 UX_SLAVE_TRANSFER *transfer; in _ux_device_class_audio_interrupt_thread_entry() local 107 transfer = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_audio_interrupt_thread_entry() 121 UX_ASSERT(size <= transfer -> ux_slave_transfer_request_transfer_length); in _ux_device_class_audio_interrupt_thread_entry() 125 _ux_utility_memory_copy(transfer -> ux_slave_transfer_request_data_pointer, in _ux_device_class_audio_interrupt_thread_entry() 129 status = _ux_device_stack_transfer_request(transfer, size, size); in _ux_device_class_audio_interrupt_thread_entry()
|
D | ux_device_class_audio_read_thread_entry.c | 96 UX_SLAVE_TRANSFER *transfer; in _ux_device_class_audio_read_thread_entry() local 128 transfer = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_audio_read_thread_entry() 131 status = _ux_device_stack_transfer_request(transfer, max_packet_size, max_packet_size); in _ux_device_class_audio_read_thread_entry() 144 actual_length = transfer -> ux_slave_transfer_request_actual_length; in _ux_device_class_audio_read_thread_entry() 150 transfer -> ux_slave_transfer_request_data_pointer, in _ux_device_class_audio_read_thread_entry()
|
D | ux_device_class_video_read_thread_entry.c | 84 UX_SLAVE_TRANSFER *transfer; in _ux_device_class_video_read_thread_entry() local 116 transfer = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_video_read_thread_entry() 119 status = _ux_device_stack_transfer_request(transfer, max_packet_size, max_packet_size); in _ux_device_class_video_read_thread_entry() 131 actual_length = transfer -> ux_slave_transfer_request_actual_length; in _ux_device_class_video_read_thread_entry() 136 transfer -> ux_slave_transfer_request_data_pointer, in _ux_device_class_video_read_thread_entry()
|
D | ux_device_class_audio_write_thread_entry.c | 90 UX_SLAVE_TRANSFER *transfer; in _ux_device_class_audio_write_thread_entry() local 117 transfer = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_audio_write_thread_entry() 122 _ux_utility_memory_copy(transfer -> ux_slave_transfer_request_data_pointer, in _ux_device_class_audio_write_thread_entry() 126 status = _ux_device_stack_transfer_request(transfer, transfer_length, transfer_length); in _ux_device_class_audio_write_thread_entry() 141 actual_length = transfer -> ux_slave_transfer_request_actual_length; in _ux_device_class_audio_write_thread_entry()
|
/USBX-v6.2.1/common/usbx_host_classes/src/ |
D | ux_host_class_audio_streaming_sampling_set.c | 116 UX_TRANSFER *transfer; in _ux_host_class_audio_streaming_sampling_set() local 218 transfer = &device -> ux_device_control_endpoint.ux_endpoint_transfer_request; in _ux_host_class_audio_streaming_sampling_set() 243 transfer -> ux_transfer_request_data_pointer = control_buffer; in _ux_host_class_audio_streaming_sampling_set() 244 transfer -> ux_transfer_request_requested_length = 4; in _ux_host_class_audio_streaming_sampling_set() 245 transfer -> ux_transfer_request_function = UX_CLASS_AUDIO20_CUR; in _ux_host_class_audio_streaming_sampling_set() 246 …transfer -> ux_transfer_request_type = UX_REQUEST_OUT | UX_REQUEST_TARGET_INTERFACE |… in _ux_host_class_audio_streaming_sampling_set() 247 … transfer -> ux_transfer_request_value = UX_CLASS_AUDIO20_CS_SAM_FREQ_CONTROL << 8; in _ux_host_class_audio_streaming_sampling_set() 248 …transfer -> ux_transfer_request_index = audio -> ux_host_class_audio_control_interface… in _ux_host_class_audio_streaming_sampling_set() 249 status = _ux_host_stack_transfer_request(transfer); in _ux_host_class_audio_streaming_sampling_set() 267 transfer -> ux_transfer_request_data_pointer = control_buffer; in _ux_host_class_audio_streaming_sampling_set() [all …]
|
D | ux_host_class_audio_endpoints_get.c | 84 UX_TRANSFER *transfer; in _ux_host_class_audio_endpoints_get() local 164 transfer = &endpoint -> ux_endpoint_transfer_request; in _ux_host_class_audio_endpoints_get() 167 packet_length = transfer -> ux_transfer_request_packet_length; in _ux_host_class_audio_endpoints_get() 170 transfer -> ux_transfer_request_data_pointer = _ux_utility_memory_allocate( in _ux_host_class_audio_endpoints_get() 173 if (transfer -> ux_transfer_request_data_pointer == UX_NULL) in _ux_host_class_audio_endpoints_get() 188 _ux_utility_memory_copy(transfer -> ux_transfer_request_data_pointer, in _ux_host_class_audio_endpoints_get() 194 …transfer -> ux_transfer_request_endpoint = audio -> ux_host_class_audio_feedback_… in _ux_host_class_audio_endpoints_get() 195 …transfer -> ux_transfer_request_requested_length = (endpoint -> ux_endpoint_descriptor.bE… in _ux_host_class_audio_endpoints_get() 196 … transfer -> ux_transfer_request_packet_length : in _ux_host_class_audio_endpoints_get() 199 …transfer -> ux_transfer_request_completion_function = _ux_host_class_audio_feedback_transfer… in _ux_host_class_audio_endpoints_get() [all …]
|
D | ux_host_class_audio_interrupt_start.c | 93 UX_TRANSFER *transfer; in _ux_host_class_audio_interrupt_start() 124 transfer = &endpoint -> ux_endpoint_transfer_request; in _ux_host_class_audio_interrupt_start() 127 transfer -> ux_transfer_request_class_instance = (VOID *)audio; in _ux_host_class_audio_interrupt_start() 130 … transfer -> ux_transfer_request_completion_function = _ux_host_class_audio_interrupt_notification; in _ux_host_class_audio_interrupt_start() 133 status = _ux_host_stack_transfer_request(transfer); in _ux_host_class_audio_interrupt_start()
|
/USBX-v6.2.1/common/usbx_host_controllers/src/ |
D | ux_hcd_ehci_hsisochronous_tds_process.c | 101 UX_TRANSFER *transfer; in _ux_hcd_ehci_hsisochronous_tds_process() local 233 transfer = ed -> ux_ehci_hsiso_ed_transfer_head; in _ux_hcd_ehci_hsisochronous_tds_process() 236 if (transfer == UX_NULL) in _ux_hcd_ehci_hsisochronous_tds_process() 241 transfer -> ux_transfer_request_completion_code = UX_TRANSFER_BUFFER_OVERFLOW; in _ux_hcd_ehci_hsisochronous_tds_process() 245 transfer -> ux_transfer_request_completion_code = UX_TRANSFER_ERROR; in _ux_hcd_ehci_hsisochronous_tds_process() 247 transfer -> ux_transfer_request_completion_code = UX_SUCCESS; in _ux_hcd_ehci_hsisochronous_tds_process() 255 transfer -> ux_transfer_request_actual_length = trans_bytes; in _ux_hcd_ehci_hsisochronous_tds_process() 259 transfer -> ux_transfer_request_next_transfer_request; in _ux_hcd_ehci_hsisochronous_tds_process() 266 if (transfer -> ux_transfer_request_completion_function) in _ux_hcd_ehci_hsisochronous_tds_process() 267 transfer -> ux_transfer_request_completion_function(transfer); in _ux_hcd_ehci_hsisochronous_tds_process() [all …]
|
D | ux_hcd_ehci_transfer_abort.c | 98 UX_TRANSFER *transfer; in _ux_hcd_ehci_transfer_abort() local 192 transfer = (*list_head) -> ux_transfer_request_next_transfer_request; in _ux_hcd_ehci_transfer_abort() 193 while(transfer) in _ux_hcd_ehci_transfer_abort() 200 if (transfer -> ux_transfer_request_next_transfer_request == transfer_request) in _ux_hcd_ehci_transfer_abort() 204 transfer -> ux_transfer_request_next_transfer_request = UX_NULL; in _ux_hcd_ehci_transfer_abort() 209 if (transfer == ied -> ux_ehci_hsiso_ed_transfer_first_new) in _ux_hcd_ehci_transfer_abort() 213 transfer = transfer -> ux_transfer_request_next_transfer_request; in _ux_hcd_ehci_transfer_abort()
|
/USBX-v6.2.1/common/core/src/ |
D | ux_host_stack_transfer_run.c | 38 static inline UINT _ux_host_stack_transfer_locate(UX_TRANSFER *transfer, UX_TRANSFER **previous); 39 static inline void _ux_host_stack_transfer_retire(UX_TRANSFER *transfer); 233 static inline UINT _ux_host_stack_transfer_locate(UX_TRANSFER *transfer, UX_TRANSFER **previous) in _ux_host_stack_transfer_locate() argument 242 if (_ux_system_host -> ux_system_host_pending_transfers == transfer) in _ux_host_stack_transfer_locate() 249 if (prev -> ux_transfer_request_next_pending == transfer) in _ux_host_stack_transfer_locate() 261 static inline void _ux_host_stack_transfer_retire(UX_TRANSFER *transfer) in _ux_host_stack_transfer_retire() argument 267 switch(_ux_host_stack_transfer_locate(transfer, &previous)) in _ux_host_stack_transfer_retire() 273 transfer -> ux_transfer_request_next_pending; in _ux_host_stack_transfer_retire() 279 transfer -> ux_transfer_request_next_pending; in _ux_host_stack_transfer_retire() 287 flags = transfer -> ux_transfer_request_flags; in _ux_host_stack_transfer_retire() [all …]
|
D | ux_dcd_sim_slave_endpoint_reset.c | 85 UX_SLAVE_TRANSFER *transfer; in _ux_dcd_sim_slave_endpoint_reset() local 119 transfer = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_dcd_sim_slave_endpoint_reset() 120 transfer -> ux_slave_transfer_request_completion_code = UX_TRANSFER_BUS_RESET; in _ux_dcd_sim_slave_endpoint_reset() 121 _ux_device_semaphore_put(&transfer -> ux_slave_transfer_request_semaphore); in _ux_dcd_sim_slave_endpoint_reset()
|