Home
last modified time | relevance | path

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

12

/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_storage_cbw_initialize.c85 UCHAR *cbw; in _ux_host_class_storage_cbw_initialize() local
89 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _ux_host_class_storage_cbw_initialize()
92 _ux_utility_long_put(cbw, UX_HOST_CLASS_STORAGE_CBW_SIGNATURE_MASK); in _ux_host_class_storage_cbw_initialize()
96 _ux_utility_long_put(cbw + UX_HOST_CLASS_STORAGE_CBW_TAG, UX_HOST_CLASS_STORAGE_CBW_TAG_MASK); in _ux_host_class_storage_cbw_initialize()
99 _ux_utility_long_put(cbw + UX_HOST_CLASS_STORAGE_CBW_DATA_LENGTH, data_transfer_length); in _ux_host_class_storage_cbw_initialize()
102 *(cbw + UX_HOST_CLASS_STORAGE_CBW_FLAGS) = (UCHAR)flags; in _ux_host_class_storage_cbw_initialize()
105 *(cbw + UX_HOST_CLASS_STORAGE_CBW_LUN) = (UCHAR)storage -> ux_host_class_storage_lun; in _ux_host_class_storage_cbw_initialize()
108 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB_LENGTH) = (UCHAR)command_length; in _ux_host_class_storage_cbw_initialize()
111 …_ux_utility_memory_set(cbw + UX_HOST_CLASS_STORAGE_CBW_CB, 0, (ULONG) command_length); /* Use case… in _ux_host_class_storage_cbw_initialize()
Dux_host_class_storage_media_recovery_sense_get.c80 UCHAR *cbw; in _ux_host_class_storage_media_recovery_sense_get() local
86 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _ux_host_class_storage_media_recovery_sense_get()
109 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_MODE_SENSE_OPERATION) = UX_HOST_CLAS… in _ux_host_class_storage_media_recovery_sense_get()
113 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_MODE_SENSE_OPERATION) = UX_HOST_CLAS… in _ux_host_class_storage_media_recovery_sense_get()
118 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_MODE_SENSE_PC_PAGE_CODE) = UX_HOST_CL… in _ux_host_class_storage_media_recovery_sense_get()
121 …_ux_utility_short_put_big_endian(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_MODE_S… in _ux_host_class_storage_media_recovery_sense_get()
Dux_host_class_storage_media_protection_check.c81 UCHAR *cbw; in _ux_host_class_storage_media_protection_check() local
88 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _ux_host_class_storage_media_protection_check()
111 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_MODE_SENSE_OPERATION) = UX_HOST_CLAS… in _ux_host_class_storage_media_protection_check()
116 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_MODE_SENSE_OPERATION) = UX_HOST_CLAS… in _ux_host_class_storage_media_protection_check()
122 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_MODE_SENSE_PC_PAGE_CODE) = UX_HOST_CL… in _ux_host_class_storage_media_protection_check()
125 …_ux_utility_short_put_big_endian(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_MODE_S… in _ux_host_class_storage_media_protection_check()
Dux_host_class_storage_transport_cb.c92 UCHAR *cbw; in _ux_host_class_storage_transport_cb() local
113 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _ux_host_class_storage_transport_cb()
114 ufi = cbw + UX_HOST_CLASS_STORAGE_CBW_CB; in _ux_host_class_storage_transport_cb()
118 …transfer_request -> ux_transfer_request_requested_length = (ULONG) * (cbw + UX_HOST_CLASS_STORAGE… in _ux_host_class_storage_transport_cb()
129 … data_phase_requested_length = _ux_utility_long_get(cbw + UX_HOST_CLASS_STORAGE_CBW_DATA_LENGTH); in _ux_host_class_storage_transport_cb()
136 if (*(cbw + UX_HOST_CLASS_STORAGE_CBW_FLAGS) == UX_HOST_CLASS_STORAGE_DATA_IN) in _ux_host_class_storage_transport_cb()
Dux_host_class_storage_start_stop.c78 UCHAR *cbw; in _ux_host_class_storage_start_stop() local
86 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _ux_host_class_storage_start_stop()
102 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_START_STOP_OPERATION) = UX_HOST_CLAS… in _ux_host_class_storage_start_stop()
105 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_START_STOP_START_BIT) = (UCHAR) star… in _ux_host_class_storage_start_stop()
Dux_host_class_storage_request_sense.c85 UCHAR *cbw; in _ux_host_class_storage_request_sense() local
100 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _ux_host_class_storage_request_sense()
113 …if (*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_REQUEST_SENSE_OPERATION) == UX_HO… in _ux_host_class_storage_request_sense()
124 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_REQUEST_SENSE_OPERATION) = UX_HOST_C… in _ux_host_class_storage_request_sense()
127 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_REQUEST_SENSE_ALLOCATION_LENGTH) = U… in _ux_host_class_storage_request_sense()
Dux_host_class_storage_transport_cbi.c94 UCHAR *cbw; in _ux_host_class_storage_transport_cbi() local
115 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _ux_host_class_storage_transport_cbi()
116 ufi = cbw + UX_HOST_CLASS_STORAGE_CBW_CB; in _ux_host_class_storage_transport_cbi()
120 …transfer_request -> ux_transfer_request_requested_length = (ULONG)*(cbw+UX_HOST_CLASS_STORAGE_CBW… in _ux_host_class_storage_transport_cbi()
131 data_phase_requested_length = _ux_utility_long_get(cbw+UX_HOST_CLASS_STORAGE_CBW_DATA_LENGTH); in _ux_host_class_storage_transport_cbi()
138 if (*(cbw+UX_HOST_CLASS_STORAGE_CBW_FLAGS) == UX_HOST_CLASS_STORAGE_DATA_IN) in _ux_host_class_storage_transport_cbi()
Dux_host_class_storage_media_format_capacity_get.c83 UCHAR *cbw; in _ux_host_class_storage_media_format_capacity_get() local
91 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _ux_host_class_storage_media_format_capacity_get()
107 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_READ_FORMAT_OPERATION) = UX_HOST_CLA… in _ux_host_class_storage_media_format_capacity_get()
110 …_ux_utility_short_put_big_endian(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_READ_F… in _ux_host_class_storage_media_format_capacity_get()
Dux_host_class_storage_transport_bo.c91 UCHAR *cbw; in _ux_host_class_storage_transport_bo() local
102 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _ux_host_class_storage_transport_bo()
105 transfer_request -> ux_transfer_request_data_pointer = cbw; in _ux_host_class_storage_transport_bo()
169 … data_phase_requested_length = _ux_utility_long_get(cbw + UX_HOST_CLASS_STORAGE_CBW_DATA_LENGTH); in _ux_host_class_storage_transport_bo()
190 if (*(cbw + UX_HOST_CLASS_STORAGE_CBW_FLAGS) == UX_HOST_CLASS_STORAGE_DATA_IN) in _ux_host_class_storage_transport_bo()
241 if (*(cbw + UX_HOST_CLASS_STORAGE_CBW_FLAGS) == UX_HOST_CLASS_STORAGE_DATA_IN) in _ux_host_class_storage_transport_bo()
311 if (*(cbw + UX_HOST_CLASS_STORAGE_CBW_FLAGS) == UX_HOST_CLASS_STORAGE_DATA_OUT) in _ux_host_class_storage_transport_bo()
368 …storage -> ux_host_class_storage_data_phase_length = _ux_utility_long_get(cbw + UX_HOST_CLASS_STO… in _ux_host_class_storage_transport_bo()
Dux_host_class_storage_media_characteristics_get.c84 UCHAR *cbw; in _ux_host_class_storage_media_characteristics_get() local
89 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _ux_host_class_storage_media_characteristics_get()
105 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_OPERATION) = UX_HOST_CLASS_S… in _ux_host_class_storage_media_characteristics_get()
108 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_ALLOCATION_LENGTH) = UX_HOST… in _ux_host_class_storage_media_characteristics_get()
Dux_host_class_storage_unit_ready_test.c81 UCHAR *cbw; in _ux_host_class_storage_unit_ready_test() local
88 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _ux_host_class_storage_unit_ready_test()
104 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_TEST_READY_OPERATION) = UX_HOST_CLAS… in _ux_host_class_storage_unit_ready_test()
Dux_host_class_storage_media_capacity_get.c87 UCHAR *cbw; in _ux_host_class_storage_media_capacity_get() local
133 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _ux_host_class_storage_media_capacity_get()
149 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_READ_CAPACITY_OPERATION) = UX_HOST_C… in _ux_host_class_storage_media_capacity_get()
Dux_host_class_storage_transport_run.c244 UCHAR *cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _ux_host_class_storage_transport_trans_exit() local
245 UCHAR *cb = cbw + UX_HOST_CLASS_STORAGE_CBW_CB; in _ux_host_class_storage_transport_trans_exit()
311 UCHAR *cbw = storage -> ux_host_class_storage_cbw; in _ux_host_class_storage_transport_trans_next() local
312 ULONG len = _ux_utility_long_get(cbw + UX_HOST_CLASS_STORAGE_CBW_DATA_LENGTH); in _ux_host_class_storage_transport_trans_next()
313 UCHAR flags = *(cbw + UX_HOST_CLASS_STORAGE_CBW_FLAGS); in _ux_host_class_storage_transport_trans_next()
422 UCHAR *cbw = storage -> ux_host_class_storage_cbw; in _ux_host_class_storage_transport_trans_in_next() local
427 requested_length = _ux_utility_long_get(cbw + UX_HOST_CLASS_STORAGE_CBW_DATA_LENGTH); in _ux_host_class_storage_transport_trans_in_next()
472 UCHAR *cbw = storage -> ux_host_class_storage_cbw; in _ux_host_class_storage_transport_trans_out_next() local
477 requested_length = _ux_utility_long_get(cbw + UX_HOST_CLASS_STORAGE_CBW_DATA_LENGTH); in _ux_host_class_storage_transport_trans_out_next()
519 UCHAR *cbw = storage -> ux_host_class_storage_cbw; in _ux_host_class_storage_transport_status() local
[all …]
Dux_host_class_storage_media_write.c43 UCHAR *cbw; in _ux_host_class_storage_write_initialize() local
48 cbw = (UCHAR *)storage -> ux_host_class_storage_cbw; in _ux_host_class_storage_write_initialize()
49 cbw_cb = cbw + UX_HOST_CLASS_STORAGE_CBW_CB; in _ux_host_class_storage_write_initialize()
Dux_host_class_storage_media_read.c43 UCHAR *cbw; in _ux_host_class_storage_read_initialize() local
48 cbw = (UCHAR *)storage -> ux_host_class_storage_cbw; in _ux_host_class_storage_read_initialize()
49 cbw_cb = cbw + UX_HOST_CLASS_STORAGE_CBW_CB; in _ux_host_class_storage_read_initialize()
/USBX-v6.2.1/test/regression/
Dusbx_ux_device_class_storage_invalid_lun_test.c436 UCHAR *cbw; in _test_host_class_storage_inquiry() local
440 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _test_host_class_storage_inquiry()
446 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_OPERATION) = UX_HOST_CLASS_ST… in _test_host_class_storage_inquiry()
449 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_PAGE_CODE) = page_code; in _test_host_class_storage_inquiry()
452 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_ALLOCATION_LENGTH) = (UCHAR)… in _test_host_class_storage_inquiry()
473 UCHAR *cbw; in _test_init_cbw_MODE_SENSE() local
477 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _test_init_cbw_MODE_SENSE()
482 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + 0) = UX_SLAVE_CLASS_STORAGE_SCSI_MODE_SENSE_SHORT; in _test_init_cbw_MODE_SENSE()
483 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_SLAVE_CLASS_STORAGE_MODE_SENSE_PARAMETER_LIST_LENGTH_6) … in _test_init_cbw_MODE_SENSE()
487 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + 0) = UX_SLAVE_CLASS_STORAGE_SCSI_MODE_SENSE; in _test_init_cbw_MODE_SENSE()
[all …]
Dusbx_ux_device_class_storage_initialize_test.c434 UCHAR *cbw; in test_host_class_storage_inquiry() local
438 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in test_host_class_storage_inquiry()
447 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_OPERATION) = UX_HOST_CLASS_ST… in test_host_class_storage_inquiry()
450 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_PAGE_CODE) = page_code; in test_host_class_storage_inquiry()
453 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_ALLOCATION_LENGTH) = (UCHAR)… in test_host_class_storage_inquiry()
465 UCHAR *cbw; in _test_init_cbw_MODE_SENSE() local
469 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _test_init_cbw_MODE_SENSE()
474 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + 0) = UX_SLAVE_CLASS_STORAGE_SCSI_MODE_SENSE_SHORT; in _test_init_cbw_MODE_SENSE()
475 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_SLAVE_CLASS_STORAGE_MODE_SENSE_PARAMETER_LIST_LENGTH_6) … in _test_init_cbw_MODE_SENSE()
479 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + 0) = UX_SLAVE_CLASS_STORAGE_SCSI_MODE_SENSE; in _test_init_cbw_MODE_SENSE()
[all …]
Dusbx_ux_device_class_storage_inquiry_test.c455 UCHAR *cbw; in _test_host_class_storage_inquiry() local
459 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _test_host_class_storage_inquiry()
465 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_OPERATION) = UX_HOST_CLASS_ST… in _test_host_class_storage_inquiry()
468 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_PAGE_CODE) = page_code; in _test_host_class_storage_inquiry()
471 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_ALLOCATION_LENGTH) = (UCHAR)… in _test_host_class_storage_inquiry()
492 UCHAR *cbw; in _test_init_cbw_MODE_SENSE() local
496 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _test_init_cbw_MODE_SENSE()
501 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + 0) = UX_SLAVE_CLASS_STORAGE_SCSI_MODE_SENSE_SHORT; in _test_init_cbw_MODE_SENSE()
502 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_SLAVE_CLASS_STORAGE_MODE_SENSE_PARAMETER_LIST_LENGTH_6) … in _test_init_cbw_MODE_SENSE()
506 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + 0) = UX_SLAVE_CLASS_STORAGE_SCSI_MODE_SENSE; in _test_init_cbw_MODE_SENSE()
[all …]
Dusbx_ux_device_class_storage_synchronize_cache_test.c440 UCHAR *cbw; in test_host_class_storage_inquiry() local
444 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in test_host_class_storage_inquiry()
453 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_OPERATION) = UX_HOST_CLASS_ST… in test_host_class_storage_inquiry()
456 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_PAGE_CODE) = page_code; in test_host_class_storage_inquiry()
459 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_ALLOCATION_LENGTH) = (UCHAR)r… in test_host_class_storage_inquiry()
471 UCHAR *cbw; in _test_init_cbw_SYNCHRONIZE_CACHE() local
477 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _test_init_cbw_SYNCHRONIZE_CACHE()
480 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + 0) = UX_SLAVE_CLASS_STORAGE_SCSI_SYNCHRONIZE_CACHE; in _test_init_cbw_SYNCHRONIZE_CACHE()
481 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_SLAVE_CLASS_STORAGE_SYNCHRONIZE_CACHE_FLAGS) = immed ? U… in _test_init_cbw_SYNCHRONIZE_CACHE()
482 …_ux_utility_long_put_big_endian(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_SLAVE_CLASS_STORAGE_SYNCHR… in _test_init_cbw_SYNCHRONIZE_CACHE()
[all …]
Dusbx_standalone_device_storage_read_write_test.c688 UCHAR *cbw; in _test_host_class_storage_inquiry() local
692 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _test_host_class_storage_inquiry()
698 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_OPERATION) = UX_HOST_CLASS_ST… in _test_host_class_storage_inquiry()
701 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_PAGE_CODE) = page_code; in _test_host_class_storage_inquiry()
704 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_ALLOCATION_LENGTH) = (UCHAR)… in _test_host_class_storage_inquiry()
726 UCHAR *cbw; in _test_send_cbw_EX() local
730 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _test_send_cbw_EX()
732 transfer_request -> ux_transfer_request_data_pointer = cbw; in _test_send_cbw_EX()
867 UCHAR *cbw; in _test_request_sense() local
874 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _test_request_sense()
[all …]
Dusbx_standalone_device_storage_basic_test.c688 UCHAR *cbw; in _test_host_class_storage_inquiry() local
692 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _test_host_class_storage_inquiry()
698 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_OPERATION) = UX_HOST_CLASS_ST… in _test_host_class_storage_inquiry()
701 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_PAGE_CODE) = page_code; in _test_host_class_storage_inquiry()
704 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_ALLOCATION_LENGTH) = (UCHAR)… in _test_host_class_storage_inquiry()
726 UCHAR *cbw; in _test_send_cbw_EX() local
730 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _test_send_cbw_EX()
732 transfer_request -> ux_transfer_request_data_pointer = cbw; in _test_send_cbw_EX()
867 UCHAR *cbw; in _test_request_sense() local
874 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _test_request_sense()
[all …]
Dusbx_standalone_device_storage_error_cv_test.c688 UCHAR *cbw; in _test_host_class_storage_inquiry() local
692 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _test_host_class_storage_inquiry()
698 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_OPERATION) = UX_HOST_CLASS_ST… in _test_host_class_storage_inquiry()
701 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_PAGE_CODE) = page_code; in _test_host_class_storage_inquiry()
704 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_ALLOCATION_LENGTH) = (UCHAR)… in _test_host_class_storage_inquiry()
726 UCHAR *cbw; in _test_send_cbw_EX() local
730 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _test_send_cbw_EX()
732 transfer_request -> ux_transfer_request_data_pointer = cbw; in _test_send_cbw_EX()
867 UCHAR *cbw; in _test_request_sense() local
874 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _test_request_sense()
[all …]
Dusbx_ux_device_class_storage_write_test.c456 UCHAR *cbw; in test_host_class_storage_inquiry() local
460 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in test_host_class_storage_inquiry()
469 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_OPERATION) = UX_HOST_CLASS_ST… in test_host_class_storage_inquiry()
472 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_PAGE_CODE) = page_code; in test_host_class_storage_inquiry()
475 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_ALLOCATION_LENGTH) = (UCHAR)… in test_host_class_storage_inquiry()
516 UCHAR *cbw; in _test_init_cbw_WRITE_EX() local
525 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _test_init_cbw_WRITE_EX()
528 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + 0) = op6_10_12_16_32; in _test_init_cbw_WRITE_EX()
529 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + cbw_WRITE_info[op].flags_pos) = 0; in _test_init_cbw_WRITE_EX()
532 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + i) = (UCHAR)lba; in _test_init_cbw_WRITE_EX()
[all …]
Dusbx_ux_device_class_storage_read_test.c456 UCHAR *cbw; in test_host_class_storage_inquiry() local
460 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in test_host_class_storage_inquiry()
469 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_OPERATION) = UX_HOST_CLASS_ST… in test_host_class_storage_inquiry()
472 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_PAGE_CODE) = page_code; in test_host_class_storage_inquiry()
475 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_HOST_CLASS_STORAGE_INQUIRY_ALLOCATION_LENGTH) = (UCHAR)… in test_host_class_storage_inquiry()
516 UCHAR *cbw; in _test_init_cbw_READ_EX() local
525 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _test_init_cbw_READ_EX()
528 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + 0) = op6_10_12_16_32; in _test_init_cbw_READ_EX()
529 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + cbw_READ_info[op].flags_pos) = 0; in _test_init_cbw_READ_EX()
532 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + i) = (UCHAR)lba; in _test_init_cbw_READ_EX()
[all …]
Dusbx_ux_device_class_storage_mode_sense_test.c435 UCHAR *cbw; in _test_init_cbw_MODE_SENSE() local
439 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _test_init_cbw_MODE_SENSE()
444 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + 0) = UX_SLAVE_CLASS_STORAGE_SCSI_MODE_SENSE_SHORT; in _test_init_cbw_MODE_SENSE()
445 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_SLAVE_CLASS_STORAGE_MODE_SENSE_PARAMETER_LIST_LENGTH_6) … in _test_init_cbw_MODE_SENSE()
449 *(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + 0) = UX_SLAVE_CLASS_STORAGE_SCSI_MODE_SENSE; in _test_init_cbw_MODE_SENSE()
450 …_ux_utility_short_put_big_endian(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_SLAVE_CLASS_STORAGE_MODE_… in _test_init_cbw_MODE_SENSE()
452 …*(cbw + UX_HOST_CLASS_STORAGE_CBW_CB + UX_SLAVE_CLASS_STORAGE_MODE_SENSE_PC_PAGE_CODE) = page_code; in _test_init_cbw_MODE_SENSE()
460 UCHAR *cbw; in _test_send_cbw() local
464 cbw = (UCHAR *) storage -> ux_host_class_storage_cbw; in _test_send_cbw()
466 transfer_request -> ux_transfer_request_data_pointer = cbw; in _test_send_cbw()
[all …]

12