/USBX-v6.2.1/common/usbx_host_classes/src/ |
D | ux_host_class_audio_device_type_get.c | 80 UCHAR *descriptor; in _ux_host_class_audio_device_type_get() local 91 descriptor = audio -> ux_host_class_audio_configuration_descriptor; in _ux_host_class_audio_device_type_get() 106 descriptor_length = *descriptor; in _ux_host_class_audio_device_type_get() 107 descriptor_type = *(descriptor + 1); in _ux_host_class_audio_device_type_get() 108 descriptor_subtype = *(descriptor + 2); in _ux_host_class_audio_device_type_get() 118 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_DESCRIPTOR_CORRUPTED, descriptor, 0, 0, UX_TRACE_ERRORS… in _ux_host_class_audio_device_type_get() 131 if ((descriptor[4] == UX_HOST_CLASS_AUDIO_CLASS) && in _ux_host_class_audio_device_type_get() 132 (descriptor[2] <= interface_number) && in _ux_host_class_audio_device_type_get() 133 (descriptor[2] + descriptor[3] > interface_number)) in _ux_host_class_audio_device_type_get() 135 iad = descriptor; in _ux_host_class_audio_device_type_get() [all …]
|
D | ux_host_class_audio_streaming_sampling_get.c | 93 UCHAR * descriptor; in _ux_host_class_audio_streaming_sampling_get() local 129 descriptor = audio -> ux_host_class_audio_configuration_descriptor; in _ux_host_class_audio_streaming_sampling_get() 140 descriptor_length = *descriptor; in _ux_host_class_audio_streaming_sampling_get() 141 descriptor_type = *(descriptor + 1); in _ux_host_class_audio_streaming_sampling_get() 142 descriptor_subtype = *(descriptor + 2); in _ux_host_class_audio_streaming_sampling_get() 152 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_DESCRIPTOR_CORRUPTED, descriptor, 0, 0, UX_TRACE_ERRORS… in _ux_host_class_audio_streaming_sampling_get() 168 _ux_utility_descriptor_parse(descriptor, _ux_system_interface_descriptor_structure, in _ux_host_class_audio_streaming_sampling_get() 193 … _ux_utility_descriptor_parse(descriptor, _ux_system_class_audio_interface_descriptor_structure, in _ux_host_class_audio_streaming_sampling_get() 214 … (ULONG) *(descriptor + UX_HOST_CLASS_AUDIO_INTERFACE_DESCRIPTOR_LENGTH) | in _ux_host_class_audio_streaming_sampling_get() 215 … ((ULONG) *(descriptor + UX_HOST_CLASS_AUDIO_INTERFACE_DESCRIPTOR_LENGTH + 1)) << 8 | in _ux_host_class_audio_streaming_sampling_get() [all …]
|
D | ux_host_class_cdc_acm_capabilities_get.c | 84 UCHAR *descriptor; in _ux_host_class_cdc_acm_capabilities_get() local 102 …descriptor = _ux_utility_memory_allocate(UX_SAFE_ALIGN, UX_CACHE_SAFE_MEMORY, UX_CONFIGURATION_DE… in _ux_host_class_cdc_acm_capabilities_get() 103 if (descriptor == UX_NULL) in _ux_host_class_cdc_acm_capabilities_get() 107 saved_descriptor = descriptor; in _ux_host_class_cdc_acm_capabilities_get() 110 transfer_request -> ux_transfer_request_data_pointer = descriptor; in _ux_host_class_cdc_acm_capabilities_get() 125 _ux_utility_descriptor_parse(descriptor, _ux_system_configuration_descriptor_structure, in _ux_host_class_cdc_acm_capabilities_get() 133 _ux_utility_memory_free(descriptor); in _ux_host_class_cdc_acm_capabilities_get() 137 …descriptor = _ux_utility_memory_allocate(UX_SAFE_ALIGN, UX_CACHE_SAFE_MEMORY, total_descriptor_le… in _ux_host_class_cdc_acm_capabilities_get() 138 if (descriptor == UX_NULL) in _ux_host_class_cdc_acm_capabilities_get() 142 saved_descriptor = descriptor; in _ux_host_class_cdc_acm_capabilities_get() [all …]
|
D | ux_host_class_video_entities_parse.c | 98 UCHAR *descriptor; in _ux_host_class_video_entities_parse() local 112 descriptor = video -> ux_host_class_video_configuration_descriptor; in _ux_host_class_video_entities_parse() 123 descriptor_length = *descriptor; in _ux_host_class_video_entities_parse() 124 descriptor_type = *(descriptor + 1); in _ux_host_class_video_entities_parse() 140 if (descriptor[5] == UX_HOST_CLASS_VIDEO_CLASS) in _ux_host_class_video_entities_parse() 144 if (descriptor[6] == UX_HOST_CLASS_VIDEO_SUBCLASS_CONTROL) in _ux_host_class_video_entities_parse() 147 interface_descriptor = descriptor; in _ux_host_class_video_entities_parse() 153 … if (descriptor[2] == interface_ptr -> ux_interface_descriptor.bInterfaceNumber) in _ux_host_class_video_entities_parse() 156 interface_descriptor = descriptor; in _ux_host_class_video_entities_parse() 168 status = parse_function(arg, interface_descriptor, descriptor); in _ux_host_class_video_entities_parse() [all …]
|
D | ux_host_class_audio_device_controls_list_get.c | 83 UCHAR * descriptor; in _ux_host_class_audio_device_controls_list_get() local 97 descriptor = audio -> ux_host_class_audio_configuration_descriptor; in _ux_host_class_audio_device_controls_list_get() 111 descriptor_length = *descriptor; in _ux_host_class_audio_device_controls_list_get() 112 descriptor_type = *(descriptor + 1); in _ux_host_class_audio_device_controls_list_get() 113 descriptor_subtype = *(descriptor + 2); in _ux_host_class_audio_device_controls_list_get() 123 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_DESCRIPTOR_CORRUPTED, descriptor, 0, 0, UX_TRACE_ERRORS… in _ux_host_class_audio_device_controls_list_get() 135 if (ac_interface == descriptor[2]) in _ux_host_class_audio_device_controls_list_get() 161 itt_nb_channels = descriptor[8]; in _ux_host_class_audio_device_controls_list_get() 168 itt_nb_channels = descriptor[7]; in _ux_host_class_audio_device_controls_list_get() 181 audio -> ux_host_class_audio_feature_unit_id = descriptor[3]; in _ux_host_class_audio_device_controls_list_get() [all …]
|
D | ux_host_class_video_format_data_get.c | 76 UCHAR *descriptor; in _ux_host_class_video_format_data_get() local 84 descriptor = video -> ux_host_class_video_format_address; in _ux_host_class_video_format_data_get() 92 descriptor_length = *descriptor; in _ux_host_class_video_format_data_get() 93 descriptor_type = *(descriptor + 1); in _ux_host_class_video_format_data_get() 94 descriptor_subtype = *(descriptor + 2); in _ux_host_class_video_format_data_get() 126 … if (format_parameter -> ux_host_class_video_parameter_format_requested == *(descriptor + 3)) in _ux_host_class_video_format_data_get() 133 … format_parameter -> ux_host_class_video_parameter_number_frame_descriptors = *(descriptor + 4); in _ux_host_class_video_format_data_get() 136 video -> ux_host_class_video_current_format_address = descriptor; in _ux_host_class_video_format_data_get() 165 descriptor += descriptor_length; in _ux_host_class_video_format_data_get()
|
D | ux_host_class_hid_report_descriptor_get.c | 84 UCHAR *descriptor; in _ux_host_class_hid_report_descriptor_get() local 95 descriptor = _ux_utility_memory_allocate(UX_SAFE_ALIGN, UX_CACHE_SAFE_MEMORY, length); in _ux_host_class_hid_report_descriptor_get() 96 if (descriptor == UX_NULL) in _ux_host_class_hid_report_descriptor_get() 100 start_descriptor = descriptor; in _ux_host_class_hid_report_descriptor_get() 103 transfer_request -> ux_transfer_request_data_pointer = descriptor; in _ux_host_class_hid_report_descriptor_get() 122 _ux_host_class_hid_report_item_analyse(descriptor, &item); in _ux_host_class_hid_report_descriptor_get() 125 descriptor += item.ux_host_class_hid_item_report_format; in _ux_host_class_hid_report_descriptor_get() 134 status = _ux_host_class_hid_global_item_parse(hid, &item, descriptor); in _ux_host_class_hid_report_descriptor_get() 141 status = _ux_host_class_hid_main_item_parse(hid, &item, descriptor); in _ux_host_class_hid_report_descriptor_get() 148 status = _ux_host_class_hid_local_item_parse(hid, &item, descriptor); in _ux_host_class_hid_report_descriptor_get() [all …]
|
D | ux_host_class_audio_streaming_terminal_get.c | 77 UCHAR * descriptor; in _ux_host_class_audio_streaming_terminal_get() local 88 descriptor = audio -> ux_host_class_audio_configuration_descriptor; in _ux_host_class_audio_streaming_terminal_get() 100 descriptor_length = *descriptor; in _ux_host_class_audio_streaming_terminal_get() 101 descriptor_type = *(descriptor + 1); in _ux_host_class_audio_streaming_terminal_get() 102 descriptor_subtype = *(descriptor + 2); in _ux_host_class_audio_streaming_terminal_get() 112 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_DESCRIPTOR_CORRUPTED, descriptor, 0, 0, UX_TRACE_ERRORS… in _ux_host_class_audio_streaming_terminal_get() 125 _ux_utility_descriptor_parse(descriptor, _ux_system_interface_descriptor_structure, in _ux_host_class_audio_streaming_terminal_get() 155 …_ux_utility_descriptor_parse(descriptor, _ux_system_class_audio_streaming_interface_descriptor_str… in _ux_host_class_audio_streaming_terminal_get() 174 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_DESCRIPTOR_CORRUPTED, descriptor, 0, 0, UX_TRACE_ERRORS… in _ux_host_class_audio_streaming_terminal_get() 180 descriptor += descriptor_length; in _ux_host_class_audio_streaming_terminal_get()
|
D | ux_host_class_video_input_format_get.c | 76 UCHAR *descriptor; in _ux_host_class_video_input_format_get() local 87 descriptor = video -> ux_host_class_video_configuration_descriptor; in _ux_host_class_video_input_format_get() 98 descriptor_length = *descriptor; in _ux_host_class_video_input_format_get() 99 descriptor_type = *(descriptor + 1); in _ux_host_class_video_input_format_get() 100 descriptor_subtype = *(descriptor + 2); in _ux_host_class_video_input_format_get() 123 _ux_utility_descriptor_parse(descriptor, _ux_system_interface_descriptor_structure, in _ux_host_class_video_input_format_get() 156 … _ux_utility_descriptor_parse(descriptor, _ux_system_class_video_input_header_descriptor_structure, in _ux_host_class_video_input_format_get() 166 video -> ux_host_class_video_format_address = descriptor; in _ux_host_class_video_input_format_get() 190 descriptor += descriptor_length; in _ux_host_class_video_input_format_get()
|
D | ux_host_class_video_frame_data_get.c | 77 UCHAR *descriptor; in _ux_host_class_video_frame_data_get() local 86 descriptor = video -> ux_host_class_video_current_format_address; in _ux_host_class_video_frame_data_get() 94 descriptor_length = *descriptor; in _ux_host_class_video_frame_data_get() 95 descriptor_type = *(descriptor + 1); in _ux_host_class_video_frame_data_get() 96 descriptor_subtype = *(descriptor + 2); in _ux_host_class_video_frame_data_get() 124 … if (frame_parameter -> ux_host_class_video_parameter_frame_requested == *(descriptor + 3)) in _ux_host_class_video_frame_data_get() 128 … _ux_utility_descriptor_parse(descriptor, _ux_system_class_video_frame_descriptor_structure, in _ux_host_class_video_frame_data_get() 140 video -> ux_host_class_video_current_frame_address = descriptor; in _ux_host_class_video_frame_data_get() 165 descriptor += descriptor_length; in _ux_host_class_video_frame_data_get()
|
D | ux_host_class_audio_descriptors_parse.c | 92 UCHAR *descriptor; in _ux_host_class_audio_descriptors_parse() local 119 descriptor = audio -> ux_host_class_audio_configuration_descriptor; in _ux_host_class_audio_descriptors_parse() 135 descriptor_length = *descriptor; in _ux_host_class_audio_descriptors_parse() 136 descriptor_type = *(descriptor + 1); in _ux_host_class_audio_descriptors_parse() 149 if (descriptor[2] == ac_interface || descriptor[2] == as_interface) in _ux_host_class_audio_descriptors_parse() 153 interface_descriptor = descriptor; in _ux_host_class_audio_descriptors_parse() 166 endpoint_descriptor = descriptor; in _ux_host_class_audio_descriptors_parse() 177 status = parse_function(arg, interface_descriptor, endpoint_descriptor, descriptor); in _ux_host_class_audio_descriptors_parse() 198 descriptor += descriptor_length; in _ux_host_class_audio_descriptors_parse()
|
D | ux_host_class_hid_descriptor_parse.c | 86 UCHAR *descriptor; in _ux_host_class_hid_descriptor_parse() local 107 descriptor = start_descriptor; in _ux_host_class_hid_descriptor_parse() 119 …descriptor = _ux_utility_memory_allocate(UX_SAFE_ALIGN, UX_CACHE_SAFE_MEMORY, total_configuration… in _ux_host_class_hid_descriptor_parse() 120 if (descriptor == UX_NULL) in _ux_host_class_hid_descriptor_parse() 124 start_descriptor = descriptor; in _ux_host_class_hid_descriptor_parse() 127 transfer_request -> ux_transfer_request_data_pointer = descriptor; in _ux_host_class_hid_descriptor_parse() 155 descriptor_length = *descriptor; in _ux_host_class_hid_descriptor_parse() 156 descriptor_type = *(descriptor + 1); in _ux_host_class_hid_descriptor_parse() 166 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_DESCRIPTOR_CORRUPTED, descriptor, 0, 0, UX_TRACE_ERRORS… in _ux_host_class_hid_descriptor_parse() 179 _ux_utility_descriptor_parse(descriptor, in _ux_host_class_hid_descriptor_parse() [all …]
|
D | ux_host_class_video_frame_interval_get.c | 81 UCHAR *descriptor; in _ux_host_class_video_frame_interval_get() local 91 descriptor = video -> ux_host_class_video_current_format_address; in _ux_host_class_video_frame_interval_get() 99 descriptor_length = *descriptor; in _ux_host_class_video_frame_interval_get() 100 descriptor_type = *(descriptor + 1); in _ux_host_class_video_frame_interval_get() 101 descriptor_subtype = *(descriptor + 2); in _ux_host_class_video_frame_interval_get() 129 … if (interval_parameter -> ux_host_class_video_parameter_frame_requested == *(descriptor + 3)) in _ux_host_class_video_frame_interval_get() 133 … _ux_utility_descriptor_parse(descriptor, _ux_system_class_video_frame_descriptor_structure, in _ux_host_class_video_frame_interval_get() 165 _ux_utility_long_get(descriptor + 26 + i * sizeof(ULONG)); in _ux_host_class_video_frame_interval_get() 191 descriptor += descriptor_length; in _ux_host_class_video_frame_interval_get()
|
D | ux_host_class_audio_alternate_setting_locate.c | 94 UCHAR * descriptor; in _ux_host_class_audio_alternate_setting_locate() 108 descriptor = audio -> ux_host_class_audio_configuration_descriptor; in _ux_host_class_audio_alternate_setting_locate() 119 descriptor_length = *descriptor; in _ux_host_class_audio_alternate_setting_locate() 120 descriptor_type = *(descriptor + 1); in _ux_host_class_audio_alternate_setting_locate() 121 descriptor_subtype = *(descriptor + 2); in _ux_host_class_audio_alternate_setting_locate() 131 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_DESCRIPTOR_CORRUPTED, descriptor, 0, 0, UX_TRACE_ERRORS… in _ux_host_class_audio_alternate_setting_locate() 143 _ux_utility_descriptor_parse(descriptor, _ux_system_interface_descriptor_structure, in _ux_host_class_audio_alternate_setting_locate() 173 … _ux_utility_descriptor_parse(descriptor, _ux_system_class_audio_interface_descriptor_structure, in _ux_host_class_audio_alternate_setting_locate() 194 … lower_frequency = (ULONG) *(descriptor + UX_HOST_CLASS_AUDIO_INTERFACE_DESCRIPTOR_LENGTH) | in _ux_host_class_audio_alternate_setting_locate() 195 … ((ULONG) *(descriptor + UX_HOST_CLASS_AUDIO_INTERFACE_DESCRIPTOR_LENGTH + 1)) << 8 | in _ux_host_class_audio_alternate_setting_locate() [all …]
|
D | ux_host_class_hid_item_data_get.c | 74 ULONG _ux_host_class_hid_item_data_get(UCHAR *descriptor, UX_HOST_CLASS_HID_ITEM *item) in _ux_host_class_hid_item_data_get() argument 86 value = (ULONG) *descriptor; in _ux_host_class_hid_item_data_get() 92 value = (ULONG) _ux_utility_short_get(descriptor); in _ux_host_class_hid_item_data_get() 98 value = (ULONG) _ux_utility_long_get(descriptor); in _ux_host_class_hid_item_data_get()
|
D | ux_host_class_video_control_list_get.c | 76 UCHAR *descriptor; in _ux_host_class_video_control_list_get() local 87 descriptor = video -> ux_host_class_video_configuration_descriptor; in _ux_host_class_video_control_list_get() 98 descriptor_length = *descriptor; in _ux_host_class_video_control_list_get() 99 descriptor_type = *(descriptor + 1); in _ux_host_class_video_control_list_get() 100 descriptor_subtype = *(descriptor + 2); in _ux_host_class_video_control_list_get() 122 _ux_utility_descriptor_parse(descriptor, _ux_system_interface_descriptor_structure, in _ux_host_class_video_control_list_get() 153 …_ux_utility_descriptor_parse(descriptor, _ux_system_class_video_input_terminal_descriptor_structur… in _ux_host_class_video_control_list_get() 179 descriptor += descriptor_length; in _ux_host_class_video_control_list_get()
|
D | ux_host_class_video_input_terminal_get.c | 76 UCHAR *descriptor; in _ux_host_class_video_input_terminal_get() local 87 descriptor = video -> ux_host_class_video_configuration_descriptor; in _ux_host_class_video_input_terminal_get() 98 descriptor_length = *descriptor; in _ux_host_class_video_input_terminal_get() 99 descriptor_type = *(descriptor + 1); in _ux_host_class_video_input_terminal_get() 100 descriptor_subtype = *(descriptor + 2); in _ux_host_class_video_input_terminal_get() 122 _ux_utility_descriptor_parse(descriptor, _ux_system_interface_descriptor_structure, in _ux_host_class_video_input_terminal_get() 153 …_ux_utility_descriptor_parse(descriptor, _ux_system_class_video_input_terminal_descriptor_structur… in _ux_host_class_video_input_terminal_get() 184 descriptor += descriptor_length; in _ux_host_class_video_input_terminal_get()
|
D | ux_host_class_hub_descriptor_get.c | 36 UINT _ux_host_class_hub_descriptor_parse(UX_HOST_CLASS_HUB *hub, UCHAR *descriptor); 41 _ux_host_class_hub_descriptor_parse(UX_HOST_CLASS_HUB *hub, UCHAR *descriptor) in _ux_host_class_hub_descriptor_parse() argument 48 …_ux_utility_descriptor_parse(descriptor, _ux_system_hub_descriptor_structure, UX_HUB_DESCRIPTOR_EN… in _ux_host_class_hub_descriptor_parse() 182 UCHAR *descriptor; in _ux_host_class_hub_descriptor_get() local 193 …descriptor = _ux_utility_memory_allocate(UX_SAFE_ALIGN, UX_CACHE_SAFE_MEMORY, UX_HUB_DESCRIPTOR_L… in _ux_host_class_hub_descriptor_get() 194 if (descriptor == UX_NULL) in _ux_host_class_hub_descriptor_get() 198 transfer_request -> ux_transfer_request_data_pointer = descriptor; in _ux_host_class_hub_descriptor_get() 208 hub -> ux_host_class_hub_allocated = descriptor; in _ux_host_class_hub_descriptor_get() 228 status = _ux_host_class_hub_descriptor_parse(hub, descriptor); in _ux_host_class_hub_descriptor_get() 236 … UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, status, descriptor, 0, 0, UX_TRACE_ERRORS, 0, 0) in _ux_host_class_hub_descriptor_get() [all …]
|
D | ux_host_class_cdc_ecm_mac_address_get.c | 89 UCHAR *descriptor; in _ux_host_class_cdc_ecm_mac_address_get() local 114 …descriptor = _ux_utility_memory_allocate(UX_SAFE_ALIGN, UX_CACHE_SAFE_MEMORY, UX_CONFIGURATION_DE… in _ux_host_class_cdc_ecm_mac_address_get() 115 if (descriptor == UX_NULL) in _ux_host_class_cdc_ecm_mac_address_get() 119 start_descriptor = descriptor; in _ux_host_class_cdc_ecm_mac_address_get() 122 transfer_request -> ux_transfer_request_data_pointer = descriptor; in _ux_host_class_cdc_ecm_mac_address_get() 137 _ux_utility_descriptor_parse(descriptor, _ux_system_configuration_descriptor_structure, in _ux_host_class_cdc_ecm_mac_address_get() 141 _ux_utility_memory_free(descriptor); in _ux_host_class_cdc_ecm_mac_address_get() 145 …descriptor = _ux_utility_memory_allocate(UX_SAFE_ALIGN, UX_CACHE_SAFE_MEMORY, total_configuration… in _ux_host_class_cdc_ecm_mac_address_get() 146 if (descriptor == UX_NULL) in _ux_host_class_cdc_ecm_mac_address_get() 150 start_descriptor = descriptor; in _ux_host_class_cdc_ecm_mac_address_get() [all …]
|
D | ux_host_class_hid_global_item_parse.c | 77 …lass_hid_global_item_parse(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_ITEM *item, UCHAR *descriptor) in _ux_host_class_hid_global_item_parse() argument 94 _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_global_item_parse() 102 … (SLONG) _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_global_item_parse() 110 … (SLONG) _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_global_item_parse() 118 … (SLONG) _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_global_item_parse() 126 … (SLONG) _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_global_item_parse() 134 _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_global_item_parse() 142 _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_global_item_parse() 150 _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_global_item_parse() 171 _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_global_item_parse() [all …]
|
/USBX-v6.2.1/common/core/src/ |
D | ux_utility_descriptor_pack.c | 77 VOID _ux_utility_descriptor_pack(UCHAR * descriptor, UCHAR * descriptor_structure, in _ux_utility_descriptor_pack() argument 93 _ux_utility_long_put(raw_descriptor, *((ULONG *) descriptor)); in _ux_utility_descriptor_pack() 99 _ux_utility_short_put(raw_descriptor, (USHORT)*((ULONG *) descriptor)); in _ux_utility_descriptor_pack() 105 *raw_descriptor = (UCHAR) *((ULONG *) descriptor); in _ux_utility_descriptor_pack() 110 descriptor += 4; in _ux_utility_descriptor_pack()
|
D | ux_utility_descriptor_parse.c | 78 UINT descriptor_entries, UCHAR * descriptor) in _ux_utility_descriptor_parse() 93 *((ULONG *) descriptor) = _ux_utility_long_get(raw_descriptor); in _ux_utility_descriptor_parse() 99 *((ULONG *) descriptor) = (ULONG) _ux_utility_short_get(raw_descriptor); in _ux_utility_descriptor_parse() 105 *((ULONG *) descriptor) = (ULONG) *raw_descriptor; in _ux_utility_descriptor_parse() 110 descriptor += 4; in _ux_utility_descriptor_parse()
|
D | ux_host_stack_device_descriptor_read.c | 86 UCHAR * descriptor; in _ux_host_stack_device_descriptor_read() local 97 …descriptor = _ux_utility_memory_allocate(UX_SAFE_ALIGN, UX_CACHE_SAFE_MEMORY, UX_DEVICE_DESCRIPTO… in _ux_host_stack_device_descriptor_read() 98 if (descriptor == UX_NULL) in _ux_host_stack_device_descriptor_read() 104 transfer_request -> ux_transfer_request_data_pointer = descriptor; in _ux_host_stack_device_descriptor_read() 125 …_ux_utility_descriptor_parse(descriptor, _ux_system_device_descriptor_structure, UX_DEVICE_DESCRIP… in _ux_host_stack_device_descriptor_read() 132 _ux_utility_memory_free(descriptor); in _ux_host_stack_device_descriptor_read() 144 _ux_utility_memory_free(descriptor); in _ux_host_stack_device_descriptor_read() 164 _ux_utility_memory_free(descriptor); in _ux_host_stack_device_descriptor_read() 173 transfer_request -> ux_transfer_request_data_pointer = descriptor; in _ux_host_stack_device_descriptor_read() 189 …_ux_utility_descriptor_parse(descriptor, _ux_system_device_descriptor_structure, UX_DEVICE_DESCRIP… in _ux_host_stack_device_descriptor_read() [all …]
|
D | ux_host_stack_new_interface_create.c | 90 UCHAR * descriptor, ULONG length) in _ux_host_stack_new_interface_create() argument 113 _ux_utility_descriptor_parse(descriptor, in _ux_host_stack_new_interface_create() 156 this_interface_descriptor = descriptor; in _ux_host_stack_new_interface_create() 162 descriptor_length = *descriptor; in _ux_host_stack_new_interface_create() 163 descriptor_type = *(descriptor+1); in _ux_host_stack_new_interface_create() 173 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_DESCRIPTOR_CORRUPTED, descriptor, 0, 0, UX_TRACE_ERRORS… in _ux_host_stack_new_interface_create() 183 status = _ux_host_stack_new_endpoint_create(interface_ptr, descriptor); in _ux_host_stack_new_interface_create() 193 …ength > length) || (descriptor_type == UX_INTERFACE_DESCRIPTOR_ITEM && descriptor != this_interfac… in _ux_host_stack_new_interface_create() 200 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_DESCRIPTOR_CORRUPTED, descriptor, 0, 0, UX_TRACE_ERRORS… in _ux_host_stack_new_interface_create() 206 descriptor += descriptor_length; in _ux_host_stack_new_interface_create()
|
D | ux_host_stack_interfaces_scan.c | 76 UINT _ux_host_stack_interfaces_scan(UX_CONFIGURATION *configuration, UCHAR * descriptor) in _ux_host_stack_interfaces_scan() argument 102 descriptor_length = *descriptor; in _ux_host_stack_interfaces_scan() 103 descriptor_type = *(descriptor + 1); in _ux_host_stack_interfaces_scan() 113 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_DESCRIPTOR_CORRUPTED, descriptor, 0, 0, UX_TRACE_ERRORS… in _ux_host_stack_interfaces_scan() 123 _ux_utility_descriptor_parse(descriptor, in _ux_host_stack_interfaces_scan() 146 …status = _ux_host_stack_new_interface_create(configuration, descriptor, total_configuration_lengt… in _ux_host_stack_interfaces_scan() 179 … configuration -> ux_configuration_otg_capabilities = (ULONG) *(descriptor + UX_OTG_BM_ATTRIBUTES); in _ux_host_stack_interfaces_scan() 189 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_DESCRIPTOR_CORRUPTED, descriptor, 0, 0, UX_TRACE_ERRORS… in _ux_host_stack_interfaces_scan() 194 descriptor += descriptor_length; in _ux_host_stack_interfaces_scan()
|