Home
last modified time | relevance | path

Searched refs:total_descriptor_length (Results 1 – 15 of 15) sorted by relevance

/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_cdc_acm_capabilities_get.c90 ULONG total_descriptor_length; in _ux_host_class_cdc_acm_capabilities_get() local
129 total_descriptor_length = configuration.ux_configuration_descriptor.wTotalLength; in _ux_host_class_cdc_acm_capabilities_get()
136 …iptor = _ux_utility_memory_allocate(UX_SAFE_ALIGN, UX_CACHE_SAFE_MEMORY, total_descriptor_length); in _ux_host_class_cdc_acm_capabilities_get()
144 transfer_request -> ux_transfer_request_requested_length = total_descriptor_length; in _ux_host_class_cdc_acm_capabilities_get()
153 … UX_SUCCESS) && (transfer_request -> ux_transfer_request_actual_length == total_descriptor_length)) in _ux_host_class_cdc_acm_capabilities_get()
160 while (total_descriptor_length) in _ux_host_class_cdc_acm_capabilities_get()
230 if (descriptor_length > total_descriptor_length) in _ux_host_class_cdc_acm_capabilities_get()
249 total_descriptor_length -= descriptor_length; in _ux_host_class_cdc_acm_capabilities_get()
Dux_host_class_video_control_list_get.c78 ULONG total_descriptor_length; in _ux_host_class_video_control_list_get() local
87 total_descriptor_length = video -> ux_host_class_video_configuration_descriptor_length; in _ux_host_class_video_control_list_get()
93 while (total_descriptor_length) in _ux_host_class_video_control_list_get()
165 if (descriptor_length > total_descriptor_length) in _ux_host_class_video_control_list_get()
181 total_descriptor_length -= descriptor_length; in _ux_host_class_video_control_list_get()
Dux_host_class_video_input_terminal_get.c78 ULONG total_descriptor_length; in _ux_host_class_video_input_terminal_get() local
87 total_descriptor_length = video -> ux_host_class_video_configuration_descriptor_length; in _ux_host_class_video_input_terminal_get()
93 while (total_descriptor_length) in _ux_host_class_video_input_terminal_get()
170 if (descriptor_length > total_descriptor_length) in _ux_host_class_video_input_terminal_get()
186 total_descriptor_length -= descriptor_length; in _ux_host_class_video_input_terminal_get()
Dux_host_class_video_input_format_get.c78 ULONG total_descriptor_length; in _ux_host_class_video_input_format_get() local
87 total_descriptor_length = video -> ux_host_class_video_configuration_descriptor_length; in _ux_host_class_video_input_format_get()
93 while (total_descriptor_length) in _ux_host_class_video_input_format_get()
176 if (descriptor_length > total_descriptor_length) in _ux_host_class_video_input_format_get()
192 total_descriptor_length -= descriptor_length; in _ux_host_class_video_input_format_get()
Dux_host_class_video_entities_parse.c100 ULONG total_descriptor_length; in _ux_host_class_video_entities_parse() local
112 total_descriptor_length = video -> ux_host_class_video_configuration_descriptor_length; in _ux_host_class_video_entities_parse()
118 while (total_descriptor_length) in _ux_host_class_video_entities_parse()
177 if (descriptor_length > total_descriptor_length) in _ux_host_class_video_entities_parse()
184 total_descriptor_length -= descriptor_length; in _ux_host_class_video_entities_parse()
Dux_host_class_video_frame_interval_get.c82 ULONG total_descriptor_length; in _ux_host_class_video_frame_interval_get() local
91 total_descriptor_length = video -> ux_host_class_video_length_formats; in _ux_host_class_video_frame_interval_get()
94 while (total_descriptor_length) in _ux_host_class_video_frame_interval_get()
177 if (descriptor_length > total_descriptor_length) in _ux_host_class_video_frame_interval_get()
193 total_descriptor_length -= descriptor_length; in _ux_host_class_video_frame_interval_get()
Dux_host_class_audio_streaming_terminal_get.c79 ULONG total_descriptor_length; in _ux_host_class_audio_streaming_terminal_get() local
88 total_descriptor_length = audio -> ux_host_class_audio_configuration_descriptor_length; in _ux_host_class_audio_streaming_terminal_get()
95 while (total_descriptor_length) in _ux_host_class_audio_streaming_terminal_get()
166 if (descriptor_length > total_descriptor_length) in _ux_host_class_audio_streaming_terminal_get()
182 total_descriptor_length -= descriptor_length; in _ux_host_class_audio_streaming_terminal_get()
Dux_host_class_video_format_data_get.c79 ULONG total_descriptor_length; in _ux_host_class_video_format_data_get() local
88 total_descriptor_length = video -> ux_host_class_video_length_formats; in _ux_host_class_video_format_data_get()
91 while (total_descriptor_length) in _ux_host_class_video_format_data_get()
181 if (descriptor_length > total_descriptor_length) in _ux_host_class_video_format_data_get()
197 total_descriptor_length -= descriptor_length; in _ux_host_class_video_format_data_get()
Dux_host_class_video_frame_data_get.c99 ULONG total_descriptor_length; in _ux_host_class_video_frame_data_get() local
108 total_descriptor_length = video -> ux_host_class_video_length_formats; in _ux_host_class_video_frame_data_get()
111 while (total_descriptor_length) in _ux_host_class_video_frame_data_get()
181 if (descriptor_length > total_descriptor_length) in _ux_host_class_video_frame_data_get()
197 total_descriptor_length -= descriptor_length; in _ux_host_class_video_frame_data_get()
Dux_host_class_audio_descriptors_parse.c97 ULONG total_descriptor_length; in _ux_host_class_audio_descriptors_parse() local
121 total_descriptor_length = audio -> ux_host_class_audio_configuration_descriptor_length; in _ux_host_class_audio_descriptors_parse()
132 while (total_descriptor_length) in _ux_host_class_audio_descriptors_parse()
195 if (descriptor_length > total_descriptor_length) in _ux_host_class_audio_descriptors_parse()
202 total_descriptor_length -= descriptor_length; in _ux_host_class_audio_descriptors_parse()
Dux_host_class_audio_device_controls_list_get.c83 ULONG total_descriptor_length; in _ux_host_class_audio_device_controls_list_get() local
97 total_descriptor_length = audio -> ux_host_class_audio_configuration_descriptor_length; in _ux_host_class_audio_device_controls_list_get()
106 while (total_descriptor_length) 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()
264 total_descriptor_length -= descriptor_length; in _ux_host_class_audio_device_controls_list_get()
Dux_host_class_audio_device_type_get.c84 ULONG total_descriptor_length; in _ux_host_class_audio_device_type_get() local
94 total_descriptor_length = audio -> ux_host_class_audio_configuration_descriptor_length; in _ux_host_class_audio_device_type_get()
104 while (total_descriptor_length) in _ux_host_class_audio_device_type_get()
238 if (descriptor_length > total_descriptor_length) in _ux_host_class_audio_device_type_get()
254 total_descriptor_length -= descriptor_length; in _ux_host_class_audio_device_type_get()
Dux_host_class_audio_alternate_setting_locate.c96 ULONG total_descriptor_length; in _ux_host_class_audio_alternate_setting_locate()
108 total_descriptor_length = audio -> ux_host_class_audio_configuration_descriptor_length; in _ux_host_class_audio_alternate_setting_locate()
114 while (total_descriptor_length) in _ux_host_class_audio_alternate_setting_locate()
238 if (descriptor_length > total_descriptor_length) in _ux_host_class_audio_alternate_setting_locate()
251 total_descriptor_length -= descriptor_length; in _ux_host_class_audio_alternate_setting_locate()
Dux_host_class_audio_streaming_sampling_get.c95 ULONG total_descriptor_length; in _ux_host_class_audio_streaming_sampling_get() local
129 total_descriptor_length = audio -> ux_host_class_audio_configuration_descriptor_length; in _ux_host_class_audio_streaming_sampling_get()
135 while (total_descriptor_length) in _ux_host_class_audio_streaming_sampling_get()
370 if (descriptor_length > total_descriptor_length) in _ux_host_class_audio_streaming_sampling_get()
389 total_descriptor_length -= descriptor_length; in _ux_host_class_audio_streaming_sampling_get()
Dux_host_class_cdc_acm_entry.c192 ULONG total_descriptor_length; in _ux_host_class_cdc_acm_descriptors_parse() local
218 total_descriptor_length = transfer_request -> ux_transfer_request_actual_length; in _ux_host_class_cdc_acm_descriptors_parse()
223 while(total_descriptor_length) in _ux_host_class_cdc_acm_descriptors_parse()
232 if (descriptor_length < 3 || descriptor_length > total_descriptor_length) in _ux_host_class_cdc_acm_descriptors_parse()
304 total_descriptor_length -= descriptor_length; in _ux_host_class_cdc_acm_descriptors_parse()