| /USBX-v6.2.1/common/usbx_device_classes/src/ |
| D | ux_device_class_cdc_acm_bulkin_thread.c | 113 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 …]
|
| D | ux_device_class_pima_partial_object_data_get.c | 92 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() 126 … total_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()
|
| D | ux_device_class_storage_write.c | 100 ULONG total_length; in _ux_device_class_storage_write() local 176 …total_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()
|
| D | ux_device_class_storage_read.c | 98 ULONG total_length; in _ux_device_class_storage_read() local 128 …total_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()
|
| D | ux_device_class_pima_object_data_send.c | 87 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()
|
| D | ux_device_class_pima_object_data_get.c | 88 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/ |
| D | ux_host_class_pima_object_get.c | 100 ULONG total_length; in _ux_host_class_pima_object_get() local 283 … total_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()
|
| D | ux_host_class_hid_entry.c | 273 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/ |
| D | usbx_storage_multi_lun_test.c | 412 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()
|
| D | usbx_device_class_ccid_busy_abort_tests.c | 555 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()
|
| D | usbx_device_class_ccid_basic_tests.c | 713 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()
|
| D | usbx_pictbridge_basic_test.c | 398 …ite(UX_PICTBRIDGE *pictbridge,UCHAR *object_buffer, ULONG offset, ULONG total_length, ULONG length) in test_pictbridge_host_object_data_write() argument
|
| D | usbx_storage_tests.c | 2127 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()
|
| D | usbx_msrc_72526_pictbridge_dps_host_start_test.c | 398 …ite(UX_PICTBRIDGE *pictbridge,UCHAR *object_buffer, ULONG offset, ULONG total_length, ULONG length) in test_pictbridge_host_object_data_write() argument
|
| D | usbx_msrc_81108_pictbridge_object_parse_test.c | 398 …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/ |
| D | ux_pictbridge.h | 669 … UX_PICTBRIDGE_STRUCT *pictbridge, UCHAR *buffer, ULONG offset, ULONG total_length, ULONG length);
|