Home
last modified time | relevance | path

Searched refs:len (Results 1 – 22 of 22) sorted by relevance

/USBX-v6.2.1/test/regression/
Dusbx_device_dfu_basic_test.c452 static UINT _req_DFU_DNLOAD_IN(UX_TRANSFER *control_transfer, ULONG block, ULONG len) in _req_DFU_DNLOAD_IN() argument
459 control_transfer->ux_transfer_request_requested_length = len; in _req_DFU_DNLOAD_IN()
463 static UINT _req_DFU_DNLOAD(UX_TRANSFER *control_transfer, ULONG block, ULONG len) in _req_DFU_DNLOAD() argument
470 control_transfer->ux_transfer_request_requested_length = len; in _req_DFU_DNLOAD()
474 static UINT _req_DFU_UPLOAD(UX_TRANSFER *control_transfer, ULONG block, ULONG len) in _req_DFU_UPLOAD() argument
481 control_transfer->ux_transfer_request_requested_length = len; in _req_DFU_UPLOAD()
502 ULONG len, trans_len, block; in tx_test_thread_host_simulation_entry() local
642 for (len = 1, block = 0; len < UX_SLAVE_REQUEST_CONTROL_MAX_LENGTH * 2; len <<= 1) in tx_test_thread_host_simulation_entry()
644 for (i = 0; i < len; i ++) in tx_test_thread_host_simulation_entry()
649 trans_len = UX_MIN(len, UX_SLAVE_REQUEST_CONTROL_MAX_LENGTH); in tx_test_thread_host_simulation_entry()
Dusbx_uxe_device_dfu_test.c467 static UINT _req_DFU_DNLOAD_IN(UX_TRANSFER *control_transfer, ULONG block, ULONG len) in _req_DFU_DNLOAD_IN() argument
474 control_transfer->ux_transfer_request_requested_length = len; in _req_DFU_DNLOAD_IN()
478 static UINT _req_DFU_DNLOAD(UX_TRANSFER *control_transfer, ULONG block, ULONG len) in _req_DFU_DNLOAD() argument
485 control_transfer->ux_transfer_request_requested_length = len; in _req_DFU_DNLOAD()
489 static UINT _req_DFU_UPLOAD(UX_TRANSFER *control_transfer, ULONG block, ULONG len) in _req_DFU_UPLOAD() argument
496 control_transfer->ux_transfer_request_requested_length = len; in _req_DFU_UPLOAD()
Dusbx_msrc_71934_dfu_upload_test.c452 static UINT _req_DFU_DNLOAD_IN(UX_TRANSFER *control_transfer, ULONG block, ULONG len) in _req_DFU_DNLOAD_IN() argument
459 control_transfer->ux_transfer_request_requested_length = len; in _req_DFU_DNLOAD_IN()
463 static UINT _req_DFU_DNLOAD(UX_TRANSFER *control_transfer, ULONG block, ULONG len) in _req_DFU_DNLOAD() argument
470 control_transfer->ux_transfer_request_requested_length = len; in _req_DFU_DNLOAD()
474 static UINT _req_DFU_UPLOAD(UX_TRANSFER *control_transfer, ULONG block, ULONG len) in _req_DFU_UPLOAD() argument
481 control_transfer->ux_transfer_request_requested_length = len; in _req_DFU_UPLOAD()
502 ULONG len, trans_len, block; in tx_test_thread_host_simulation_entry() local
Dusbx_msrc_69702_dfu_dnload_test.c452 static UINT _req_DFU_DNLOAD_IN(UX_TRANSFER *control_transfer, ULONG block, ULONG len) in _req_DFU_DNLOAD_IN() argument
459 control_transfer->ux_transfer_request_requested_length = len; in _req_DFU_DNLOAD_IN()
463 static UINT _req_DFU_DNLOAD(UX_TRANSFER *control_transfer, ULONG block, ULONG len) in _req_DFU_DNLOAD() argument
470 control_transfer->ux_transfer_request_requested_length = len; in _req_DFU_DNLOAD()
474 static UINT _req_DFU_UPLOAD(UX_TRANSFER *control_transfer, ULONG block, ULONG len) in _req_DFU_UPLOAD() argument
481 control_transfer->ux_transfer_request_requested_length = len; in _req_DFU_UPLOAD()
502 ULONG len, trans_len, block; in tx_test_thread_host_simulation_entry() local
Dusbx_ux_test_cdc_ecm.h473 …NX_PACKET_POOL *packet_pool, ULONG ip_address, ULONG port, ULONG num_writes, CHAR *name, ULONG len) in write_udp() argument
484 if (len > 4) in write_udp()
488 for (i = 0, remain = len - 4; i < len - 4; i += 10) in write_udp()
490 remain = len - 4 - i; in write_udp()
Dusbx_ux_device_class_storage_write_test.c513 UCHAR op6_10_12_16_32, ULONG lba, ULONG len) in _test_init_cbw_WRITE_EX() argument
537 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + i) = (UCHAR)len; in _test_init_cbw_WRITE_EX()
538 len >>= 8; in _test_init_cbw_WRITE_EX()
542 static void _test_init_cbw_WRITE(UCHAR op6_10_12_16_32, ULONG lba, ULONG len) in _test_init_cbw_WRITE() argument
544 _test_init_cbw_WRITE_EX(0x00, len * 512, op6_10_12_16_32, lba, len); in _test_init_cbw_WRITE()
Dusbx_ux_device_class_storage_read_test.c514 UCHAR op6_10_12_16_32, ULONG lba, ULONG len) in _test_init_cbw_READ_EX() argument
537 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + i) = (UCHAR)len; in _test_init_cbw_READ_EX()
538 len >>= 8; in _test_init_cbw_READ_EX()
542 static void _test_init_cbw_READ(UCHAR op6_10_12_16_32, ULONG lba, ULONG len) in _test_init_cbw_READ() argument
544 _test_init_cbw_READ_EX(0x80, len * 512, op6_10_12_16_32, lba, len); in _test_init_cbw_READ()
Dusbx_standalone_cdc_acm_basic_test.c858 ULONG len; in test_cdc_acm_device_read_write_blocking() member
870 test_length = tests[test].len; in test_cdc_acm_device_read_write_blocking()
976 ULONG len; in test_cdc_acm_device_read_write() member
1006 test_length = tests[test].len; in test_cdc_acm_device_read_write()
Dusbx_standalone_device_storage_read_write_test.c936 UCHAR op6_10_12_16_32, ULONG lba, ULONG len) in _test_init_cbw_READ_EX() argument
959 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + i) = (UCHAR)len; in _test_init_cbw_READ_EX()
960 len >>= 8; in _test_init_cbw_READ_EX()
963 static void _test_init_cbw_READ(UCHAR op6_10_12_16_32, ULONG lba, ULONG len) in _test_init_cbw_READ() argument
965 _test_init_cbw_READ_EX(0x80, len * 512, op6_10_12_16_32, lba, len); in _test_init_cbw_READ()
997 UCHAR op6_10_12_16_32, ULONG lba, ULONG len) in _test_init_cbw_WRITE_EX() argument
1021 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + i) = (UCHAR)len; in _test_init_cbw_WRITE_EX()
1022 len >>= 8; in _test_init_cbw_WRITE_EX()
1025 static void _test_init_cbw_WRITE(UCHAR op6_10_12_16_32, ULONG lba, ULONG len) in _test_init_cbw_WRITE() argument
1027 _test_init_cbw_WRITE_EX(0x00, len * 512, op6_10_12_16_32, lba, len); in _test_init_cbw_WRITE()
Dusbx_standalone_device_storage_basic_test.c936 UCHAR op6_10_12_16_32, ULONG lba, ULONG len) in _test_init_cbw_READ_EX() argument
959 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + i) = (UCHAR)len; in _test_init_cbw_READ_EX()
960 len >>= 8; in _test_init_cbw_READ_EX()
963 static void _test_init_cbw_READ(UCHAR op6_10_12_16_32, ULONG lba, ULONG len) in _test_init_cbw_READ() argument
965 _test_init_cbw_READ_EX(0x80, len * 512, op6_10_12_16_32, lba, len); in _test_init_cbw_READ()
997 UCHAR op6_10_12_16_32, ULONG lba, ULONG len) in _test_init_cbw_WRITE_EX() argument
1021 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + i) = (UCHAR)len; in _test_init_cbw_WRITE_EX()
1022 len >>= 8; in _test_init_cbw_WRITE_EX()
1025 static void _test_init_cbw_WRITE(UCHAR op6_10_12_16_32, ULONG lba, ULONG len) in _test_init_cbw_WRITE() argument
1027 _test_init_cbw_WRITE_EX(0x00, len * 512, op6_10_12_16_32, lba, len); in _test_init_cbw_WRITE()
Dusbx_standalone_device_storage_error_cv_test.c936 UCHAR op6_10_12_16_32, ULONG lba, ULONG len) in _test_init_cbw_READ_EX() argument
959 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + i) = (UCHAR)len; in _test_init_cbw_READ_EX()
960 len >>= 8; in _test_init_cbw_READ_EX()
963 static void _test_init_cbw_READ(UCHAR op6_10_12_16_32, ULONG lba, ULONG len) in _test_init_cbw_READ() argument
965 _test_init_cbw_READ_EX(0x80, len * 512, op6_10_12_16_32, lba, len); in _test_init_cbw_READ()
997 UCHAR op6_10_12_16_32, ULONG lba, ULONG len) in _test_init_cbw_WRITE_EX() argument
1021 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + i) = (UCHAR)len; in _test_init_cbw_WRITE_EX()
1022 len >>= 8; in _test_init_cbw_WRITE_EX()
1025 static void _test_init_cbw_WRITE(UCHAR op6_10_12_16_32, ULONG lba, ULONG len) in _test_init_cbw_WRITE() argument
1027 _test_init_cbw_WRITE_EX(0x00, len * 512, op6_10_12_16_32, lba, len); in _test_init_cbw_WRITE()
Dusbx_standalone_device_cdc_acm_transmission_test.c705 ULONG len; in test_cdc_acm_device_transmission() member
730 test_length = tests[test].len; in test_cdc_acm_device_transmission()
Dusbx_standalone_device_cdc_acm_basic_test.c792 ULONG len; in test_cdc_acm_device_read_write() member
817 test_length = tests[test].len; in test_cdc_acm_device_read_write()
Dusbx_device_class_ccid_busy_abort_tests.c658 #define _TEST_CCID_BULK_IN_HEADER_CHECK(type,len,slot,seq,stat,err) \ argument
660 UX_TEST_ASSERT((len) == _ux_utility_long_get(host_bulk_in + 1));\
666 static VOID _buffer_dump(VOID *buf, ULONG len) in _buffer_dump() argument
669 for(i = 0; i < len; i ++) in _buffer_dump()
Dusbx_device_class_ccid_basic_tests.c787 #define _TEST_CCID_BULK_IN_HEADER_CHECK(type,len,slot,seq,stat,err) \ argument
789 UX_TEST_ASSERT((len) == _ux_utility_long_get(host_bulk_in + 1));\
795 static VOID _buffer_dump(VOID *buf, ULONG len) in _buffer_dump() argument
798 for(i = 0; i < len; i ++) in _buffer_dump()
Dusbx_standalone_host_storage_basic_test.c1376 static void dump_data(UCHAR *buf, ULONG len) in dump_data() argument
1379 for(l = 0; l < len; l ++) in dump_data()
Dusbx_standalone_host_storage_insert_eject_test.c1368 static void dump_data(UCHAR *buf, ULONG len) in dump_data() argument
1371 for(l = 0; l < len; l ++) in dump_data()
Dusbx_standalone_host_storage_read_write_test.c1483 static void dump_data(UCHAR *buf, ULONG len) in dump_data() argument
1486 for(l = 0; l < len; l ++) in dump_data()
Dux_test_utility_sim.c2875 VOID ux_test_sim_inp_sequence_set(ULONG* seq, ULONG len) in ux_test_sim_inp_sequence_set() argument
2878 _ux_test_sim_inp_seq_len = len; in ux_test_sim_inp_sequence_set()
/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_storage_transport_run.c312 ULONG len = _ux_utility_long_get(cbw + UX_HOST_CLASS_STORAGE_CBW_DATA_LENGTH); in _ux_host_class_storage_transport_trans_next() local
329 if (len == 0) in _ux_host_class_storage_transport_trans_next()
/USBX-v6.2.1/common/usbx_device_classes/inc/
Dux_device_class_ccid.h515 …CID_MESSAGE_LENGTH_SET(msg,len) _ux_utility_long_put(((UX_DEVICE_CLASS_CCID_MESSAGE_HEA… argument
/USBX-v6.2.1/common/usbx_host_classes/inc/
Dux_host_class_audio.h424 …audio_interrupt_callback)(struct UX_HOST_CLASS_AUDIO_AC_STRUCT*ac, UCHAR*msg, ULONG len, VOID*arg);