Home
last modified time | relevance | path

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

/USBX-v6.2.1/common/usbx_device_classes/src/
Dux_device_class_cdc_acm_bulkin_thread.c113 ULONG total_length; in _ux_device_class_cdc_acm_bulkin_thread() local
162 total_length = cdc_acm -> ux_slave_class_cdc_acm_callback_total_length; in _ux_device_class_cdc_acm_bulkin_thread()
169 host_length = total_length; in _ux_device_class_cdc_acm_bulkin_thread()
173 host_length = total_length + 1; in _ux_device_class_cdc_acm_bulkin_thread()
177 transfer_length = total_length; in _ux_device_class_cdc_acm_bulkin_thread()
196 if (total_length == 0) in _ux_device_class_cdc_acm_bulkin_thread()
206 while (total_length) in _ux_device_class_cdc_acm_bulkin_thread()
210 if (total_length > UX_DEVICE_CLASS_CDC_ACM_WRITE_BUFFER_SIZE) in _ux_device_class_cdc_acm_bulkin_thread()
219 transfer_length = total_length; in _ux_device_class_cdc_acm_bulkin_thread()
224 host_length = total_length; in _ux_device_class_cdc_acm_bulkin_thread()
[all …]
Dux_device_class_pima_partial_object_data_get.c92 ULONG total_length; in _ux_device_class_pima_partial_object_data_get() local
116 total_length = length_requested + UX_DEVICE_CLASS_PIMA_DATA_HEADER_SIZE; in _ux_device_class_pima_partial_object_data_get()
126total_length = (object_length - offset_requested) + UX_DEVICE_CLASS_PIMA_DATA_HEADER_SIZE; in _ux_device_class_pima_partial_object_data_get()
144 total_length); in _ux_device_class_pima_partial_object_data_get()
159 while (total_length != 0) in _ux_device_class_pima_partial_object_data_get()
206 if (object_length_demanded > total_length) in _ux_device_class_pima_partial_object_data_get()
209 object_length_demanded = total_length; in _ux_device_class_pima_partial_object_data_get()
274 if (total_length < object_length_received) in _ux_device_class_pima_partial_object_data_get()
286 total_length -= object_length_transfer; in _ux_device_class_pima_partial_object_data_get()
Dux_device_class_storage_write.c100 ULONG total_length; in _ux_device_class_storage_write() local
176total_length = total_number_blocks * storage -> ux_slave_class_storage_lun[lun].ux_slave_class_st… in _ux_device_class_storage_write()
190 storage -> ux_device_class_storage_device_length = total_length; in _ux_device_class_storage_write()
191 storage -> ux_device_class_storage_data_length = total_length; in _ux_device_class_storage_write()
202 if (total_length > storage -> ux_slave_class_storage_host_length) in _ux_device_class_storage_write()
222 while (total_length) in _ux_device_class_storage_write()
226 if (total_length > UX_SLAVE_CLASS_STORAGE_BUFFER_SIZE) in _ux_device_class_storage_write()
229 transfer_length = total_length; in _ux_device_class_storage_write()
281 total_length -= transfer_length; in _ux_device_class_storage_write()
Dux_device_class_storage_read.c98 ULONG total_length; in _ux_device_class_storage_read() local
128total_length = total_number_blocks * storage -> ux_slave_class_storage_lun[lun].ux_slave_class_st… in _ux_device_class_storage_read()
165 storage -> ux_device_class_storage_device_length = total_length; in _ux_device_class_storage_read()
167 UX_MIN(total_length , storage -> ux_slave_class_storage_host_length); in _ux_device_class_storage_read()
178 if (total_length > storage -> ux_slave_class_storage_host_length) in _ux_device_class_storage_read()
221 if (total_length > UX_SLAVE_CLASS_STORAGE_BUFFER_SIZE) in _ux_device_class_storage_read()
229 transfer_length = total_length; in _ux_device_class_storage_read()
287 total_length -= transfer_length; in _ux_device_class_storage_read()
Dux_device_class_pima_object_data_send.c87 ULONG total_length; in _ux_device_class_pima_object_data_send() local
109 total_length = object_length + UX_DEVICE_CLASS_PIMA_DATA_HEADER_SIZE; in _ux_device_class_pima_object_data_send()
121 while (total_length != 0) in _ux_device_class_pima_object_data_send()
192 total_length -= transfer_length; in _ux_device_class_pima_object_data_send()
231 total_length -= transfer_length; in _ux_device_class_pima_object_data_send()
Dux_device_class_pima_object_data_get.c88 ULONG total_length; in _ux_device_class_pima_object_data_get() local
109 total_length = object_length + UX_DEVICE_CLASS_PIMA_DATA_HEADER_SIZE; in _ux_device_class_pima_object_data_get()
122 total_length); in _ux_device_class_pima_object_data_get()
276 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.c100 ULONG total_length; in _ux_host_class_pima_object_get() local
283total_length = _ux_utility_long_get(ptp_payload + UX_HOST_CLASS_PIMA_DATA_HEADER_LENGTH); in _ux_host_class_pima_object_get()
286 …if ((total_length % pima -> ux_host_class_pima_bulk_in_endpoint -> ux_endpoint_descriptor.wMaxPack… in _ux_host_class_pima_object_get()
296 total_length -= UX_HOST_CLASS_PIMA_DATA_HEADER_SIZE; in _ux_host_class_pima_object_get()
300 if (total_length > object_buffer_length) in _ux_host_class_pima_object_get()
Dux_host_class_hid_entry.c273 ULONG total_length; in _ux_host_class_hid_hid_descriptor_parse() local
287 total_length = transfer -> ux_transfer_request_actual_length; in _ux_host_class_hid_hid_descriptor_parse()
291 while(total_length) in _ux_host_class_hid_hid_descriptor_parse()
337 if (descriptor_length > total_length) in _ux_host_class_hid_hid_descriptor_parse()
342 total_length -= descriptor_length; in _ux_host_class_hid_hid_descriptor_parse()
/USBX-v6.2.1/test/regression/
Dusbx_storage_multi_lun_test.c412 ULONG total_length; in tx_demo_thread_host_simulation_entry() local
509 total_length = UX_DEMO_FILE_SIZE; in tx_demo_thread_host_simulation_entry()
514 while(total_length !=0) in tx_demo_thread_host_simulation_entry()
533 total_length -= UX_DEMO_FILE_BUFFER_SIZE; in tx_demo_thread_host_simulation_entry()
576 total_length = UX_DEMO_FILE_SIZE; in tx_demo_thread_host_simulation_entry()
581 while(total_length !=0) in tx_demo_thread_host_simulation_entry()
600 total_length -= UX_DEMO_FILE_BUFFER_SIZE; in tx_demo_thread_host_simulation_entry()
Dusbx_device_class_ccid_busy_abort_tests.c555 ULONG total_length, actual_length; in _ccid_message_bulk_out_in() local
559 total_length = out_length; in _ccid_message_bulk_out_in()
560 …status = _ux_host_class_dummy_transfer(host_ccid, UX_DEMO_BULK_OUT_EP, 0, out, total_length, &actu… in _ccid_message_bulk_out_in()
593 total_length = UX_DEVICE_CLASS_CCID_MESSAGE_LENGTH_GET(in); in _ccid_message_bulk_out_in()
594 total_length += UX_DEVICE_CLASS_CCID_MESSAGE_HEADER_LENGTH; in _ccid_message_bulk_out_in()
597 total_length -= payload_size; in _ccid_message_bulk_out_in()
598 if (total_length) in _ccid_message_bulk_out_in()
600 …= _ux_host_class_dummy_transfer(host_ccid, UX_DEMO_BULK_IN_EP, 0, in, total_length, &actual_length… in _ccid_message_bulk_out_in()
Dusbx_device_class_ccid_basic_tests.c713 ULONG total_length, actual_length; in _ccid_message_bulk_out_in() local
717 total_length = out_length; in _ccid_message_bulk_out_in()
718 …status = _ux_host_class_dummy_transfer(host_ccid, UX_DEMO_BULK_OUT_EP, 0, out, total_length, &actu… in _ccid_message_bulk_out_in()
751 total_length = UX_DEVICE_CLASS_CCID_MESSAGE_LENGTH_GET(in); in _ccid_message_bulk_out_in()
752 total_length += UX_DEVICE_CLASS_CCID_MESSAGE_HEADER_LENGTH; in _ccid_message_bulk_out_in()
755 total_length -= payload_size; in _ccid_message_bulk_out_in()
756 if (total_length) in _ccid_message_bulk_out_in()
758 …= _ux_host_class_dummy_transfer(host_ccid, UX_DEMO_BULK_IN_EP, 0, in, total_length, &actual_length… in _ccid_message_bulk_out_in()
Dusbx_pictbridge_basic_test.c398 …ite(UX_PICTBRIDGE *pictbridge,UCHAR *object_buffer, ULONG offset, ULONG total_length, ULONG length) in test_pictbridge_host_object_data_write() argument
Dusbx_storage_tests.c2127 ULONG total_length; in basic_read_write_test() local
2134 total_length = UX_DEMO_FILE_SIZE; in basic_read_write_test()
2148 while (total_length !=0) in basic_read_write_test()
2166 total_length -= UX_DEMO_FILE_BUFFER_SIZE; in basic_read_write_test()
2188 total_length = UX_DEMO_FILE_SIZE; in basic_read_write_test()
2193 while(total_length !=0) in basic_read_write_test()
2227 total_length -= UX_DEMO_FILE_BUFFER_SIZE; in basic_read_write_test()
Dusbx_msrc_72526_pictbridge_dps_host_start_test.c398 …ite(UX_PICTBRIDGE *pictbridge,UCHAR *object_buffer, ULONG offset, ULONG total_length, ULONG length) in test_pictbridge_host_object_data_write() argument
Dusbx_msrc_81108_pictbridge_object_parse_test.c398 …ite(UX_PICTBRIDGE *pictbridge,UCHAR *object_buffer, ULONG offset, ULONG total_length, ULONG length) in test_pictbridge_host_object_data_write() argument
/USBX-v6.2.1/common/usbx_pictbridge/inc/
Dux_pictbridge.h669 … UX_PICTBRIDGE_STRUCT *pictbridge, UCHAR *buffer, ULONG offset, ULONG total_length, ULONG length);