Home
last modified time | relevance | path

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

/USBX-v6.2.1/common/usbx_device_classes/src/
Dux_device_class_cdc_acm_bulkin_thread.c109 ULONG total_length; in _ux_device_class_cdc_acm_bulkin_thread() local
153 total_length = cdc_acm -> ux_slave_class_cdc_acm_callback_total_length; in _ux_device_class_cdc_acm_bulkin_thread()
162 if (total_length == 0) in _ux_device_class_cdc_acm_bulkin_thread()
172 while (total_length) in _ux_device_class_cdc_acm_bulkin_thread()
176 if (total_length > UX_SLAVE_REQUEST_DATA_MAX_LENGTH) in _ux_device_class_cdc_acm_bulkin_thread()
185 transfer_length = total_length; in _ux_device_class_cdc_acm_bulkin_thread()
190 host_length = total_length; in _ux_device_class_cdc_acm_bulkin_thread()
211 total_length = 0; in _ux_device_class_cdc_acm_bulkin_thread()
220 total_length -= transfer_length; in _ux_device_class_cdc_acm_bulkin_thread()
Dux_device_class_pima_partial_object_data_get.c93 ULONG total_length; in _ux_device_class_pima_partial_object_data_get() local
117 total_length = length_requested + UX_DEVICE_CLASS_PIMA_DATA_HEADER_SIZE; in _ux_device_class_pima_partial_object_data_get()
127total_length = (object_length - offset_requested) + UX_DEVICE_CLASS_PIMA_DATA_HEADER_SIZE; in _ux_device_class_pima_partial_object_data_get()
145 total_length); in _ux_device_class_pima_partial_object_data_get()
160 while (total_length != 0) in _ux_device_class_pima_partial_object_data_get()
207 if (object_length_demanded > total_length) in _ux_device_class_pima_partial_object_data_get()
210 object_length_demanded = total_length; in _ux_device_class_pima_partial_object_data_get()
275 if (total_length < object_length_received) in _ux_device_class_pima_partial_object_data_get()
287 total_length -= object_length_transfer; in _ux_device_class_pima_partial_object_data_get()
Dux_device_class_storage_write.c101 ULONG total_length; in _ux_device_class_storage_write() local
177total_length = total_number_blocks * storage -> ux_slave_class_storage_lun[lun].ux_slave_class_st… in _ux_device_class_storage_write()
191 storage -> ux_device_class_storage_device_length = total_length; in _ux_device_class_storage_write()
192 storage -> ux_device_class_storage_data_length = total_length; in _ux_device_class_storage_write()
203 if (total_length > storage -> ux_slave_class_storage_host_length) in _ux_device_class_storage_write()
223 while (total_length) in _ux_device_class_storage_write()
227 if (total_length > UX_SLAVE_CLASS_STORAGE_BUFFER_SIZE) in _ux_device_class_storage_write()
230 transfer_length = total_length; in _ux_device_class_storage_write()
282 total_length -= transfer_length; in _ux_device_class_storage_write()
Dux_device_class_storage_read.c99 ULONG total_length; in _ux_device_class_storage_read() local
129total_length = total_number_blocks * storage -> ux_slave_class_storage_lun[lun].ux_slave_class_st… in _ux_device_class_storage_read()
166 storage -> ux_device_class_storage_device_length = total_length; in _ux_device_class_storage_read()
168 UX_MIN(total_length , storage -> ux_slave_class_storage_host_length); in _ux_device_class_storage_read()
179 if (total_length > storage -> ux_slave_class_storage_host_length) in _ux_device_class_storage_read()
222 if (total_length > UX_SLAVE_CLASS_STORAGE_BUFFER_SIZE) in _ux_device_class_storage_read()
230 transfer_length = total_length; in _ux_device_class_storage_read()
288 total_length -= transfer_length; in _ux_device_class_storage_read()
Dux_device_class_pima_object_data_send.c88 ULONG total_length; in _ux_device_class_pima_object_data_send() local
110 total_length = object_length + UX_DEVICE_CLASS_PIMA_DATA_HEADER_SIZE; in _ux_device_class_pima_object_data_send()
122 while (total_length != 0) in _ux_device_class_pima_object_data_send()
193 total_length -= transfer_length; in _ux_device_class_pima_object_data_send()
232 total_length -= transfer_length; in _ux_device_class_pima_object_data_send()
Dux_device_class_pima_object_data_get.c89 ULONG total_length; in _ux_device_class_pima_object_data_get() local
110 total_length = object_length + UX_DEVICE_CLASS_PIMA_DATA_HEADER_SIZE; in _ux_device_class_pima_object_data_get()
123 total_length); in _ux_device_class_pima_object_data_get()
277 total_length -= object_length_received; in _ux_device_class_pima_object_data_get()
/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_pima_object_get.c101 ULONG total_length; in _ux_host_class_pima_object_get() local
284total_length = _ux_utility_long_get(ptp_payload + UX_HOST_CLASS_PIMA_DATA_HEADER_LENGTH); in _ux_host_class_pima_object_get()
287 …if ((total_length % pima -> ux_host_class_pima_bulk_in_endpoint -> ux_endpoint_descriptor.wMaxPack… in _ux_host_class_pima_object_get()
297 total_length -= UX_HOST_CLASS_PIMA_DATA_HEADER_SIZE; in _ux_host_class_pima_object_get()
301 if (total_length > object_buffer_length) in _ux_host_class_pima_object_get()
Dux_host_class_hid_entry.c274 ULONG total_length; in _ux_host_class_hid_hid_descriptor_parse() local
288 total_length = transfer -> ux_transfer_request_actual_length; in _ux_host_class_hid_hid_descriptor_parse()
292 while(total_length) in _ux_host_class_hid_hid_descriptor_parse()
338 if (descriptor_length > total_length) in _ux_host_class_hid_hid_descriptor_parse()
343 total_length -= descriptor_length; in _ux_host_class_hid_hid_descriptor_parse()
/USBX-v6.2.1/common/usbx_pictbridge/inc/
Dux_pictbridge.h670 … UX_PICTBRIDGE_STRUCT *pictbridge, UCHAR *buffer, ULONG offset, ULONG total_length, ULONG length);