Home
last modified time | relevance | path

Searched refs:ux_interface_descriptor (Results 1 – 25 of 161) sorted by relevance

1234567

/USBX-v6.2.1/common/core/src/
Dux_host_stack_configuration_interface_scan.c102 if(interface_ptr -> ux_interface_descriptor.bAlternateSetting == 0) in _ux_host_stack_configuration_interface_scan()
110 …_command.ux_host_class_command_class = interface_ptr -> ux_interface_descriptor.bInterfac… in _ux_host_stack_configuration_interface_scan()
111 …_command.ux_host_class_command_subclass = interface_ptr -> ux_interface_descriptor.bInterfac… in _ux_host_stack_configuration_interface_scan()
112 …_command.ux_host_class_command_protocol = interface_ptr -> ux_interface_descriptor.bInterfac… in _ux_host_stack_configuration_interface_scan()
163 if (interface_ptr -> ux_interface_descriptor.bAlternateSetting == 0) in _ux_host_stack_configuration_interface_scan()
Dux_host_stack_interface_setting_select.c106 current_interface_number = interface_ptr -> ux_interface_descriptor.bInterfaceNumber; in _ux_host_stack_interface_setting_select()
127 … if (current_interface -> ux_interface_descriptor.bInterfaceNumber == current_interface_number) in _ux_host_stack_interface_setting_select()
132 if (current_interface -> ux_interface_descriptor.bAlternateSetting == 0) in _ux_host_stack_interface_setting_select()
144 … if (current_alternate_setting == current_interface -> ux_interface_descriptor.bAlternateSetting) in _ux_host_stack_interface_setting_select()
164 …ce -> ux_interface_current_alternate_setting = interface_ptr -> ux_interface_descriptor.bAlternat… in _ux_host_stack_interface_setting_select()
Dux_host_stack_configuration_instance_delete.c100 if (interface_ptr -> ux_interface_descriptor.bAlternateSetting == 0) in _ux_host_stack_configuration_instance_delete()
106 if (interface_ptr -> ux_interface_descriptor.bAlternateSetting == current_alternate_setting) in _ux_host_stack_configuration_instance_delete()
Dux_host_stack_interface_set.c102 …x_transfer_request_index = (USHORT) interface_ptr -> ux_interface_descriptor.bInterfac… in _ux_host_stack_interface_set()
103 …x_transfer_request_value = (USHORT) interface_ptr -> ux_interface_descriptor.bAlternat… in _ux_host_stack_interface_set()
/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_video_alternate_setting_locate.c95 …interface = video -> ux_host_class_video_streaming_interface -> ux_interface_descriptor.bInterfac… in _ux_host_class_video_alternate_setting_locate()
104 if ((interface_ptr -> ux_interface_descriptor.bInterfaceNumber == streaming_interface) && in _ux_host_class_video_alternate_setting_locate()
125 *alternate_setting = interface_ptr -> ux_interface_descriptor.bAlternateSetting; in _ux_host_class_video_alternate_setting_locate()
138 … *alternate_setting = interface_ptr -> ux_interface_descriptor.bAlternateSetting; in _ux_host_class_video_alternate_setting_locate()
Dux_host_class_printer_endpoints_get.c84 …; endpoint_index < printer -> ux_host_class_printer_interface -> ux_interface_descriptor.bNumEndpo… in _ux_host_class_printer_endpoints_get()
126 … if ((printer -> ux_host_class_printer_interface -> ux_interface_descriptor.bInterfaceProtocol == in _ux_host_class_printer_endpoints_get()
128 … (printer -> ux_host_class_printer_interface -> ux_interface_descriptor.bInterfaceProtocol == in _ux_host_class_printer_endpoints_get()
132 …; endpoint_index < printer -> ux_host_class_printer_interface -> ux_interface_descriptor.bNumEndpo… in _ux_host_class_printer_endpoints_get()
Dux_host_class_cdc_ecm_endpoints_get.c98 if (data_interface -> ux_interface_descriptor.bNumEndpoints == 0) in _ux_host_class_cdc_ecm_endpoints_get()
106 … data_interface -> ux_interface_descriptor.bInterfaceClass != UX_HOST_CLASS_CDC_DATA_CLASS || in _ux_host_class_cdc_ecm_endpoints_get()
107 data_interface -> ux_interface_descriptor.bAlternateSetting != 1) in _ux_host_class_cdc_ecm_endpoints_get()
131 … for (endpoint_index = 0; endpoint_index < data_interface -> ux_interface_descriptor.bNumEndpoints; in _ux_host_class_cdc_ecm_endpoints_get()
177 … for (endpoint_index = 0; endpoint_index < data_interface -> ux_interface_descriptor.bNumEndpoints; in _ux_host_class_cdc_ecm_endpoints_get()
225 …nt_index < cdc_ecm -> ux_host_class_cdc_ecm_interface_control -> ux_interface_descriptor.bNumEndpo… in _ux_host_class_cdc_ecm_endpoints_get()
Dux_host_class_storage_device_support_check.c83 switch(storage -> ux_host_class_storage_interface -> ux_interface_descriptor.bInterfaceProtocol) in _ux_host_class_storage_device_support_check()
107 …if (storage -> ux_host_class_storage_interface -> ux_interface_descriptor.bInterfaceSubClass == UX… in _ux_host_class_storage_device_support_check()
128 … switch (storage -> ux_host_class_storage_interface -> ux_interface_descriptor.bInterfaceSubClass) in _ux_host_class_storage_device_support_check()
Dux_host_class_video_stop.c99 …interface = video -> ux_host_class_video_streaming_interface -> ux_interface_descriptor.bInterfac… in _ux_host_class_video_stop()
119 if ((interface_ptr -> ux_interface_descriptor.bInterfaceNumber == streaming_interface) && in _ux_host_class_video_stop()
120 (interface_ptr -> ux_interface_descriptor.bAlternateSetting == 0)) in _ux_host_class_video_stop()
Dux_host_class_audio_stop.c100 …interface = audio -> ux_host_class_audio_streaming_interface -> ux_interface_descriptor.bInterfac… in _ux_host_class_audio_stop()
125 if ((interface_ptr -> ux_interface_descriptor.bInterfaceNumber == streaming_interface) && in _ux_host_class_audio_stop()
126 (interface_ptr -> ux_interface_descriptor.bAlternateSetting == 0)) in _ux_host_class_audio_stop()
Dux_host_class_storage_endpoints_get.c92 …; endpoint_index < storage -> ux_host_class_storage_interface -> ux_interface_descriptor.bNumEndpo… in _ux_host_class_storage_endpoints_get()
132 …; endpoint_index < storage -> ux_host_class_storage_interface -> ux_interface_descriptor.bNumEndpo… in _ux_host_class_storage_endpoints_get()
182 …if (storage -> ux_host_class_storage_interface -> ux_interface_descriptor.bInterfaceProtocol == UX… in _ux_host_class_storage_endpoints_get()
186 …; endpoint_index < storage -> ux_host_class_storage_interface -> ux_interface_descriptor.bNumEndpo… in _ux_host_class_storage_endpoints_get()
Dux_host_class_storage_device_reset.c89 …if (storage -> ux_host_class_storage_interface -> ux_interface_descriptor.bInterfaceProtocol == UX… in _ux_host_class_storage_device_reset()
106 …ndex = storage -> ux_host_class_storage_interface -> ux_interface_descriptor.bInterfac… in _ux_host_class_storage_device_reset()
Dux_host_class_video_channel_start.c120 …interface = video -> ux_host_class_video_streaming_interface -> ux_interface_descriptor.bInterfac… in _ux_host_class_video_channel_start()
221 … if ((interface_ptr -> ux_interface_descriptor.bInterfaceNumber == streaming_interface) && in _ux_host_class_video_channel_start()
222 … (interface_ptr -> ux_interface_descriptor.bAlternateSetting == alternate_setting)) in _ux_host_class_video_channel_start()
237 …for (endpoint_index = 0; endpoint_index < interface_ptr -> ux_interface_descriptor.bNumEndpoints; … in _ux_host_class_video_channel_start()
Dux_host_class_storage_media_recovery_sense_get.c90 …if (storage -> ux_host_class_storage_interface -> ux_interface_descriptor.bInterfaceSubClass == UX… in _ux_host_class_storage_media_recovery_sense_get()
102 … switch (storage -> ux_host_class_storage_interface -> ux_interface_descriptor.bInterfaceSubClass) in _ux_host_class_storage_media_recovery_sense_get()
Dux_host_class_audio_activate.c125 …if (interface_ptr -> ux_interface_descriptor.bInterfaceSubClass == UX_HOST_CLASS_AUDIO_SUBCLASS_CO… in _ux_host_class_audio_activate()
168 if (desc[2] == interface_ptr -> ux_interface_descriptor.bInterfaceNumber) in _ux_host_class_audio_activate()
175 if (desc[2] == interface_ptr -> ux_interface_descriptor.bInterfaceNumber) in _ux_host_class_audio_activate()
369 (ac -> ux_host_class_audio_interface -> ux_interface_descriptor.bInterfaceNumber == in _ux_host_class_audio_activate()
371 (ac -> ux_host_class_audio_interface -> ux_interface_descriptor.bInterfaceClass == in _ux_host_class_audio_activate()
373 … (ac -> ux_host_class_audio_interface -> ux_interface_descriptor.bInterfaceSubClass == in _ux_host_class_audio_activate()
Dux_host_class_cdc_acm_endpoints_get.c96 …if (cdc_acm -> ux_host_class_cdc_acm_interface -> ux_interface_descriptor.bInterfaceClass == UX_HO… in _ux_host_class_cdc_acm_endpoints_get()
100 …; endpoint_index < cdc_acm -> ux_host_class_cdc_acm_interface -> ux_interface_descriptor.bNumEndpo… in _ux_host_class_cdc_acm_endpoints_get()
167 …; endpoint_index < cdc_acm -> ux_host_class_cdc_acm_interface -> ux_interface_descriptor.bNumEndpo… in _ux_host_class_cdc_acm_endpoints_get()
Dux_host_class_pima_endpoints_get.c90 …ex = 0; endpoint_index < pima -> ux_host_class_pima_interface -> ux_interface_descriptor.bNumEndpo… in _ux_host_class_pima_endpoints_get()
130 …ex = 0; endpoint_index < pima -> ux_host_class_pima_interface -> ux_interface_descriptor.bNumEndpo… in _ux_host_class_pima_endpoints_get()
170 …ex = 0; endpoint_index < pima -> ux_host_class_pima_interface -> ux_interface_descriptor.bNumEndpo… in _ux_host_class_pima_endpoints_get()
Dux_host_class_storage_media_protection_check.c92 …if (storage -> ux_host_class_storage_interface -> ux_interface_descriptor.bInterfaceSubClass == UX… in _ux_host_class_storage_media_protection_check()
104 … switch (storage -> ux_host_class_storage_interface -> ux_interface_descriptor.bInterfaceSubClass) in _ux_host_class_storage_media_protection_check()
Dux_host_class_prolific_endpoints_get.c92 …endpoint_index < prolific -> ux_host_class_prolific_interface -> ux_interface_descriptor.bNumEndpo… in _ux_host_class_prolific_endpoints_get()
132 …endpoint_index < prolific -> ux_host_class_prolific_interface -> ux_interface_descriptor.bNumEndpo… in _ux_host_class_prolific_endpoints_get()
172 …endpoint_index < prolific -> ux_host_class_prolific_interface -> ux_interface_descriptor.bNumEndpo… in _ux_host_class_prolific_endpoints_get()
Dux_host_class_swar_endpoints_get.c82 …ex = 0; endpoint_index < swar -> ux_host_class_swar_interface -> ux_interface_descriptor.bNumEndpo… in _ux_host_class_swar_endpoints_get()
123 …ex = 0; endpoint_index < swar -> ux_host_class_swar_interface -> ux_interface_descriptor.bNumEndpo… in _ux_host_class_swar_endpoints_get()
Dux_host_class_asix_endpoints_get.c93 …ex = 0; endpoint_index < asix -> ux_host_class_asix_interface -> ux_interface_descriptor.bNumEndpo… in _ux_host_class_asix_endpoints_get()
140 …ex = 0; endpoint_index < asix -> ux_host_class_asix_interface -> ux_interface_descriptor.bNumEndpo… in _ux_host_class_asix_endpoints_get()
183 …ex = 0; endpoint_index < asix -> ux_host_class_asix_interface -> ux_interface_descriptor.bNumEndpo… in _ux_host_class_asix_endpoints_get()
/USBX-v6.2.1/test/regression/
Dusbx_msrc_81489_81570_host_cdc_acm_standalone_ac_search_test.c362 …if (cdc_acm -> ux_host_class_cdc_acm_interface -> ux_interface_descriptor.bInterfaceClass == UX_HO… in demo_system_host_change_function()
370 …if (cdc_acm -> ux_host_class_cdc_acm_interface -> ux_interface_descriptor.bInterfaceClass == UX_HO… in demo_system_host_change_function()
538 fake_interface[0].ux_interface_descriptor.bInterfaceNumber = 0; in _msrc_81489_81570_cdc_activate_data_control_search_link_tests()
539 fake_interface[0].ux_interface_descriptor.bAlternateSetting = 0; in _msrc_81489_81570_cdc_activate_data_control_search_link_tests()
540 fake_interface[0].ux_interface_descriptor.bInterfaceClass = UX_HOST_CLASS_CDC_CONTROL_CLASS; in _msrc_81489_81570_cdc_activate_data_control_search_link_tests()
541 fake_interface[0].ux_interface_descriptor.bInterfaceSubClass = UX_HOST_CLASS_CDC_ACM_SUBCLASS; in _msrc_81489_81570_cdc_activate_data_control_search_link_tests()
545 fake_interface[1].ux_interface_descriptor.bInterfaceNumber = 0; in _msrc_81489_81570_cdc_activate_data_control_search_link_tests()
546 fake_interface[1].ux_interface_descriptor.bAlternateSetting = 0; in _msrc_81489_81570_cdc_activate_data_control_search_link_tests()
547 fake_interface[1].ux_interface_descriptor.bInterfaceClass = UX_HOST_CLASS_CDC_DATA_CLASS; in _msrc_81489_81570_cdc_activate_data_control_search_link_tests()
548 fake_interface[1].ux_interface_descriptor.bInterfaceSubClass = 0; in _msrc_81489_81570_cdc_activate_data_control_search_link_tests()
Dusbx_cdc_ecm_data_interface_setting_select_fails_test.c37 …-> ux_transfer_request_index = (USHORT) interface -> ux_interface_descriptor.bInterfac… in post_init_host()
38 …-> ux_transfer_request_value = (USHORT) interface -> ux_interface_descriptor.bAlternat… in post_init_host()
Dusbx_ux_device_class_hid_control_request_test.c458 …equest_index = hid -> ux_host_class_hid_interface -> ux_interface_descriptor.bInterfac… in tx_demo_thread_host_simulation_entry()
488 …equest_index = hid -> ux_host_class_hid_interface -> ux_interface_descriptor.bInterfac… in tx_demo_thread_host_simulation_entry()
511 …equest_index = hid -> ux_host_class_hid_interface -> ux_interface_descriptor.bInterfac… in tx_demo_thread_host_simulation_entry()
532 …equest_index = hid -> ux_host_class_hid_interface -> ux_interface_descriptor.bInterfac… in tx_demo_thread_host_simulation_entry()
561 …equest_index = hid -> ux_host_class_hid_interface -> ux_interface_descriptor.bInterfac… in tx_demo_thread_host_simulation_entry()
591 …equest_index = hid -> ux_host_class_hid_interface -> ux_interface_descriptor.bInterfac… in tx_demo_thread_host_simulation_entry()
617 …equest_index = hid -> ux_host_class_hid_interface -> ux_interface_descriptor.bInterfac… in tx_demo_thread_host_simulation_entry()
647 …equest_index = hid -> ux_host_class_hid_interface -> ux_interface_descriptor.bInterfac… in tx_demo_thread_host_simulation_entry()
Dusbx_ux_device_class_hid_report_test.c480 …rd->ux_host_class_hid_keyboard_hid->ux_host_class_hid_interface->ux_interface_descriptor.bInterfac… in tx_demo_thread_host_simulation_entry()
495 …mouse->ux_host_class_hid_mouse_hid->ux_host_class_hid_interface->ux_interface_descriptor.bInterfac… in tx_demo_thread_host_simulation_entry()
516 …rd->ux_host_class_hid_keyboard_hid->ux_host_class_hid_interface->ux_interface_descriptor.bInterfac… in tx_demo_thread_host_simulation_entry()
555 …rd->ux_host_class_hid_keyboard_hid->ux_host_class_hid_interface->ux_interface_descriptor.bInterfac… in tx_demo_thread_host_simulation_entry()
573 …rd->ux_host_class_hid_keyboard_hid->ux_host_class_hid_interface->ux_interface_descriptor.bInterfac… in tx_demo_thread_host_simulation_entry()
588 …mouse->ux_host_class_hid_mouse_hid->ux_host_class_hid_interface->ux_interface_descriptor.bInterfac… in tx_demo_thread_host_simulation_entry()
604 …mouse->ux_host_class_hid_mouse_hid->ux_host_class_hid_interface->ux_interface_descriptor.bInterfac… in tx_demo_thread_host_simulation_entry()
622 …mouse->ux_host_class_hid_mouse_hid->ux_host_class_hid_interface->ux_interface_descriptor.bInterfac… in tx_demo_thread_host_simulation_entry()
648 …mouse->ux_host_class_hid_mouse_hid->ux_host_class_hid_interface->ux_interface_descriptor.bInterfac… in tx_demo_thread_host_simulation_entry()
666 …rd->ux_host_class_hid_keyboard_hid->ux_host_class_hid_interface->ux_interface_descriptor.bInterfac… in tx_demo_thread_host_simulation_entry()

1234567