| /USBX-v6.2.1/common/usbx_host_classes/src/ |
| D | ux_host_class_printer_name_get.c | 35 …nter_name_parse(UX_HOST_CLASS_PRINTER *printer, UCHAR *descriptor_buffer, ULONG descriptor_length); 37 …inter_name_parse(UX_HOST_CLASS_PRINTER *printer, UCHAR *descriptor_buffer, ULONG descriptor_length) in _ux_host_class_printer_name_parse() argument 49 if (length < descriptor_length) in _ux_host_class_printer_name_parse() 50 descriptor_length = length; in _ux_host_class_printer_name_parse() 56 while (descriptor_length != 0) in _ux_host_class_printer_name_parse() 59 if (descriptor_length > 12) in _ux_host_class_printer_name_parse() 67 descriptor_length = (USHORT)(descriptor_length - 12); in _ux_host_class_printer_name_parse() 72 if (descriptor_length > 4) in _ux_host_class_printer_name_parse() 80 descriptor_length = (USHORT)(descriptor_length - 4); in _ux_host_class_printer_name_parse() 86 descriptor_length--; in _ux_host_class_printer_name_parse() [all …]
|
| D | ux_host_class_video_control_list_get.c | 79 ULONG descriptor_length; in _ux_host_class_video_control_list_get() local 97 descriptor_length = *descriptor; in _ux_host_class_video_control_list_get() 102 if (descriptor_length < 3) in _ux_host_class_video_control_list_get() 165 if (descriptor_length > total_descriptor_length) in _ux_host_class_video_control_list_get() 178 descriptor += descriptor_length; in _ux_host_class_video_control_list_get() 181 total_descriptor_length -= descriptor_length; in _ux_host_class_video_control_list_get()
|
| D | ux_host_class_video_input_terminal_get.c | 79 ULONG descriptor_length; in _ux_host_class_video_input_terminal_get() local 97 descriptor_length = *descriptor; in _ux_host_class_video_input_terminal_get() 102 if (descriptor_length < 3) in _ux_host_class_video_input_terminal_get() 170 if (descriptor_length > total_descriptor_length) in _ux_host_class_video_input_terminal_get() 183 descriptor += descriptor_length; in _ux_host_class_video_input_terminal_get() 186 total_descriptor_length -= descriptor_length; in _ux_host_class_video_input_terminal_get()
|
| D | ux_host_class_video_input_format_get.c | 79 ULONG descriptor_length; in _ux_host_class_video_input_format_get() local 97 descriptor_length = *descriptor; in _ux_host_class_video_input_format_get() 102 if (descriptor_length < 3) in _ux_host_class_video_input_format_get() 176 if (descriptor_length > total_descriptor_length) in _ux_host_class_video_input_format_get() 189 descriptor += descriptor_length; in _ux_host_class_video_input_format_get() 192 total_descriptor_length -= descriptor_length; in _ux_host_class_video_input_format_get()
|
| D | ux_host_class_video_entities_parse.c | 101 ULONG descriptor_length; in _ux_host_class_video_entities_parse() local 122 descriptor_length = *descriptor; in _ux_host_class_video_entities_parse() 126 if (descriptor_length < 3) in _ux_host_class_video_entities_parse() 177 if (descriptor_length > total_descriptor_length) in _ux_host_class_video_entities_parse() 181 descriptor += descriptor_length; in _ux_host_class_video_entities_parse() 184 total_descriptor_length -= descriptor_length; in _ux_host_class_video_entities_parse()
|
| D | ux_host_class_video_frame_interval_get.c | 83 ULONG descriptor_length; in _ux_host_class_video_frame_interval_get() local 98 descriptor_length = *descriptor; in _ux_host_class_video_frame_interval_get() 103 if (descriptor_length < 3) in _ux_host_class_video_frame_interval_get() 177 if (descriptor_length > total_descriptor_length) in _ux_host_class_video_frame_interval_get() 190 descriptor += descriptor_length; in _ux_host_class_video_frame_interval_get() 193 total_descriptor_length -= descriptor_length; in _ux_host_class_video_frame_interval_get()
|
| D | ux_host_class_audio_streaming_terminal_get.c | 80 ULONG descriptor_length; in _ux_host_class_audio_streaming_terminal_get() local 99 descriptor_length = *descriptor; in _ux_host_class_audio_streaming_terminal_get() 104 if (descriptor_length < 3) in _ux_host_class_audio_streaming_terminal_get() 166 if (descriptor_length > total_descriptor_length) in _ux_host_class_audio_streaming_terminal_get() 179 descriptor += descriptor_length; in _ux_host_class_audio_streaming_terminal_get() 182 total_descriptor_length -= descriptor_length; in _ux_host_class_audio_streaming_terminal_get()
|
| D | ux_host_class_video_format_data_get.c | 80 ULONG descriptor_length; in _ux_host_class_video_format_data_get() local 95 descriptor_length = *descriptor; in _ux_host_class_video_format_data_get() 100 if (descriptor_length < 3) in _ux_host_class_video_format_data_get() 181 if (descriptor_length > total_descriptor_length) in _ux_host_class_video_format_data_get() 194 descriptor += descriptor_length; in _ux_host_class_video_format_data_get() 197 total_descriptor_length -= descriptor_length; in _ux_host_class_video_format_data_get()
|
| D | ux_host_class_video_frame_data_get.c | 100 ULONG descriptor_length; in _ux_host_class_video_frame_data_get() local 115 descriptor_length = *descriptor; in _ux_host_class_video_frame_data_get() 120 if (descriptor_length < 3) in _ux_host_class_video_frame_data_get() 181 if (descriptor_length > total_descriptor_length) in _ux_host_class_video_frame_data_get() 194 descriptor += descriptor_length; in _ux_host_class_video_frame_data_get() 197 total_descriptor_length -= descriptor_length; in _ux_host_class_video_frame_data_get()
|
| D | ux_host_class_audio_descriptors_parse.c | 98 ULONG descriptor_length; in _ux_host_class_audio_descriptors_parse() local 136 descriptor_length = *descriptor; in _ux_host_class_audio_descriptors_parse() 140 if (descriptor_length < 3) in _ux_host_class_audio_descriptors_parse() 195 if (descriptor_length > total_descriptor_length) in _ux_host_class_audio_descriptors_parse() 199 descriptor += descriptor_length; in _ux_host_class_audio_descriptors_parse() 202 total_descriptor_length -= descriptor_length; in _ux_host_class_audio_descriptors_parse()
|
| D | ux_host_class_audio_device_controls_list_get.c | 85 ULONG descriptor_length; in _ux_host_class_audio_device_controls_list_get() local 110 descriptor_length = *descriptor; in _ux_host_class_audio_device_controls_list_get() 115 if (descriptor_length < 3) in _ux_host_class_audio_device_controls_list_get() 248 if (descriptor_length > total_descriptor_length) in _ux_host_class_audio_device_controls_list_get() 261 descriptor += descriptor_length; in _ux_host_class_audio_device_controls_list_get() 264 total_descriptor_length -= descriptor_length; in _ux_host_class_audio_device_controls_list_get()
|
| D | ux_host_class_audio_device_type_get.c | 85 ULONG descriptor_length; in _ux_host_class_audio_device_type_get() local 108 descriptor_length = *descriptor; in _ux_host_class_audio_device_type_get() 113 if (descriptor_length < 3) in _ux_host_class_audio_device_type_get() 238 if (descriptor_length > total_descriptor_length) in _ux_host_class_audio_device_type_get() 251 descriptor += descriptor_length; in _ux_host_class_audio_device_type_get() 254 total_descriptor_length -= descriptor_length; in _ux_host_class_audio_device_type_get()
|
| D | ux_host_class_cdc_acm_capabilities_get.c | 91 UCHAR descriptor_length; in _ux_host_class_cdc_acm_capabilities_get() local 164 descriptor_length = *descriptor; in _ux_host_class_cdc_acm_capabilities_get() 169 if (descriptor_length < 3) in _ux_host_class_cdc_acm_capabilities_get() 230 if (descriptor_length > total_descriptor_length) in _ux_host_class_cdc_acm_capabilities_get() 246 descriptor += descriptor_length; in _ux_host_class_cdc_acm_capabilities_get() 249 total_descriptor_length -= descriptor_length; in _ux_host_class_cdc_acm_capabilities_get()
|
| D | ux_host_class_hid_descriptor_parse.c | 93 UINT descriptor_length; in _ux_host_class_hid_descriptor_parse() local 154 descriptor_length = *descriptor; in _ux_host_class_hid_descriptor_parse() 158 if (descriptor_length < 3) in _ux_host_class_hid_descriptor_parse() 213 if (descriptor_length > total_configuration_length) in _ux_host_class_hid_descriptor_parse() 230 descriptor += descriptor_length; in _ux_host_class_hid_descriptor_parse() 233 total_configuration_length -= descriptor_length; in _ux_host_class_hid_descriptor_parse()
|
| D | ux_host_class_cdc_ecm_mac_address_get.c | 92 UINT descriptor_length; in _ux_host_class_cdc_ecm_mac_address_get() local 170 descriptor_length = *descriptor; in _ux_host_class_cdc_ecm_mac_address_get() 175 if (descriptor_length < 3 || descriptor_length > total_configuration_length) in _ux_host_class_cdc_ecm_mac_address_get() 333 descriptor += descriptor_length; in _ux_host_class_cdc_ecm_mac_address_get() 336 total_configuration_length -= descriptor_length; in _ux_host_class_cdc_ecm_mac_address_get()
|
| D | ux_host_class_audio_alternate_setting_locate.c | 97 UINT descriptor_length; in _ux_host_class_audio_alternate_setting_locate() 118 descriptor_length = *descriptor; in _ux_host_class_audio_alternate_setting_locate() 123 if (descriptor_length < 3) in _ux_host_class_audio_alternate_setting_locate() 238 if (descriptor_length > total_descriptor_length) in _ux_host_class_audio_alternate_setting_locate() 248 descriptor += descriptor_length; in _ux_host_class_audio_alternate_setting_locate() 251 total_descriptor_length -= descriptor_length; in _ux_host_class_audio_alternate_setting_locate()
|
| D | ux_host_class_audio_streaming_sampling_get.c | 96 UINT descriptor_length; in _ux_host_class_audio_streaming_sampling_get() local 139 descriptor_length = *descriptor; in _ux_host_class_audio_streaming_sampling_get() 144 if (descriptor_length < 3) in _ux_host_class_audio_streaming_sampling_get() 370 if (descriptor_length > total_descriptor_length) in _ux_host_class_audio_streaming_sampling_get() 386 descriptor += descriptor_length; in _ux_host_class_audio_streaming_sampling_get() 389 total_descriptor_length -= descriptor_length; in _ux_host_class_audio_streaming_sampling_get()
|
| /USBX-v6.2.1/common/usbx_device_classes/src/ |
| D | ux_device_class_hid_descriptor_send.c | 91 ULONG descriptor_length; in _ux_device_class_hid_descriptor_send() local 138 descriptor_length = (ULONG) *device_framework; in _ux_device_class_hid_descriptor_send() 151 if (descriptor_length < host_length) in _ux_device_class_hid_descriptor_send() 152 length = descriptor_length; in _ux_device_class_hid_descriptor_send() 182 device_framework += descriptor_length; in _ux_device_class_hid_descriptor_send() 194 descriptor_length = hid -> ux_device_class_hid_report_length; in _ux_device_class_hid_descriptor_send() 198 if (descriptor_length < host_length) in _ux_device_class_hid_descriptor_send() 199 length = descriptor_length; in _ux_device_class_hid_descriptor_send()
|
| D | ux_device_class_printer_control_request.c | 91 ULONG descriptor_length; in _ux_device_class_printer_control_request() local 145 descriptor_length = descriptor[0]; in _ux_device_class_printer_control_request() 169 descriptor_length = _ux_utility_short_get(descriptor + 2); in _ux_device_class_printer_control_request() 181 if (descriptor_length < 2 || in _ux_device_class_printer_control_request() 182 descriptor_length > length) in _ux_device_class_printer_control_request() 191 descriptor += descriptor_length; in _ux_device_class_printer_control_request() 192 length -= descriptor_length; in _ux_device_class_printer_control_request()
|
| D | ux_device_class_dfu_initialize.c | 102 ULONG descriptor_length; in _ux_device_class_dfu_initialize() local 145 descriptor_length = (ULONG) *dfu_framework; in _ux_device_class_dfu_initialize() 148 if (descriptor_length < 2 || in _ux_device_class_dfu_initialize() 149 descriptor_length > dfu_framework_length) in _ux_device_class_dfu_initialize() 187 dfu_framework_length -= descriptor_length; in _ux_device_class_dfu_initialize() 190 dfu_framework += descriptor_length; in _ux_device_class_dfu_initialize()
|
| /USBX-v6.2.1/common/core/src/ |
| D | ux_host_stack_interfaces_scan.c | 79 UINT descriptor_length; in _ux_host_stack_interfaces_scan() local 101 descriptor_length = *descriptor; in _ux_host_stack_interfaces_scan() 105 if (descriptor_length < 3) in _ux_host_stack_interfaces_scan() 181 if (descriptor_length > total_configuration_length) in _ux_host_stack_interfaces_scan() 193 descriptor += descriptor_length; in _ux_host_stack_interfaces_scan() 196 total_configuration_length -= descriptor_length; in _ux_host_stack_interfaces_scan()
|
| D | ux_host_stack_new_interface_create.c | 95 UINT descriptor_length; in _ux_host_stack_new_interface_create() local 161 descriptor_length = *descriptor; in _ux_host_stack_new_interface_create() 165 if (descriptor_length < 3) in _ux_host_stack_new_interface_create() 192 …if ((descriptor_length > length) || (descriptor_type == UX_INTERFACE_DESCRIPTOR_ITEM && descriptor… in _ux_host_stack_new_interface_create() 205 descriptor += descriptor_length; in _ux_host_stack_new_interface_create() 206 length -= descriptor_length; in _ux_host_stack_new_interface_create()
|
| D | ux_device_stack_alternate_setting_set.c | 99 ULONG descriptor_length; in _ux_device_stack_alternate_setting_set() local 183 descriptor_length = (ULONG) *device_framework; in _ux_device_stack_alternate_setting_set() 213 descriptor_length = (ULONG) *device_framework; in _ux_device_stack_alternate_setting_set() 274 descriptor_length = (ULONG) *device_framework; in _ux_device_stack_alternate_setting_set() 390 device_framework_length = descriptor_length; in _ux_device_stack_alternate_setting_set() 402 device_framework_length -= descriptor_length; in _ux_device_stack_alternate_setting_set() 405 device_framework += descriptor_length; in _ux_device_stack_alternate_setting_set() 441 device_framework_length -= descriptor_length; in _ux_device_stack_alternate_setting_set() 444 device_framework += descriptor_length; in _ux_device_stack_alternate_setting_set() 453 device_framework_length -= descriptor_length; in _ux_device_stack_alternate_setting_set() [all …]
|
| D | ux_device_stack_configuration_set.c | 90 ULONG descriptor_length; in _ux_device_stack_configuration_set() local 135 descriptor_length = (ULONG) *device_framework; in _ux_device_stack_configuration_set() 157 device_framework_length -= descriptor_length; in _ux_device_stack_configuration_set() 159 device_framework += descriptor_length; in _ux_device_stack_configuration_set() 249 descriptor_length = (ULONG) *device_framework; in _ux_device_stack_configuration_set() 388 device_framework_length -= descriptor_length; in _ux_device_stack_configuration_set() 391 device_framework += descriptor_length; in _ux_device_stack_configuration_set()
|
| D | ux_device_stack_descriptor_send.c | 114 ULONG descriptor_length; in _ux_device_stack_descriptor_send() local 195 descriptor_length = (ULONG) *device_framework; in _ux_device_stack_descriptor_send() 211 device_framework_length -= descriptor_length; in _ux_device_stack_descriptor_send() 214 device_framework += descriptor_length; in _ux_device_stack_descriptor_send() 251 descriptor_length = (ULONG) *device_framework; in _ux_device_stack_descriptor_send() 314 device_framework_length -= descriptor_length; in _ux_device_stack_descriptor_send() 317 device_framework += descriptor_length; in _ux_device_stack_descriptor_send()
|