Home
last modified time | relevance | path

Searched refs:cbwcb (Results 1 – 23 of 23) sorted by relevance

/USBX-v6.2.1/common/usbx_device_classes/inc/
Dux_device_class_storage.h612 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR *cbwcb);
614 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR *cbwcb);
616 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR *cbwcb);
618 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR *cbwcb);
620 UX_SLAVE_ENDPOINT *endpoint_in, UX_SLAVE_ENDPOINT *endpoint_out, UCHAR * cbwcb);
622 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR *cbwcb, UCHAR scsi_command);
624 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR *cbwcb);
626 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR *cbwcb);
628 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR * cbwcb);
630 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR *cbwcb);
[all …]
/USBX-v6.2.1/common/usbx_device_classes/src/
Dux_device_class_storage_tasks_run.c419 UCHAR *cbwcb; in _ux_device_class_storage_cmd_process() local
485 cbwcb = cbw + UX_SLAVE_CLASS_STORAGE_CBW_CB; in _ux_device_class_storage_cmd_process()
486 storage -> ux_device_class_storage_cmd = *cbwcb; in _ux_device_class_storage_cmd_process()
492 _ux_device_class_storage_test_ready(storage, lun, endpoint_in, endpoint_out, cbwcb); in _ux_device_class_storage_cmd_process()
497 _ux_device_class_storage_request_sense(storage, lun, endpoint_in, endpoint_out, cbwcb); in _ux_device_class_storage_cmd_process()
502 _ux_device_class_storage_format(storage, lun, endpoint_in, endpoint_out, cbwcb); in _ux_device_class_storage_cmd_process()
507 _ux_device_class_storage_inquiry(storage, lun, endpoint_in, endpoint_out, cbwcb); in _ux_device_class_storage_cmd_process()
512 _ux_device_class_storage_start_stop(storage, lun, endpoint_in, endpoint_out, cbwcb); in _ux_device_class_storage_cmd_process()
517 …x_device_class_storage_prevent_allow_media_removal(storage, lun, endpoint_in, endpoint_out, cbwcb); in _ux_device_class_storage_cmd_process()
522 … _ux_device_class_storage_read_format_capacity(storage, lun, endpoint_in, endpoint_out, cbwcb); in _ux_device_class_storage_cmd_process()
[all …]
Dux_device_class_storage_synchronize_cache.c87 … UX_SLAVE_ENDPOINT *endpoint_out, UCHAR *cbwcb, UCHAR scsi_command) in _ux_device_class_storage_synchronize_cache() argument
117 …lba = _ux_utility_long_get_big_endian(cbwcb + UX_SLAVE_CLASS_STORAGE_SYNCHRONIZE… in _ux_device_class_storage_synchronize_cache()
118 …number_blocks = (USHORT)_ux_utility_short_get_big_endian(cbwcb + UX_SLAVE_CLASS_STORAGE_SYNCHRONIZ… in _ux_device_class_storage_synchronize_cache()
164 flags = *(cbwcb + UX_SLAVE_CLASS_STORAGE_SYNCHRONIZE_CACHE_FLAGS); in _ux_device_class_storage_synchronize_cache()
Dux_device_class_storage_mode_sense.c128 UCHAR *cbwcb) in _ux_device_class_storage_mode_sense() argument
156 mode_sense_command = (ULONG) *(cbwcb + UX_SLAVE_CLASS_STORAGE_MODE_SENSE_OPERATION); in _ux_device_class_storage_mode_sense()
159 page_code = (ULONG) *(cbwcb + UX_SLAVE_CLASS_STORAGE_MODE_SENSE_PC_PAGE_CODE); in _ux_device_class_storage_mode_sense()
166 …mode_sense_reply_length = (ULONG) *(cbwcb + UX_SLAVE_CLASS_STORAGE_MODE_SENSE_ALLOCATION_LENGTH_6… in _ux_device_class_storage_mode_sense()
175 …mode_sense_reply_length = _ux_utility_short_get_big_endian(cbwcb + UX_SLAVE_CLASS_STORAGE_MODE_SE… in _ux_device_class_storage_mode_sense()
Dux_device_class_storage_start_stop.c78 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR * cbwcb) in _ux_device_class_storage_start_stop() argument
84 UX_PARAMETER_NOT_USED(cbwcb); in _ux_device_class_storage_start_stop()
Dux_device_class_storage_verify.c78 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR * cbwcb) in _ux_device_class_storage_verify() argument
82 UX_PARAMETER_NOT_USED(cbwcb); in _ux_device_class_storage_verify()
Dux_device_class_storage_prevent_allow_media_removal.c79 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR * cbwcb) in _ux_device_class_storage_prevent_allow_media_removal() argument
85 UX_PARAMETER_NOT_USED(cbwcb); in _ux_device_class_storage_prevent_allow_media_removal()
Dux_device_class_storage_report_key.c98 UCHAR *cbwcb) in _ux_device_class_storage_report_key() argument
120 key_format = (ULONG) *(cbwcb + UX_SLAVE_CLASS_STORAGE_REPORT_KEY_FORMAT); in _ux_device_class_storage_report_key()
123 …allocation_length = _ux_utility_short_get_big_endian(cbwcb + UX_SLAVE_CLASS_STORAGE_REPORT_KEY_AL… in _ux_device_class_storage_report_key()
Dux_device_class_storage_read_toc.c96 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR * cbwcb) in _ux_device_class_storage_read_toc() argument
125 …allocation_length = _ux_utility_short_get_big_endian(cbwcb + UX_SLAVE_CLASS_STORAGE_READ_TOC_ALLO… in _ux_device_class_storage_read_toc()
141 switch (*(cbwcb + UX_SLAVE_CLASS_STORAGE_READ_TOC_FORMAT)) in _ux_device_class_storage_read_toc()
Dux_device_class_storage_format.c81 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR *cbwcb) in _ux_device_class_storage_format() argument
84 UX_PARAMETER_NOT_USED(cbwcb); in _ux_device_class_storage_format()
Dux_device_class_storage_get_configuration.c359 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR * cbwcb) in _ux_device_class_storage_get_configuration() argument
392 …starting_feature = _ux_utility_short_get_big_endian(cbwcb + UX_SLAVE_CLASS_STORAGE_GET_CONFIGURAT… in _ux_device_class_storage_get_configuration()
395 …allocation_length = _ux_utility_short_get_big_endian(cbwcb + UX_SLAVE_CLASS_STORAGE_GET_CONFIGURA… in _ux_device_class_storage_get_configuration()
405 if ((*(cbwcb + UX_SLAVE_CLASS_STORAGE_GET_CONFIGURATION_RT) & 3) == 1) in _ux_device_class_storage_get_configuration()
Dux_device_class_storage_mode_select.c85 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR * cbwcb) in _ux_device_class_storage_mode_select() argument
89 UX_PARAMETER_NOT_USED(cbwcb); in _ux_device_class_storage_mode_select()
Dux_device_class_storage_test_ready.c86 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR * cbwcb) in _ux_device_class_storage_test_ready() argument
95 UX_PARAMETER_NOT_USED(cbwcb); in _ux_device_class_storage_test_ready()
Dux_device_class_storage_write.c92 … UX_SLAVE_ENDPOINT *endpoint_out, UCHAR * cbwcb, UCHAR scsi_command) in _ux_device_class_storage_write() argument
112 lba = _ux_utility_long_get_big_endian(cbwcb + UX_SLAVE_CLASS_STORAGE_WRITE_LBA); in _ux_device_class_storage_write()
119 …total_number_blocks = _ux_utility_short_get_big_endian(cbwcb + UX_SLAVE_CLASS_STORAGE_WRITE_TRANS… in _ux_device_class_storage_write()
124 …total_number_blocks = _ux_utility_long_get_big_endian(cbwcb + UX_SLAVE_CLASS_STORAGE_WRITE_TRANSF… in _ux_device_class_storage_write()
Dux_device_class_storage_read.c90 … UX_SLAVE_ENDPOINT *endpoint_out, UCHAR * cbwcb, UCHAR scsi_command) in _ux_device_class_storage_read() argument
110 lba = _ux_utility_long_get_big_endian(cbwcb + UX_SLAVE_CLASS_STORAGE_READ_LBA); in _ux_device_class_storage_read()
117 …total_number_blocks = _ux_utility_short_get_big_endian(cbwcb + UX_SLAVE_CLASS_STORAGE_READ_TRANSF… in _ux_device_class_storage_read()
122 …total_number_blocks = _ux_utility_long_get_big_endian(cbwcb + UX_SLAVE_CLASS_STORAGE_READ_TRANSFE… in _ux_device_class_storage_read()
Dux_device_class_storage_read_format_capacity.c95 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR * cbwcb) in _ux_device_class_storage_read_format_capacity() argument
102 UX_PARAMETER_NOT_USED(cbwcb); in _ux_device_class_storage_read_format_capacity()
Dux_device_class_storage_read_disk_information.c119 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR * cbwcb) in _ux_device_class_storage_read_disk_information() argument
153 …allocation_length = _ux_utility_short_get_big_endian(cbwcb + UX_SLAVE_CLASS_STORAGE_READ_DISK_INF… in _ux_device_class_storage_read_disk_information()
Dux_device_class_storage_read_dvd_structure.c212 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR * cbwcb) in _ux_device_class_storage_read_dvd_structure() argument
234 …allocation_length = _ux_utility_short_get_big_endian(cbwcb + UX_SLAVE_CLASS_STORAGE_READ_DISK_INF… in _ux_device_class_storage_read_dvd_structure()
Dux_device_class_storage_get_performance.c102 UCHAR *cbwcb) in _ux_device_class_storage_get_performance() argument
127 performance_page = (ULONG) *(cbwcb + UX_SLAVE_CLASS_STORAGE_GET_PERFORMANCE_PAGE); in _ux_device_class_storage_get_performance()
Dux_device_class_storage_read_capacity.c96 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR * cbwcb) in _ux_device_class_storage_read_capacity() argument
104 UX_PARAMETER_NOT_USED(cbwcb); in _ux_device_class_storage_read_capacity()
Dux_device_class_storage_request_sense.c96 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR * cbwcb) in _ux_device_class_storage_request_sense() argument
106 UX_PARAMETER_NOT_USED(cbwcb); in _ux_device_class_storage_request_sense()
Dux_device_class_storage_get_status_notification.c86 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR * cbwcb) in _ux_device_class_storage_get_status_notification() argument
122 notification_class = (ULONG) *(cbwcb + UX_SLAVE_CLASS_STORAGE_EVENT_NOTIFICATION_CLASS_REQUEST); in _ux_device_class_storage_get_status_notification()
Dux_device_class_storage_inquiry.c101 UX_SLAVE_ENDPOINT *endpoint_out, UCHAR * cbwcb) in _ux_device_class_storage_inquiry() argument
131 inquiry_page_code = *(cbwcb + UX_SLAVE_CLASS_STORAGE_INQUIRY_PAGE_CODE); in _ux_device_class_storage_inquiry()