Home
last modified time | relevance | path

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

/USBX-v6.2.1/common/usbx_device_classes/src/
Dux_device_class_storage_get_performance.c108 ULONG data_length = 0; in _ux_device_class_storage_get_performance() local
143 data_length = UX_SLAVE_CLASS_STORAGE_GET_PERFORMANCE_RESPONSE_LENGTH; in _ux_device_class_storage_get_performance()
156 data_length = USBX_DEVICE_CLASS_STORAGE_GET_PERFORMANCE_0_LENGTH + 8; in _ux_device_class_storage_get_performance()
160 data_length = 0; in _ux_device_class_storage_get_performance()
170 storage -> ux_device_class_storage_device_length = data_length; in _ux_device_class_storage_get_performance()
171 storage -> ux_device_class_storage_data_length = data_length; in _ux_device_class_storage_get_performance()
178 _ux_device_stack_transfer_request(transfer_request, data_length, data_length); in _ux_device_class_storage_get_performance()
Dux_device_class_audio20_control_process.c108 ULONG data_length; in _ux_device_class_audio20_control_process() local
235 data_length = 2 + n_sub * 12; in _ux_device_class_audio20_control_process()
236 UX_ASSERT(data_length <= UX_SLAVE_REQUEST_CONTROL_MAX_LENGTH); in _ux_device_class_audio20_control_process()
239 data_length = UX_MIN(data_length, request_length); in _ux_device_class_audio20_control_process()
242 data_length); /* Use case of memcpy is verified. */ in _ux_device_class_audio20_control_process()
258 data_length = UX_MIN(14, request_length); in _ux_device_class_audio20_control_process()
262 _ux_device_stack_transfer_request(transfer, data_length, request_length); in _ux_device_class_audio20_control_process()
/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_pima_write.c90 ULONG data_length, in _ux_host_class_pima_write() argument
105 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_HOST_CLASS_PIMA_WRITE, pima, data_pointer, data_length, 0, UX_TRA… in _ux_host_class_pima_write()
117 …_ux_utility_long_put(ptp_payload + UX_HOST_CLASS_PIMA_DATA_HEADER_LENGTH, data_length + UX_HOST_CL… in _ux_host_class_pima_write()
120 …if (((data_length + UX_HOST_CLASS_PIMA_DATA_HEADER_SIZE) % pima -> ux_host_class_pima_bulk_out_end… in _ux_host_class_pima_write()
140 requested_length = data_length + UX_HOST_CLASS_PIMA_DATA_HEADER_SIZE; in _ux_host_class_pima_write()
191 data_length -= (requested_length - UX_HOST_CLASS_PIMA_DATA_HEADER_SIZE); in _ux_host_class_pima_write()
197 while(data_length) in _ux_host_class_pima_write()
201 if (data_length > max_payload_length) in _ux_host_class_pima_write()
208 payload_length = data_length; in _ux_host_class_pima_write()
254 data_length -= payload_length; in _ux_host_class_pima_write()
Dux_host_class_pima_read.c100 ULONG data_length, in _ux_host_class_pima_read() argument
113 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_HOST_CLASS_PIMA_READ, pima, data_pointer, data_length, 0, UX_TRAC… in _ux_host_class_pima_read()
187 if ((header_length - UX_HOST_CLASS_PIMA_DATA_HEADER_SIZE) > data_length) in _ux_host_class_pima_read()
191 data_length = header_length - transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_pima_read()
201 while(data_length) in _ux_host_class_pima_read()
205 if (data_length > max_payload_length) in _ux_host_class_pima_read()
212 payload_length = data_length; in _ux_host_class_pima_read()
258 data_length -= payload_length; in _ux_host_class_pima_read()
Dux_host_class_prolific_command.c89 ULONG value, UCHAR *data_buffer, ULONG data_length) in _ux_host_class_prolific_command() argument
113 transfer_request -> ux_transfer_request_requested_length = data_length; in _ux_host_class_prolific_command()
170 ULONG value, UCHAR *data_buffer, ULONG data_length) in _uxe_host_class_prolific_command() argument
178 return(_ux_host_class_prolific_command(prolific, command, value, data_buffer, data_length)); in _uxe_host_class_prolific_command()
Dux_host_class_gser_command.c89 ULONG value, UCHAR *data_buffer, ULONG data_length) in _ux_host_class_gser_command() argument
157 transfer_request -> ux_transfer_request_requested_length = data_length; in _ux_host_class_gser_command()
214 ULONG value, UCHAR *data_buffer, ULONG data_length) in _uxe_host_class_gser_command() argument
223 command, value, data_buffer, data_length)); in _uxe_host_class_gser_command()
Dux_host_class_cdc_acm_command.c89 ULONG value, UCHAR *data_buffer, ULONG data_length) in _ux_host_class_cdc_acm_command() argument
201 transfer_request -> ux_transfer_request_requested_length = data_length; in _ux_host_class_cdc_acm_command()
259 ULONG value, UCHAR *data_buffer, ULONG data_length) in _uxe_host_class_cdc_acm_command() argument
267 return(_ux_host_class_cdc_acm_command(cdc_acm, command, value, data_buffer, data_length)); in _uxe_host_class_cdc_acm_command()
Dux_host_class_pima_command.c86 ULONG direction, UCHAR *data_buffer, ULONG data_length, in _ux_host_class_pima_command() argument
201 … status = _ux_host_class_pima_read(pima, data_buffer, data_length, max_payload_length); in _ux_host_class_pima_command()
206 …status = _ux_host_class_pima_write(pima, data_buffer, data_length, command -> ux_host_class_pima_c… in _ux_host_class_pima_command()
/USBX-v6.2.1/common/core/src/
Dux_device_stack_get_status.c85 ULONG data_length; in _ux_device_stack_get_status() local
109 data_length = 2; in _ux_device_stack_get_status()
123 data_length = 1; in _ux_device_stack_get_status()
191 status = _ux_device_stack_transfer_request(transfer_request, data_length, data_length); in _ux_device_stack_get_status()
/USBX-v6.2.1/common/usbx_host_classes/inc/
Dux_host_class_gser.h268 ULONG value, UCHAR *data_buffer, ULONG data_length);
283 ULONG value, UCHAR *data_buffer, ULONG data_length);
Dux_host_class_prolific.h298 ULONG value, UCHAR *data_buffer, ULONG data_length);
316 ULONG value, UCHAR *data_buffer, ULONG data_length);
Dux_host_class_cdc_acm.h364 ULONG value, UCHAR *data_buffer, ULONG data_length);
380 ULONG value, UCHAR *data_buffer, ULONG data_length);
Dux_host_class_pima.h549 ULONG direction, UCHAR *data_buffer, ULONG data_length,
567 UINT _ux_host_class_pima_read(UX_HOST_CLASS_PIMA *pima, UCHAR *data_pointer, ULONG data_length, UL…
574 UINT _ux_host_class_pima_write(UX_HOST_CLASS_PIMA *pima, UCHAR *data_pointer, ULONG data_length, U…
/USBX-v6.2.1/test/regression/
Dusbx_standalone_device_storage_read_write_test.c684 UCHAR flags, ULONG data_length, ULONG cb_length, in _test_host_class_storage_inquiry() argument
695 _ux_host_class_storage_cbw_initialize(storage, flags, data_length, cb_length); in _test_host_class_storage_inquiry()
935 UCHAR flags, ULONG data_length, in _test_init_cbw_READ_EX() argument
949 _ux_host_class_storage_cbw_initialize(storage, flags, data_length, command_length); in _test_init_cbw_READ_EX()
996 static void _test_init_cbw_WRITE_EX(UCHAR flags, ULONG data_length, in _test_init_cbw_WRITE_EX() argument
1011 _ux_host_class_storage_cbw_initialize(storage, flags, data_length, command_length); in _test_init_cbw_WRITE_EX()
1030 static void _test_init_cbw_REQUEST_SENSE(ULONG data_length) in _test_init_cbw_REQUEST_SENSE() argument
1039 _ux_host_class_storage_cbw_initialize(storage, 0x80, data_length, command_length); in _test_init_cbw_REQUEST_SENSE()
1043 static void _test_init_cbw_TEST_READY(ULONG data_length) in _test_init_cbw_TEST_READY() argument
1052 _ux_host_class_storage_cbw_initialize(storage, 0x00, data_length, command_length); in _test_init_cbw_TEST_READY()
[all …]
Dusbx_standalone_device_storage_basic_test.c684 UCHAR flags, ULONG data_length, ULONG cb_length, in _test_host_class_storage_inquiry() argument
695 _ux_host_class_storage_cbw_initialize(storage, flags, data_length, cb_length); in _test_host_class_storage_inquiry()
935 UCHAR flags, ULONG data_length, in _test_init_cbw_READ_EX() argument
949 _ux_host_class_storage_cbw_initialize(storage, flags, data_length, command_length); in _test_init_cbw_READ_EX()
996 static void _test_init_cbw_WRITE_EX(UCHAR flags, ULONG data_length, in _test_init_cbw_WRITE_EX() argument
1011 _ux_host_class_storage_cbw_initialize(storage, flags, data_length, command_length); in _test_init_cbw_WRITE_EX()
1030 static void _test_init_cbw_REQUEST_SENSE(ULONG data_length) in _test_init_cbw_REQUEST_SENSE() argument
1039 _ux_host_class_storage_cbw_initialize(storage, 0x80, data_length, command_length); in _test_init_cbw_REQUEST_SENSE()
1043 static void _test_init_cbw_TEST_READY(ULONG data_length) in _test_init_cbw_TEST_READY() argument
1052 _ux_host_class_storage_cbw_initialize(storage, 0x00, data_length, command_length); in _test_init_cbw_TEST_READY()
[all …]
Dusbx_standalone_device_storage_error_cv_test.c684 UCHAR flags, ULONG data_length, ULONG cb_length, in _test_host_class_storage_inquiry() argument
695 _ux_host_class_storage_cbw_initialize(storage, flags, data_length, cb_length); in _test_host_class_storage_inquiry()
935 UCHAR flags, ULONG data_length, in _test_init_cbw_READ_EX() argument
949 _ux_host_class_storage_cbw_initialize(storage, flags, data_length, command_length); in _test_init_cbw_READ_EX()
996 static void _test_init_cbw_WRITE_EX(UCHAR flags, ULONG data_length, in _test_init_cbw_WRITE_EX() argument
1011 _ux_host_class_storage_cbw_initialize(storage, flags, data_length, command_length); in _test_init_cbw_WRITE_EX()
1030 static void _test_init_cbw_REQUEST_SENSE(ULONG data_length) in _test_init_cbw_REQUEST_SENSE() argument
1039 _ux_host_class_storage_cbw_initialize(storage, 0x80, data_length, command_length); in _test_init_cbw_REQUEST_SENSE()
1043 static void _test_init_cbw_TEST_READY(ULONG data_length) in _test_init_cbw_TEST_READY() argument
1052 _ux_host_class_storage_cbw_initialize(storage, 0x00, data_length, command_length); in _test_init_cbw_TEST_READY()
[all …]
Dusbx_ux_device_class_storage_test_ready_test.c423 static void _test_init_cbw_TEST_READY(ULONG data_length) in _test_init_cbw_TEST_READY() argument
432 _ux_host_class_storage_cbw_initialize(storage, 0x00, data_length, command_length); in _test_init_cbw_TEST_READY()
Dusbx_ux_device_class_storage_request_sense_test.c431 static void _test_init_cbw_REQUEST_SENSE(ULONG data_length) in _test_init_cbw_REQUEST_SENSE() argument
440 _ux_host_class_storage_cbw_initialize(storage, 0x80, data_length, command_length); in _test_init_cbw_REQUEST_SENSE()
Dusbx_ux_device_class_storage_mode_select_test.c430 static void _test_init_cbw_MODE_SELECT(ULONG data_length) in _test_init_cbw_MODE_SELECT() argument
439 _ux_host_class_storage_cbw_initialize(storage, 0, data_length, command_length); in _test_init_cbw_MODE_SELECT()
Dusbx_ux_device_class_storage_invalid_lun_test.c432 UCHAR flags, ULONG data_length, ULONG cb_length, in _test_host_class_storage_inquiry() argument
443 _ux_host_class_storage_cbw_initialize(storage, flags, data_length, cb_length); in _test_host_class_storage_inquiry()
Dusbx_ux_device_class_storage_inquiry_test.c451 UCHAR flags, ULONG data_length, ULONG cb_length, in _test_host_class_storage_inquiry() argument
462 _ux_host_class_storage_cbw_initialize(storage, flags, data_length, cb_length); in _test_host_class_storage_inquiry()
Dusbx_ux_device_class_storage_write_test.c512 static void _test_init_cbw_WRITE_EX(UCHAR flags, ULONG data_length, in _test_init_cbw_WRITE_EX() argument
527 _ux_host_class_storage_cbw_initialize(storage, flags, data_length, command_length); in _test_init_cbw_WRITE_EX()
Dusbx_ux_device_class_storage_read_test.c513 UCHAR flags, ULONG data_length, in _test_init_cbw_READ_EX() argument
527 _ux_host_class_storage_cbw_initialize(storage, flags, data_length, command_length); in _test_init_cbw_READ_EX()
Dusbx_cdc_acm_basic_test.c50 …DC_ACM *cdc_acm, ULONG command, ULONG value, UCHAR *data_buffer, ULONG data_length, ULONG *actual_…
3028 ULONG value, UCHAR *data_buffer, ULONG data_length, in ux_test_host_class_cdc_acm_command() argument
3069 transfer_request -> ux_transfer_request_requested_length = data_length; in ux_test_host_class_cdc_acm_command()
Dusbx_storage_tests.c85 …ge_file_cow(FX_MEDIA *media, FX_FILE *file, UCHAR *data_pointer, ULONG data_length, UCHAR fail_on_…
87 …ux_test_storage_file_cowcd(FX_MEDIA *media, FX_FILE *file, UCHAR *data_pointer, ULONG data_length);
1708 …UX_TEST_ACTION create_data_match_action(TX_THREAD *thread_to_match, UCHAR *data, ULONG data_length) in create_data_match_action() argument
1717 action.req_actual_len = data_length; in create_data_match_action()
2534 …ge_file_cow(FX_MEDIA *media, FX_FILE *file, UCHAR *data_pointer, ULONG data_length, UCHAR fail_on_… in ux_test_storage_file_cow() argument
2548 status = fx_file_write(file, data_pointer, data_length); in ux_test_storage_file_cow()
2596 … ux_test_storage_file_cowcd(FX_MEDIA *media, FX_FILE *file, UCHAR *data_pointer, ULONG data_length) in ux_test_storage_file_cowcd() argument
2599 ux_test_storage_file_cow(media, file, data_pointer, data_length, UX_TRUE); in ux_test_storage_file_cowcd()