| /USBX-v6.2.1/test/regression/ |
| D | usbx_ux_host_class_cdc_ecm_entry_test.c | 26 UX_HOST_CLASS_COMMAND command = {0}; in post_init_host() local 30 command.ux_host_class_command_request = 0xff; in post_init_host() 31 UX_TEST_ASSERT(_ux_host_class_cdc_ecm_entry(&command) != UX_SUCCESS); in post_init_host() 34 command.ux_host_class_command_request = UX_HOST_CLASS_COMMAND_QUERY; in post_init_host() 35 command.ux_host_class_command_usage = UX_HOST_CLASS_COMMAND_USAGE_CSP; in post_init_host() 36 command.ux_host_class_command_class = UX_HOST_CLASS_CDC_DATA_CLASS; in post_init_host() 37 command.ux_host_class_command_subclass = 1; /* non-zero */ in post_init_host() 38 UX_TEST_ASSERT(_ux_host_class_cdc_ecm_entry(&command) != UX_SUCCESS); in post_init_host() 41 command.ux_host_class_command_request = UX_HOST_CLASS_COMMAND_QUERY; in post_init_host() 42 command.ux_host_class_command_usage = UX_HOST_CLASS_COMMAND_USAGE_CSP; in post_init_host() [all …]
|
| D | ux_device_class_dummy.c | 8 static UINT _ux_device_class_dummy_initialize(UX_SLAVE_CLASS_COMMAND *command) in _ux_device_class_dummy_initialize() argument 17 class = command -> ux_slave_class_command_class_ptr; in _ux_device_class_dummy_initialize() 20 … dummy_parameter = (UX_DEVICE_CLASS_DUMMY_PARAMETER *)command -> ux_slave_class_command_parameter; in _ux_device_class_dummy_initialize() 44 static UINT _ux_device_class_dummy_uninitialize(UX_SLAVE_CLASS_COMMAND *command) in _ux_device_class_dummy_uninitialize() argument 52 class = command -> ux_slave_class_command_class_ptr; in _ux_device_class_dummy_uninitialize() 65 static UINT _ux_device_class_dummy_query(UX_SLAVE_CLASS_COMMAND *command) in _ux_device_class_dummy_query() argument 74 static UINT _ux_device_class_dummy_activate(UX_SLAVE_CLASS_COMMAND *command) in _ux_device_class_dummy_activate() argument 84 class = command -> ux_slave_class_command_class_ptr; in _ux_device_class_dummy_activate() 90 interface = (UX_SLAVE_INTERFACE *) command -> ux_slave_class_command_interface; in _ux_device_class_dummy_activate() 103 static UINT _ux_device_class_dummy_change(UX_SLAVE_CLASS_COMMAND *command) in _ux_device_class_dummy_change() argument [all …]
|
| /USBX-v6.2.1/common/usbx_host_classes/src/ |
| D | ux_host_class_cdc_ecm_entry.c | 78 UINT _ux_host_class_cdc_ecm_entry(UX_HOST_CLASS_COMMAND *command) in _ux_host_class_cdc_ecm_entry() argument 81 UX_PARAMETER_NOT_USED(command); in _ux_host_class_cdc_ecm_entry() 90 switch (command -> ux_host_class_command_request) in _ux_host_class_cdc_ecm_entry() 97 if(command -> ux_host_class_command_usage == UX_HOST_CLASS_COMMAND_USAGE_CSP) in _ux_host_class_cdc_ecm_entry() 101 …if (((command -> ux_host_class_command_class == UX_HOST_CLASS_CDC_DATA_CLASS) && (command -> ux_ho… in _ux_host_class_cdc_ecm_entry() 102 … ((command -> ux_host_class_command_class == UX_HOST_CLASS_CDC_CONTROL_CLASS) && in _ux_host_class_cdc_ecm_entry() 103 … (command -> ux_host_class_command_subclass == UX_HOST_CLASS_CDC_ECM_CONTROL_SUBCLASS))) in _ux_host_class_cdc_ecm_entry() 106 …if ((command -> ux_host_class_command_iad_class == 0) && (command -> ux_host_class_command_iad_sub… in _ux_host_class_cdc_ecm_entry() 114 … if ((command -> ux_host_class_command_iad_class == UX_HOST_CLASS_CDC_CONTROL_CLASS) && in _ux_host_class_cdc_ecm_entry() 115 … (command -> ux_host_class_command_iad_subclass == UX_HOST_CLASS_CDC_ECM_CONTROL_SUBCLASS)) in _ux_host_class_cdc_ecm_entry() [all …]
|
| D | ux_host_class_asix_entry.c | 33 static inline UINT _ux_host_class_asix_try_all_vid_pids(UX_HOST_CLASS_COMMAND *command); 87 UINT _ux_host_class_asix_entry(UX_HOST_CLASS_COMMAND *command) in _ux_host_class_asix_entry() argument 90 UX_PARAMETER_NOT_USED(command); in _ux_host_class_asix_entry() 99 switch (command -> ux_host_class_command_request) in _ux_host_class_asix_entry() 106 if(command -> ux_host_class_command_usage == UX_HOST_CLASS_COMMAND_USAGE_PIDVID) in _ux_host_class_asix_entry() 108 if (_ux_host_class_asix_try_all_vid_pids(command) == UX_SUCCESS) in _ux_host_class_asix_entry() 119 status = _ux_host_class_asix_activate(command); in _ux_host_class_asix_entry() 126 status = _ux_host_class_asix_deactivate(command); in _ux_host_class_asix_entry() 147 static inline UINT _ux_host_class_asix_try_all_vid_pids(UX_HOST_CLASS_COMMAND *command) in _ux_host_class_asix_try_all_vid_pids() argument 154 if ((command -> ux_host_class_command_pid == _ux_host_class_asix_vid_pid_array[pos + 1]) && in _ux_host_class_asix_try_all_vid_pids() [all …]
|
| D | ux_host_class_audio_entry.c | 78 UINT _ux_host_class_audio_entry(UX_HOST_CLASS_COMMAND *command) in _ux_host_class_audio_entry() argument 86 switch (command -> ux_host_class_command_request) in _ux_host_class_audio_entry() 94 if ((command -> ux_host_class_command_usage == UX_HOST_CLASS_COMMAND_USAGE_CSP) && in _ux_host_class_audio_entry() 95 (command -> ux_host_class_command_class == UX_HOST_CLASS_AUDIO_CLASS) && in _ux_host_class_audio_entry() 97 … ((command -> ux_host_class_command_protocol == UX_HOST_CLASS_AUDIO_PROTOCOL_IP_VERSION_01_00) || in _ux_host_class_audio_entry() 98 … (command -> ux_host_class_command_protocol == UX_HOST_CLASS_AUDIO_PROTOCOL_IP_VERSION_02_00)) in _ux_host_class_audio_entry() 100 … (command -> ux_host_class_command_protocol == UX_HOST_CLASS_AUDIO_PROTOCOL_IP_VERSION_01_00) in _ux_host_class_audio_entry() 112 status = _ux_host_class_audio_activate(command); in _ux_host_class_audio_entry() 122 status = _ux_host_class_audio_deactivate(command); in _ux_host_class_audio_entry()
|
| D | ux_host_class_pima_object_copy.c | 82 UX_HOST_CLASS_PIMA_COMMAND command; in _ux_host_class_pima_object_copy() local 97 command.ux_host_class_pima_command_nb_parameters = 3; in _ux_host_class_pima_object_copy() 100 command.ux_host_class_pima_command_parameter_1 = object_handle; in _ux_host_class_pima_object_copy() 103 command.ux_host_class_pima_command_parameter_2 = storage_id; in _ux_host_class_pima_object_copy() 106 command.ux_host_class_pima_command_parameter_3 = parent_object_handle; in _ux_host_class_pima_object_copy() 109 command.ux_host_class_pima_command_parameter_4 = 0; in _ux_host_class_pima_object_copy() 110 command.ux_host_class_pima_command_parameter_5 = 0; in _ux_host_class_pima_object_copy() 113 command.ux_host_class_pima_command_operation_code = UX_HOST_CLASS_PIMA_OC_COPY_OBJECT; in _ux_host_class_pima_object_copy() 116 …status = _ux_host_class_pima_command(pima, &command, UX_HOST_CLASS_PIMA_DATA_PHASE_NONE , UX_NULL, in _ux_host_class_pima_object_copy()
|
| D | ux_host_class_pima_object_move.c | 82 UX_HOST_CLASS_PIMA_COMMAND command; in _ux_host_class_pima_object_move() local 97 command.ux_host_class_pima_command_nb_parameters = 3; in _ux_host_class_pima_object_move() 100 command.ux_host_class_pima_command_parameter_1 = object_handle; in _ux_host_class_pima_object_move() 103 command.ux_host_class_pima_command_parameter_2 = storage_id; in _ux_host_class_pima_object_move() 106 command.ux_host_class_pima_command_parameter_3 = parent_object_handle; in _ux_host_class_pima_object_move() 109 command.ux_host_class_pima_command_parameter_4 = 0; in _ux_host_class_pima_object_move() 110 command.ux_host_class_pima_command_parameter_5 = 0; in _ux_host_class_pima_object_move() 113 command.ux_host_class_pima_command_operation_code = UX_HOST_CLASS_PIMA_OC_MOVE_OBJECT; in _ux_host_class_pima_object_move() 116 …status = _ux_host_class_pima_command(pima, &command, UX_HOST_CLASS_PIMA_DATA_PHASE_NONE , UX_NULL, in _ux_host_class_pima_object_move()
|
| D | ux_host_class_pima_entry.c | 75 UINT _ux_host_class_pima_entry(UX_HOST_CLASS_COMMAND *command) in _ux_host_class_pima_entry() argument 83 switch (command -> ux_host_class_command_request) in _ux_host_class_pima_entry() 90 if((command -> ux_host_class_command_usage == UX_HOST_CLASS_COMMAND_USAGE_CSP) && in _ux_host_class_pima_entry() 91 … ((command -> ux_host_class_command_class == UX_HOST_CLASS_PIMA_CLASS) && in _ux_host_class_pima_entry() 92 … (command -> ux_host_class_command_subclass == UX_HOST_CLASS_PIMA_SUBCLASS) && in _ux_host_class_pima_entry() 93 … (command -> ux_host_class_command_protocol == UX_HOST_CLASS_PIMA_PROTOCOL))) in _ux_host_class_pima_entry() 102 status = _ux_host_class_pima_activate(command); in _ux_host_class_pima_entry() 109 status = _ux_host_class_pima_deactivate(command); in _ux_host_class_pima_entry()
|
| D | ux_host_class_pima_num_objects_get.c | 82 UX_HOST_CLASS_PIMA_COMMAND command; in _ux_host_class_pima_num_objects_get() local 97 command.ux_host_class_pima_command_nb_parameters = 2; in _ux_host_class_pima_num_objects_get() 100 command.ux_host_class_pima_command_parameter_1 = storage_id; in _ux_host_class_pima_num_objects_get() 103 command.ux_host_class_pima_command_parameter_2 = object_format_code; in _ux_host_class_pima_num_objects_get() 106 command.ux_host_class_pima_command_parameter_3 = 0; in _ux_host_class_pima_num_objects_get() 107 command.ux_host_class_pima_command_parameter_4 = 0; in _ux_host_class_pima_num_objects_get() 108 command.ux_host_class_pima_command_parameter_5 = 0; in _ux_host_class_pima_num_objects_get() 111 command.ux_host_class_pima_command_operation_code = UX_HOST_CLASS_PIMA_OC_GET_NUM_OBJECTS; in _ux_host_class_pima_num_objects_get() 114 status = _ux_host_class_pima_command(pima, &command, 0 , UX_NULL, 0, 0); in _ux_host_class_pima_num_objects_get() 120 …pima_session -> ux_host_class_pima_session_nb_objects = command.ux_host_class_pima_command_parame… in _ux_host_class_pima_num_objects_get()
|
| D | ux_host_class_pima_object_delete.c | 81 UX_HOST_CLASS_PIMA_COMMAND command; in _ux_host_class_pima_object_delete() local 96 command.ux_host_class_pima_command_nb_parameters = 1; in _ux_host_class_pima_object_delete() 99 command.ux_host_class_pima_command_parameter_1 = object_handle; in _ux_host_class_pima_object_delete() 102 command.ux_host_class_pima_command_parameter_2 = 0; in _ux_host_class_pima_object_delete() 103 command.ux_host_class_pima_command_parameter_3 = 0; in _ux_host_class_pima_object_delete() 104 command.ux_host_class_pima_command_parameter_4 = 0; in _ux_host_class_pima_object_delete() 105 command.ux_host_class_pima_command_parameter_5 = 0; in _ux_host_class_pima_object_delete() 108 command.ux_host_class_pima_command_operation_code = UX_HOST_CLASS_PIMA_OC_DELETE_OBJECT; in _ux_host_class_pima_object_delete() 111 … status = _ux_host_class_pima_command(pima, &command, UX_HOST_CLASS_PIMA_DATA_PHASE_NONE , UX_NULL, in _ux_host_class_pima_object_delete()
|
| D | ux_host_class_pima_session_close.c | 77 UX_HOST_CLASS_PIMA_COMMAND command; in _ux_host_class_pima_session_close() local 95 command.ux_host_class_pima_command_nb_parameters = 0; in _ux_host_class_pima_session_close() 98 command.ux_host_class_pima_command_operation_code = UX_HOST_CLASS_PIMA_OC_CLOSE_SESSION; in _ux_host_class_pima_session_close() 101 command.ux_host_class_pima_command_parameter_1 = 0; in _ux_host_class_pima_session_close() 102 command.ux_host_class_pima_command_parameter_2 = 0; in _ux_host_class_pima_session_close() 103 command.ux_host_class_pima_command_parameter_3 = 0; in _ux_host_class_pima_session_close() 104 command.ux_host_class_pima_command_parameter_4 = 0; in _ux_host_class_pima_session_close() 105 command.ux_host_class_pima_command_parameter_5 = 0; in _ux_host_class_pima_session_close() 108 status = _ux_host_class_pima_command(pima, &command, 0 , UX_NULL, 0, 0); in _ux_host_class_pima_session_close()
|
| D | ux_host_class_prolific_entry.c | 75 UINT _ux_host_class_prolific_entry(UX_HOST_CLASS_COMMAND *command) in _ux_host_class_prolific_entry() argument 83 switch (command -> ux_host_class_command_request) in _ux_host_class_prolific_entry() 90 if(((command -> ux_host_class_command_usage == UX_HOST_CLASS_COMMAND_USAGE_PIDVID) && in _ux_host_class_prolific_entry() 91 (command -> ux_host_class_command_pid == 0x2303) && in _ux_host_class_prolific_entry() 92 (command -> ux_host_class_command_vid == 0x67b))) in _ux_host_class_prolific_entry() 101 status = _ux_host_class_prolific_activate(command); in _ux_host_class_prolific_entry() 108 status = _ux_host_class_prolific_deactivate(command); in _ux_host_class_prolific_entry()
|
| D | ux_host_class_pima_session_open.c | 79 UX_HOST_CLASS_PIMA_COMMAND command; in _ux_host_class_pima_session_open() local 93 command.ux_host_class_pima_command_nb_parameters = 1; in _ux_host_class_pima_session_open() 96 command.ux_host_class_pima_command_operation_code = UX_HOST_CLASS_PIMA_OC_OPEN_SESSION; in _ux_host_class_pima_session_open() 99 command.ux_host_class_pima_command_parameter_1 = (ULONG) (ALIGN_TYPE) pima_session; in _ux_host_class_pima_session_open() 102 command.ux_host_class_pima_command_parameter_2 = 0; in _ux_host_class_pima_session_open() 103 command.ux_host_class_pima_command_parameter_3 = 0; in _ux_host_class_pima_session_open() 104 command.ux_host_class_pima_command_parameter_4 = 0; in _ux_host_class_pima_session_open() 105 command.ux_host_class_pima_command_parameter_5 = 0; in _ux_host_class_pima_session_open() 108 status = _ux_host_class_pima_command(pima, &command, 0 , UX_NULL, 0, 0); in _ux_host_class_pima_session_open()
|
| /USBX-v6.2.1/common/usbx_device_classes/src/ |
| D | ux_device_class_audio_entry.c | 84 UINT _ux_device_class_audio_entry(UX_SLAVE_CLASS_COMMAND *command) in _ux_device_class_audio_entry() argument 92 switch (command -> ux_slave_class_command_request) in _ux_device_class_audio_entry() 99 status = _uxe_device_class_audio_initialize(command); in _ux_device_class_audio_entry() 101 status = _ux_device_class_audio_initialize(command); in _ux_device_class_audio_entry() 110 status = _ux_device_class_audio_uninitialize(command); in _ux_device_class_audio_entry() 118 if (command -> ux_slave_class_command_class == UX_DEVICE_CLASS_AUDIO_CLASS) in _ux_device_class_audio_entry() 120 … if (command -> ux_slave_class_command_subclass == UX_DEVICE_CLASS_AUDIO_SUBCLASS_CONTROL) in _ux_device_class_audio_entry() 122 … if (command -> ux_slave_class_command_subclass == UX_DEVICE_CLASS_AUDIO_SUBCLASS_AUDIOSTREAMING) in _ux_device_class_audio_entry() 132 status = _ux_device_class_audio_activate(command); in _ux_device_class_audio_entry() 141 status = _ux_device_class_audio_change(command); in _ux_device_class_audio_entry() [all …]
|
| D | ux_device_class_video_entry.c | 79 UINT _ux_device_class_video_entry(UX_SLAVE_CLASS_COMMAND *command) in _ux_device_class_video_entry() argument 87 switch (command -> ux_slave_class_command_request) in _ux_device_class_video_entry() 94 status = _uxe_device_class_video_initialize(command); in _ux_device_class_video_entry() 98 status = _ux_device_class_video_initialize(command); in _ux_device_class_video_entry() 107 status = _ux_device_class_video_uninitialize(command); in _ux_device_class_video_entry() 115 if (command -> ux_slave_class_command_class == UX_DEVICE_CLASS_VIDEO_CLASS) in _ux_device_class_video_entry() 117 … if (command -> ux_slave_class_command_subclass == UX_DEVICE_CLASS_VIDEO_SUBCLASS_CONTROL) in _ux_device_class_video_entry() 119 … if (command -> ux_slave_class_command_subclass == UX_DEVICE_CLASS_VIDEO_SUBCLASS_STREAMING) in _ux_device_class_video_entry() 129 status = _ux_device_class_video_activate(command); in _ux_device_class_video_entry() 138 status = _ux_device_class_video_change(command); in _ux_device_class_video_entry() [all …]
|
| D | ux_device_class_printer_entry.c | 79 UINT _ux_device_class_printer_entry(UX_SLAVE_CLASS_COMMAND *command) in _ux_device_class_printer_entry() argument 87 switch (command -> ux_slave_class_command_request) in _ux_device_class_printer_entry() 94 status = _uxe_device_class_printer_initialize(command); in _ux_device_class_printer_entry() 96 status = _ux_device_class_printer_initialize(command); in _ux_device_class_printer_entry() 105 status = _ux_device_class_printer_uninitialize(command); in _ux_device_class_printer_entry() 113 if (command -> ux_slave_class_command_class == UX_DEVICE_CLASS_PRINTER_CLASS && in _ux_device_class_printer_entry() 114 command -> ux_slave_class_command_subclass == UX_DEVICE_CLASS_PRINTER_SUBCLASS) in _ux_device_class_printer_entry() 124 status = _ux_device_class_printer_activate(command); in _ux_device_class_printer_entry() 133 status = _ux_device_class_printer_deactivate(command); in _ux_device_class_printer_entry() 141 status = _ux_device_class_printer_control_request(command); in _ux_device_class_printer_entry()
|
| D | ux_device_class_cdc_ecm_entry.c | 78 UINT _ux_device_class_cdc_ecm_entry(UX_SLAVE_CLASS_COMMAND *command) in _ux_device_class_cdc_ecm_entry() argument 85 switch (command -> ux_slave_class_command_request) in _ux_device_class_cdc_ecm_entry() 91 status = _ux_device_class_cdc_ecm_initialize(command); in _ux_device_class_cdc_ecm_entry() 99 status = _ux_device_class_cdc_ecm_uninitialize(command); in _ux_device_class_cdc_ecm_entry() 107 …if (command -> ux_slave_class_command_class == UX_DEVICE_CLASS_CDC_ECM_CLASS_COMMUNICATION_CONTROL… in _ux_device_class_cdc_ecm_entry() 108 … command -> ux_slave_class_command_class == UX_DEVICE_CLASS_CDC_ECM_CLASS_COMMUNICATION_DATA) in _ux_device_class_cdc_ecm_entry() 118 status = _ux_device_class_cdc_ecm_activate(command); in _ux_device_class_cdc_ecm_entry() 127 status = _ux_device_class_cdc_ecm_change(command); in _ux_device_class_cdc_ecm_entry() 137 status = _ux_device_class_cdc_ecm_deactivate(command); in _ux_device_class_cdc_ecm_entry() 145 status = _ux_device_class_cdc_ecm_control_request(command); in _ux_device_class_cdc_ecm_entry()
|
| D | ux_device_class_hid_entry.c | 80 UINT _ux_device_class_hid_entry(UX_SLAVE_CLASS_COMMAND *command) in _ux_device_class_hid_entry() argument 88 switch (command -> ux_slave_class_command_request) in _ux_device_class_hid_entry() 95 status = _uxe_device_class_hid_initialize(command); in _ux_device_class_hid_entry() 97 status = _ux_device_class_hid_initialize(command); in _ux_device_class_hid_entry() 106 status = _ux_device_class_hid_uninitialize(command); in _ux_device_class_hid_entry() 114 if (command -> ux_slave_class_command_class == UX_DEVICE_CLASS_HID_CLASS) in _ux_device_class_hid_entry() 124 status = _ux_device_class_hid_activate(command); in _ux_device_class_hid_entry() 133 status = _ux_device_class_hid_deactivate(command); in _ux_device_class_hid_entry() 141 status = _ux_device_class_hid_control_request(command); in _ux_device_class_hid_entry()
|
| D | ux_device_class_storage_entry.c | 82 UINT _ux_device_class_storage_entry(UX_SLAVE_CLASS_COMMAND *command) in _ux_device_class_storage_entry() argument 90 switch (command -> ux_slave_class_command_request) in _ux_device_class_storage_entry() 97 status = _uxe_device_class_storage_initialize(command); in _ux_device_class_storage_entry() 99 status = _ux_device_class_storage_initialize(command); in _ux_device_class_storage_entry() 108 status = _ux_device_class_storage_uninitialize(command); in _ux_device_class_storage_entry() 117 if (command -> ux_slave_class_command_class == UX_SLAVE_CLASS_STORAGE_CLASS) in _ux_device_class_storage_entry() 127 status = _ux_device_class_storage_activate(command); in _ux_device_class_storage_entry() 136 status = _ux_device_class_storage_deactivate(command); in _ux_device_class_storage_entry() 144 status = _ux_device_class_storage_control_request(command); in _ux_device_class_storage_entry()
|
| D | ux_device_class_dfu_entry.c | 79 UINT _ux_device_class_dfu_entry(UX_SLAVE_CLASS_COMMAND *command) in _ux_device_class_dfu_entry() argument 87 switch (command -> ux_slave_class_command_request) in _ux_device_class_dfu_entry() 94 status = _uxe_device_class_dfu_initialize(command); in _ux_device_class_dfu_entry() 98 status = _ux_device_class_dfu_initialize(command); in _ux_device_class_dfu_entry() 108 if (command -> ux_slave_class_command_class == UX_SLAVE_CLASS_DFU_CLASS) in _ux_device_class_dfu_entry() 118 status = _ux_device_class_dfu_activate(command); in _ux_device_class_dfu_entry() 127 status = _ux_device_class_dfu_deactivate(command); in _ux_device_class_dfu_entry() 135 status = _ux_device_class_dfu_control_request(command); in _ux_device_class_dfu_entry()
|
| D | ux_device_class_ccid_entry.c | 75 UINT _ux_device_class_ccid_entry(UX_SLAVE_CLASS_COMMAND *command) in _ux_device_class_ccid_entry() argument 83 switch (command -> ux_slave_class_command_request) in _ux_device_class_ccid_entry() 89 status = _ux_device_class_ccid_initialize(command); in _ux_device_class_ccid_entry() 97 status = _ux_device_class_ccid_uninitialize(command); in _ux_device_class_ccid_entry() 105 if (command -> ux_slave_class_command_class == UX_DEVICE_CLASS_CCID_CLASS) in _ux_device_class_ccid_entry() 115 status = _ux_device_class_ccid_activate(command); in _ux_device_class_ccid_entry() 124 status = _ux_device_class_ccid_deactivate(command); in _ux_device_class_ccid_entry() 132 status = _ux_device_class_ccid_control_request(command); in _ux_device_class_ccid_entry()
|
| D | ux_device_class_cdc_acm_entry.c | 77 UINT _ux_device_class_cdc_acm_entry(UX_SLAVE_CLASS_COMMAND *command) in _ux_device_class_cdc_acm_entry() argument 85 switch (command -> ux_slave_class_command_request) in _ux_device_class_cdc_acm_entry() 91 status = _ux_device_class_cdc_acm_initialize(command); in _ux_device_class_cdc_acm_entry() 99 status = _ux_device_class_cdc_acm_uninitialize(command); in _ux_device_class_cdc_acm_entry() 107 if (command -> ux_slave_class_command_class == UX_SLAVE_CLASS_CDC_ACM_CLASS) in _ux_device_class_cdc_acm_entry() 117 status = _ux_device_class_cdc_acm_activate(command); in _ux_device_class_cdc_acm_entry() 126 status = _ux_device_class_cdc_acm_deactivate(command); in _ux_device_class_cdc_acm_entry() 134 status = _ux_device_class_cdc_acm_control_request(command); in _ux_device_class_cdc_acm_entry()
|
| D | ux_device_class_pima_entry.c | 79 UINT _ux_device_class_pima_entry(UX_SLAVE_CLASS_COMMAND *command) in _ux_device_class_pima_entry() argument 87 switch (command -> ux_slave_class_command_request) in _ux_device_class_pima_entry() 94 status = _uxe_device_class_pima_initialize(command); in _ux_device_class_pima_entry() 96 status = _ux_device_class_pima_initialize(command); in _ux_device_class_pima_entry() 105 if (command -> ux_slave_class_command_class == UX_DEVICE_CLASS_PIMA_CLASS) in _ux_device_class_pima_entry() 115 status = _ux_device_class_pima_activate(command); in _ux_device_class_pima_entry() 124 status = _ux_device_class_pima_deactivate(command); in _ux_device_class_pima_entry() 132 status = _ux_device_class_pima_control_request(command); in _ux_device_class_pima_entry()
|
| D | ux_device_class_rndis_entry.c | 76 UINT _ux_device_class_rndis_entry(UX_SLAVE_CLASS_COMMAND *command) in _ux_device_class_rndis_entry() argument 83 switch (command -> ux_slave_class_command_request) in _ux_device_class_rndis_entry() 89 status = _ux_device_class_rndis_initialize(command); in _ux_device_class_rndis_entry() 98 …if (command -> ux_slave_class_command_class == UX_DEVICE_CLASS_RNDIS_CLASS_COMMUNICATION_CONTROL |… in _ux_device_class_rndis_entry() 99 … command -> ux_slave_class_command_class == UX_DEVICE_CLASS_RNDIS_CLASS_COMMUNICATION_DATA) in _ux_device_class_rndis_entry() 109 status = _ux_device_class_rndis_activate(command); in _ux_device_class_rndis_entry() 118 status = _ux_device_class_rndis_deactivate(command); in _ux_device_class_rndis_entry() 126 status = _ux_device_class_rndis_control_request(command); in _ux_device_class_rndis_entry()
|
| /USBX-v6.2.1/common/core/src/ |
| D | ux_host_class_dpump_entry.c | 77 UINT _ux_host_class_dpump_entry(UX_HOST_CLASS_COMMAND *command) in _ux_host_class_dpump_entry() argument 85 switch (command -> ux_host_class_command_request) in _ux_host_class_dpump_entry() 92 if((command -> ux_host_class_command_usage == UX_HOST_CLASS_COMMAND_USAGE_CSP) && in _ux_host_class_dpump_entry() 93 … (command -> ux_host_class_command_class == UX_HOST_CLASS_DPUMP_CLASS) && in _ux_host_class_dpump_entry() 94 … (command -> ux_host_class_command_subclass == UX_HOST_CLASS_DPUMP_SUBCLASS) && in _ux_host_class_dpump_entry() 95 … (command -> ux_host_class_command_protocol == UX_HOST_CLASS_DPUMP_PROTOCOL)) in _ux_host_class_dpump_entry() 104 status = _ux_host_class_dpump_activate(command); in _ux_host_class_dpump_entry() 114 status = _ux_host_class_dpump_deactivate(command); in _ux_host_class_dpump_entry()
|