Home
last modified time | relevance | path

Searched refs:actual_length (Results 1 – 25 of 54) sorted by relevance

123

/USBX-v6.2.1/samples/
Ddemo_usbx.c132 ULONG requested_length, ULONG *actual_length);
134 ULONG requested_length, ULONG *actual_length);
253 ULONG actual_length; in tx_demo_thread_host_simulation_entry() local
305 …x_host_class_dpump_write (dpump, host_out_buffer, UX_HOST_CLASS_DPUMP_PACKET_SIZE, &actual_length); in tx_demo_thread_host_simulation_entry()
312 if ((status != UX_SUCCESS) || actual_length != UX_HOST_CLASS_DPUMP_PACKET_SIZE) in tx_demo_thread_host_simulation_entry()
316 …_ux_host_class_dpump_read (dpump, host_in_buffer, UX_HOST_CLASS_DPUMP_PACKET_SIZE, &actual_length); in tx_demo_thread_host_simulation_entry()
319 if ((status != UX_SUCCESS) || actual_length != UX_HOST_CLASS_DPUMP_PACKET_SIZE) in tx_demo_thread_host_simulation_entry()
332 ULONG actual_length; in tx_demo_thread_device_simulation_entry() local
348 …ce_class_dpump_read(dpump_device, device_buffer, UX_HOST_CLASS_DPUMP_PACKET_SIZE, &actual_length); in tx_demo_thread_device_simulation_entry()
351 if ((status != UX_SUCCESS) || actual_length != UX_HOST_CLASS_DPUMP_PACKET_SIZE) in tx_demo_thread_device_simulation_entry()
[all …]
/USBX-v6.2.1/common/usbx_device_classes/src/
Dux_device_class_printer_read.c81 ULONG requested_length, ULONG *actual_length) in _ux_device_class_printer_read() argument
120 *actual_length = 0; in _ux_device_class_printer_read()
154 *actual_length += transfer_request -> ux_slave_transfer_request_actual_length; in _ux_device_class_printer_read()
249 ULONG requested_length, ULONG *actual_length) in _uxe_device_class_printer_read() argument
253 if ((printer == UX_NULL) || (buffer == UX_NULL) || (actual_length == UX_NULL)) in _uxe_device_class_printer_read()
258 return (_ux_device_class_printer_read(printer, buffer, requested_length, actual_length)); in _uxe_device_class_printer_read()
Dux_device_class_audio_read_thread_entry.c100 ULONG actual_length; in _ux_device_class_audio_read_thread_entry() local
144 actual_length = transfer -> ux_slave_transfer_request_actual_length; in _ux_device_class_audio_read_thread_entry()
147 …-> ux_device_class_audio_stream_transfer_pos -> ux_device_class_audio_frame_length = actual_length; in _ux_device_class_audio_read_thread_entry()
151 actual_length); /* Use case of memcpy is verified. */ in _ux_device_class_audio_read_thread_entry()
175 …device_class_audio_stream_callbacks.ux_device_class_audio_stream_frame_done(stream, actual_length); in _ux_device_class_audio_read_thread_entry()
Dux_device_class_video_read_thread_entry.c88 ULONG actual_length; in _ux_device_class_video_read_thread_entry() local
131 actual_length = transfer -> ux_slave_transfer_request_actual_length; in _ux_device_class_video_read_thread_entry()
134 … ux_device_class_video_stream_transfer_pos -> ux_device_class_video_payload_length = actual_length; in _ux_device_class_video_read_thread_entry()
137 actual_length); /* Use case of memcpy is verified. */ in _ux_device_class_video_read_thread_entry()
161 …vice_class_video_stream_callbacks.ux_device_class_video_stream_payload_done(stream, actual_length); in _ux_device_class_video_read_thread_entry()
Dux_device_class_printer_write.c85 ULONG requested_length, ULONG *actual_length) in _ux_device_class_printer_write() argument
129 *actual_length = 0; in _ux_device_class_printer_write()
191 *actual_length += transfer_request -> ux_slave_transfer_request_actual_length; in _ux_device_class_printer_write()
273 ULONG requested_length, ULONG *actual_length) in _uxe_device_class_printer_write() argument
277 if ((printer == UX_NULL) || (buffer == UX_NULL) || (actual_length == UX_NULL)) in _uxe_device_class_printer_write()
282 return (_ux_device_class_printer_write(printer, buffer, requested_length, actual_length)); in _uxe_device_class_printer_write()
Dux_device_class_video_read_task_function.c84 ULONG actual_length; in _ux_device_class_video_read_task_function() local
152 actual_length = transfer -> ux_slave_transfer_request_actual_length; in _ux_device_class_video_read_task_function()
155 … ux_device_class_video_stream_transfer_pos -> ux_device_class_video_payload_length = actual_length; in _ux_device_class_video_read_task_function()
158 actual_length); /* Use case of memcpy is verified. */ in _ux_device_class_video_read_task_function()
182 …vice_class_video_stream_callbacks.ux_device_class_video_stream_payload_done(stream, actual_length); in _ux_device_class_video_read_task_function()
Dux_device_class_audio_read_task_function.c84 ULONG actual_length; in _ux_device_class_audio_read_task_function() local
151 actual_length = transfer -> ux_slave_transfer_request_actual_length; in _ux_device_class_audio_read_task_function()
154 …-> ux_device_class_audio_stream_transfer_pos -> ux_device_class_audio_frame_length = actual_length; in _ux_device_class_audio_read_task_function()
158 actual_length); /* Use case of memcpy is verified. */ in _ux_device_class_audio_read_task_function()
182 …device_class_audio_stream_callbacks.ux_device_class_audio_stream_frame_done(stream, actual_length); in _ux_device_class_audio_read_task_function()
Dux_device_class_hid_read.c86 ULONG requested_length, ULONG *actual_length) in _ux_device_class_hid_read() argument
92 UX_PARAMETER_NOT_USED(actual_length); in _ux_device_class_hid_read()
133 *actual_length = 0; in _ux_device_class_hid_read()
165 *actual_length += transfer_request -> ux_slave_transfer_request_actual_length; in _ux_device_class_hid_read()
/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_cdc_acm_read.c83 ULONG requested_length, ULONG *actual_length) in _ux_host_class_cdc_acm_read() argument
124 *actual_length = 0; in _ux_host_class_cdc_acm_read()
172 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_cdc_acm_read()
195 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_cdc_acm_read()
206 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_cdc_acm_read()
Dux_host_class_asix_read.c84 ULONG requested_length, ULONG *actual_length) in _ux_host_class_asix_read() argument
108 *actual_length = 0; in _ux_host_class_asix_read()
147 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_asix_read()
161 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_asix_read()
Dux_host_class_prolific_read.c85 ULONG requested_length, ULONG *actual_length) in _ux_host_class_prolific_read() argument
109 *actual_length = 0; in _ux_host_class_prolific_read()
148 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_prolific_read()
171 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_prolific_read()
Dux_host_class_prolific_write.c84 ULONG requested_length, ULONG *actual_length) in _ux_host_class_prolific_write() argument
108 *actual_length = 0; in _ux_host_class_prolific_write()
147 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_prolific_write()
170 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_prolific_write()
Dux_host_class_cdc_acm_write.c86 ULONG requested_length, ULONG *actual_length) in _ux_host_class_cdc_acm_write() argument
133 *actual_length = 0; in _ux_host_class_cdc_acm_write()
181 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_cdc_acm_write()
204 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_cdc_acm_write()
218 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_cdc_acm_write()
Dux_host_class_swar_read.c89 ULONG requested_length, ULONG *actual_length) in _ux_host_class_swar_read() argument
118 *actual_length = 0; in _ux_host_class_swar_read()
157 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_swar_read()
186 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_swar_read()
Dux_host_class_swar_write.c88 ULONG requested_length, ULONG *actual_length) in _ux_host_class_swar_write() argument
117 *actual_length = 0; in _ux_host_class_swar_write()
156 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_swar_write()
185 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_swar_write()
Dux_host_class_gser_write.c90 ULONG *actual_length) in _ux_host_class_gser_write() argument
115 *actual_length = 0; in _ux_host_class_gser_write()
157 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_gser_write()
183 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_gser_write()
Dux_host_class_gser_read.c91 ULONG *actual_length) in _ux_host_class_gser_read() argument
120 *actual_length = 0; in _ux_host_class_gser_read()
162 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_gser_read()
191 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_gser_read()
Dux_host_class_printer_write.c88 ULONG requested_length, ULONG *actual_length) in _ux_host_class_printer_write() argument
135 *actual_length = 0; in _ux_host_class_printer_write() local
182 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_printer_write()
217 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_printer_write()
/USBX-v6.2.1/common/core/inc/
Dux_device_class_dpump.h121 ULONG requested_length, ULONG *actual_length);
123 ULONG requested_length, ULONG *actual_length);
125 ULONG requested_length, ULONG *actual_length);
127 ULONG requested_length, ULONG *actual_length);
/USBX-v6.2.1/common/usbx_pictbridge/src/
Dux_pictbridge_dpsclient_object_data_get.c87 ULONG actual_length; in _ux_pictbridge_dpsclient_object_data_get() local
140 … object_length_requested, &actual_length); in _ux_pictbridge_dpsclient_object_data_get()
143 *object_actual_length = actual_length; in _ux_pictbridge_dpsclient_object_data_get()
/USBX-v6.2.1/common/usbx_device_classes/inc/
Dux_device_class_printer.h173 ULONG requested_length, ULONG *actual_length);
175 ULONG requested_length, ULONG *actual_length);
181 ULONG requested_length, ULONG *actual_length);
183 ULONG requested_length, ULONG *actual_length);
188 ULONG requested_length, ULONG *actual_length);
190 ULONG requested_length, ULONG *actual_length);
/USBX-v6.2.1/common/core/src/
Dux_host_class_dpump_read.c85 ULONG requested_length, ULONG *actual_length) in _ux_host_class_dpump_read() argument
128 *actual_length = 0; in _ux_host_class_dpump_read() local
183 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_dpump_read()
213 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_dpump_read()
Dux_host_class_dpump_write.c88 ULONG requested_length, ULONG *actual_length) in _ux_host_class_dpump_write() argument
131 *actual_length = 0; in _ux_host_class_dpump_write() local
185 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_dpump_write()
215 *actual_length += transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_dpump_write()
Dux_device_class_dpump_read.c76 ULONG requested_length, ULONG *actual_length) in _ux_device_class_dpump_read() argument
121 *actual_length = 0; in _ux_device_class_dpump_read()
156 *actual_length += transfer_request -> ux_slave_transfer_request_actual_length; in _ux_device_class_dpump_read()
Dux_device_class_dpump_write.c76 ULONG requested_length, ULONG *actual_length) in _ux_device_class_dpump_write() argument
122 *actual_length = 0; in _ux_device_class_dpump_write()
158 *actual_length += transfer_request -> ux_slave_transfer_request_actual_length; in _ux_device_class_dpump_write()

123