Home
last modified time | relevance | path

Searched refs:descriptor_type (Results 1 – 25 of 36) sorted by relevance

12

/USBX-v6.2.1/common/usbx_device_classes/src/
Dux_device_class_hid_descriptor_send.c81 UINT _ux_device_class_hid_descriptor_send(UX_SLAVE_CLASS_HID *hid, ULONG descriptor_type, in _ux_device_class_hid_descriptor_send() argument
99 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_DEVICE_CLASS_HID_DESCRIPTOR_SEND, hid, descriptor_type, request_i… in _ux_device_class_hid_descriptor_send()
117 descriptor_type = (UCHAR) ((descriptor_type >> 8) & 0xff); in _ux_device_class_hid_descriptor_send()
120 switch (descriptor_type) in _ux_device_class_hid_descriptor_send()
135 descriptor_type = *(device_framework + 1); in _ux_device_class_hid_descriptor_send()
141 if (descriptor_type == UX_INTERFACE_DESCRIPTOR_ITEM) in _ux_device_class_hid_descriptor_send()
145 if ((descriptor_type == UX_DEVICE_CLASS_HID_DESCRIPTOR_HID) && in _ux_device_class_hid_descriptor_send()
Dux_device_class_hid_report_set.c79 UINT _ux_device_class_hid_report_set(UX_SLAVE_CLASS_HID *hid, ULONG descriptor_type, in _ux_device_class_hid_report_set() argument
93 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_DEVICE_CLASS_HID_REPORT_SET, hid, descriptor_type, request_index,… in _ux_device_class_hid_report_set()
105 hid_event.ux_device_class_hid_event_report_type = descriptor_type; in _ux_device_class_hid_report_set()
Dux_device_class_hid_report_get.c81 UINT _ux_device_class_hid_report_get(UX_SLAVE_CLASS_HID *hid, ULONG descriptor_type, in _ux_device_class_hid_report_get() argument
95 UX_PARAMETER_NOT_USED(descriptor_type); in _ux_device_class_hid_report_get()
99 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_DEVICE_CLASS_HID_REPORT_GET, hid, descriptor_type, request_index,… in _ux_device_class_hid_report_get()
Dux_device_class_hid_control_request.c104 ULONG descriptor_type; in _ux_device_class_hid_control_request() local
142 descriptor_type = (request_value & 0xff00) >> 8; in _ux_device_class_hid_control_request()
145 _ux_device_class_hid_report_set(hid, descriptor_type, request_index, request_length); in _ux_device_class_hid_control_request()
Dux_device_class_dfu_initialize.c101 UCHAR descriptor_type; in _ux_device_class_dfu_initialize() local
153 descriptor_type = *(dfu_framework + 1); in _ux_device_class_dfu_initialize()
156 if (descriptor_type == UX_DFU_FUNCTIONAL_DESCRIPTOR_ITEM) in _ux_device_class_dfu_initialize()
/USBX-v6.2.1/common/core/src/
Dux_device_stack_descriptor_send.c98 UINT _ux_device_stack_descriptor_send(ULONG descriptor_type, ULONG request_index, ULONG host_lengt… in _ux_device_stack_descriptor_send() argument
130 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_DEVICE_STACK_DESCRIPTOR_SEND, descriptor_type, request_index, 0, … in _ux_device_stack_descriptor_send()
148 descriptor_index = descriptor_type & 0xff; in _ux_device_stack_descriptor_send()
154 descriptor_type = (UCHAR) ((descriptor_type >> 8) & 0xff); in _ux_device_stack_descriptor_send()
160 switch (descriptor_type) in _ux_device_stack_descriptor_send()
173 if (descriptor_type == UX_DEVICE_QUALIFIER_DESCRIPTOR_ITEM && in _ux_device_stack_descriptor_send()
181 if (descriptor_type == UX_OTG_DESCRIPTOR_ITEM && in _ux_device_stack_descriptor_send()
198 if (*(device_framework + 1) == descriptor_type) in _ux_device_stack_descriptor_send()
226 if (descriptor_type == UX_OTHER_SPEED_DESCRIPTOR_ITEM) in _ux_device_stack_descriptor_send()
256 if (descriptor_type == UX_BOS_DESCRIPTOR_ITEM) in _ux_device_stack_descriptor_send()
[all …]
Dux_host_stack_interfaces_scan.c80 UINT descriptor_type; in _ux_host_stack_interfaces_scan() local
102 descriptor_type = *(descriptor + 1); in _ux_host_stack_interfaces_scan()
118 if (descriptor_type == UX_INTERFACE_ASSOCIATION_DESCRIPTOR_ITEM) in _ux_host_stack_interfaces_scan()
140 if (descriptor_type == UX_INTERFACE_DESCRIPTOR_ITEM) in _ux_host_stack_interfaces_scan()
175 if (descriptor_type == UX_OTG_DESCRIPTOR_ITEM) in _ux_host_stack_interfaces_scan()
Dux_host_stack_new_interface_create.c96 UINT descriptor_type; in _ux_host_stack_new_interface_create() local
162 descriptor_type = *(descriptor+1); in _ux_host_stack_new_interface_create()
178 if (descriptor_type == UX_ENDPOINT_DESCRIPTOR_ITEM) 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()
Dux_device_stack_configuration_set.c91 UCHAR descriptor_type; in _ux_device_stack_configuration_set() local
138 descriptor_type = *(device_framework + 1); in _ux_device_stack_configuration_set()
141 if (descriptor_type == UX_CONFIGURATION_DESCRIPTOR_ITEM) in _ux_device_stack_configuration_set()
252 descriptor_type = *(device_framework + 1); in _ux_device_stack_configuration_set()
255 if(descriptor_type == UX_INTERFACE_ASSOCIATION_DESCRIPTOR_ITEM) in _ux_device_stack_configuration_set()
269 if(descriptor_type == UX_INTERFACE_DESCRIPTOR_ITEM) in _ux_device_stack_configuration_set()
Dux_device_stack_alternate_setting_set.c100 UCHAR descriptor_type; in _ux_device_stack_alternate_setting_set() local
186 descriptor_type =* (device_framework + 1); in _ux_device_stack_alternate_setting_set()
189 if (descriptor_type == UX_CONFIGURATION_DESCRIPTOR_ITEM) in _ux_device_stack_alternate_setting_set()
216 descriptor_type = *(device_framework + 1); in _ux_device_stack_alternate_setting_set()
219 if (descriptor_type == UX_INTERFACE_DESCRIPTOR_ITEM) in _ux_device_stack_alternate_setting_set()
277 descriptor_type = *(device_framework + 1); in _ux_device_stack_alternate_setting_set()
280 switch(descriptor_type) in _ux_device_stack_alternate_setting_set()
Dux_device_stack_interface_set.c102 UCHAR descriptor_type; in _ux_device_stack_interface_set() local
194 descriptor_type = *(device_framework + 1); in _ux_device_stack_interface_set()
197 switch(descriptor_type) in _ux_device_stack_interface_set()
/USBX-v6.2.1/test/regression/
Dusbx_ux_host_class_hid_descriptor_parse_coverage_test.c31 UINT descriptor_type = 0; in test_application_define() local
57 packed_configuration[1] = descriptor_type; in test_application_define()
61 packed_configuration[1] = descriptor_type; in test_application_define()
/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_video_frame_data_get.c101 ULONG descriptor_type; in _ux_host_class_video_frame_data_get() local
116 descriptor_type = *(descriptor + 1); in _ux_host_class_video_frame_data_get()
133 if (descriptor_type == UX_HOST_CLASS_VIDEO_CS_INTERFACE) in _ux_host_class_video_frame_data_get()
161 … frame_parameter -> ux_host_class_video_parameter_frame_subtype = descriptor_type; in _ux_host_class_video_frame_data_get()
Dux_host_class_video_control_list_get.c80 ULONG descriptor_type; in _ux_host_class_video_control_list_get() local
98 descriptor_type = *(descriptor + 1); in _ux_host_class_video_control_list_get()
115 switch (descriptor_type) in _ux_host_class_video_control_list_get()
Dux_host_class_video_input_terminal_get.c80 ULONG descriptor_type; in _ux_host_class_video_input_terminal_get() local
98 descriptor_type = *(descriptor + 1); in _ux_host_class_video_input_terminal_get()
115 switch (descriptor_type) in _ux_host_class_video_input_terminal_get()
Dux_host_class_video_input_format_get.c80 ULONG descriptor_type; in _ux_host_class_video_input_format_get() local
98 descriptor_type = *(descriptor + 1); in _ux_host_class_video_input_format_get()
115 switch (descriptor_type) in _ux_host_class_video_input_format_get()
Dux_host_class_hid_descriptor_parse.c94 UINT descriptor_type; in _ux_host_class_hid_descriptor_parse() local
155 descriptor_type = *(descriptor + 1); in _ux_host_class_hid_descriptor_parse()
174 if (descriptor_type == UX_INTERFACE_DESCRIPTOR_ITEM) in _ux_host_class_hid_descriptor_parse()
189 if (descriptor_type == UX_HOST_CLASS_HID_DESCRIPTOR) in _ux_host_class_hid_descriptor_parse()
Dux_host_class_video_entities_parse.c102 ULONG descriptor_type; in _ux_host_class_video_entities_parse() local
123 descriptor_type = *(descriptor + 1); in _ux_host_class_video_entities_parse()
130 switch (descriptor_type) in _ux_host_class_video_entities_parse()
Dux_host_class_video_frame_interval_get.c84 ULONG descriptor_type; in _ux_host_class_video_frame_interval_get() local
99 descriptor_type = *(descriptor + 1); in _ux_host_class_video_frame_interval_get()
116 if (descriptor_type == UX_HOST_CLASS_VIDEO_CS_INTERFACE) in _ux_host_class_video_frame_interval_get()
Dux_host_class_audio_streaming_terminal_get.c81 ULONG descriptor_type; in _ux_host_class_audio_streaming_terminal_get() local
100 descriptor_type = *(descriptor + 1); in _ux_host_class_audio_streaming_terminal_get()
117 switch(descriptor_type) in _ux_host_class_audio_streaming_terminal_get()
Dux_host_class_video_format_data_get.c81 ULONG descriptor_type; in _ux_host_class_video_format_data_get() local
96 descriptor_type = *(descriptor + 1); in _ux_host_class_video_format_data_get()
113 if (descriptor_type == UX_HOST_CLASS_VIDEO_CS_INTERFACE) in _ux_host_class_video_format_data_get()
Dux_host_class_audio_descriptors_parse.c99 ULONG descriptor_type; in _ux_host_class_audio_descriptors_parse() local
137 descriptor_type = *(descriptor + 1); in _ux_host_class_audio_descriptors_parse()
144 switch (descriptor_type) in _ux_host_class_audio_descriptors_parse()
Dux_host_class_audio_device_controls_list_get.c86 ULONG descriptor_type; in _ux_host_class_audio_device_controls_list_get() local
111 descriptor_type = *(descriptor + 1); in _ux_host_class_audio_device_controls_list_get()
128 switch(descriptor_type) in _ux_host_class_audio_device_controls_list_get()
Dux_host_class_audio_device_type_get.c86 ULONG descriptor_type; in _ux_host_class_audio_device_type_get() local
109 descriptor_type = *(descriptor + 1); in _ux_host_class_audio_device_type_get()
126 switch (descriptor_type) in _ux_host_class_audio_device_type_get()
Dux_host_class_cdc_acm_capabilities_get.c92 UCHAR descriptor_type; in _ux_host_class_cdc_acm_capabilities_get() local
165 descriptor_type = *(descriptor + 1); in _ux_host_class_cdc_acm_capabilities_get()
186 switch (descriptor_type) in _ux_host_class_cdc_acm_capabilities_get()

12