/USBX-v6.2.1/common/usbx_device_classes/src/ |
D | ux_device_class_storage_uninitialize.c | 84 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_storage_uninitialize() local 87 class_ptr = command -> ux_slave_class_command_class_ptr; in _ux_device_class_storage_uninitialize() 90 storage = (UX_SLAVE_CLASS_STORAGE *) class_ptr -> ux_slave_class_instance; in _ux_device_class_storage_uninitialize() 97 _ux_device_thread_delete(&class_ptr -> ux_slave_class_thread); in _ux_device_class_storage_uninitialize() 101 _ux_utility_memory_free(class_ptr -> ux_slave_class_thread_stack); in _ux_device_class_storage_uninitialize()
|
D | ux_device_class_hid_initialize.c | 98 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_hid_initialize() local 103 class_ptr = command -> ux_slave_class_command_class_ptr; in _ux_device_class_hid_initialize() 113 class_ptr -> ux_slave_class_instance = (VOID *) hid; in _ux_device_class_hid_initialize() 118 class_ptr -> ux_slave_class_thread_stack = in _ux_device_class_hid_initialize() 122 if (class_ptr -> ux_slave_class_thread_stack == UX_NULL) in _ux_device_class_hid_initialize() 129 … status = _ux_device_thread_create(&class_ptr -> ux_slave_class_thread, "ux_slave_hid_thread", in _ux_device_class_hid_initialize() 131 … (ULONG) (ALIGN_TYPE) class_ptr, (VOID *) class_ptr -> ux_slave_class_thread_stack, in _ux_device_class_hid_initialize() 137 class_ptr -> ux_slave_class_task_function = _ux_device_class_hid_tasks_run; in _ux_device_class_hid_initialize() 145 UX_THREAD_EXTENSION_PTR_SET(&(class_ptr -> ux_slave_class_thread), class_ptr) in _ux_device_class_hid_initialize() 249 _ux_device_thread_delete(&class_ptr -> ux_slave_class_thread); in _ux_device_class_hid_initialize() [all …]
|
D | ux_device_class_hid_uninitialize.c | 87 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_hid_uninitialize() local 91 class_ptr = command -> ux_slave_class_command_class_ptr; in _ux_device_class_hid_uninitialize() 94 hid = (UX_SLAVE_CLASS_HID *) class_ptr -> ux_slave_class_instance; in _ux_device_class_hid_uninitialize() 99 _ux_device_thread_delete(&class_ptr -> ux_slave_class_thread); in _ux_device_class_hid_uninitialize() 102 _ux_utility_memory_free(class_ptr -> ux_slave_class_thread_stack); in _ux_device_class_hid_uninitialize()
|
D | ux_device_class_pima_initialize.c | 95 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_pima_initialize() 98 class_ptr = command -> ux_slave_class_command_class_ptr; in _ux_device_class_pima_initialize() 108 class_ptr -> ux_slave_class_instance = (VOID *) pima; in _ux_device_class_pima_initialize() 111 class_ptr -> ux_slave_class_thread_stack = in _ux_device_class_pima_initialize() 115 if (class_ptr -> ux_slave_class_thread_stack == UX_NULL) in _ux_device_class_pima_initialize() 125 … status = _ux_device_thread_create(&class_ptr -> ux_slave_class_thread, "ux_slave_class_thread", in _ux_device_class_pima_initialize() 127 … (ULONG) (ALIGN_TYPE) class_ptr, (VOID *) class_ptr -> ux_slave_class_thread_stack, in _ux_device_class_pima_initialize() 136 UX_THREAD_EXTENSION_PTR_SET(&(class_ptr -> ux_slave_class_thread), class_ptr) in _ux_device_class_pima_initialize() 145 if (class_ptr -> ux_slave_class_thread_stack) in _ux_device_class_pima_initialize() 146 _ux_utility_memory_free(class_ptr -> ux_slave_class_thread_stack); in _ux_device_class_pima_initialize() [all …]
|
D | ux_device_class_printer_uninitialize.c | 84 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_printer_uninitialize() local 87 class_ptr = command -> ux_slave_class_command_class_ptr; in _ux_device_class_printer_uninitialize() 90 printer = (UX_DEVICE_CLASS_PRINTER *) class_ptr -> ux_slave_class_instance; in _ux_device_class_printer_uninitialize()
|
D | ux_device_class_dfu_deactivate.c | 82 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_dfu_deactivate() local 86 class_ptr = command -> ux_slave_class_command_class_ptr; in _ux_device_class_dfu_deactivate() 89 dfu = (UX_SLAVE_CLASS_DFU *) class_ptr -> ux_slave_class_instance; in _ux_device_class_dfu_deactivate()
|
D | ux_device_class_hid_deactivate.c | 79 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_hid_deactivate() local 82 class_ptr = command -> ux_slave_class_command_class_ptr; in _ux_device_class_hid_deactivate() 85 hid = (UX_SLAVE_CLASS_HID *) class_ptr -> ux_slave_class_instance; in _ux_device_class_hid_deactivate()
|
D | ux_device_class_audio_control_request.c | 81 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_audio_control_request() local 86 class_ptr = command -> ux_slave_class_command_class_ptr; in _ux_device_class_audio_control_request() 89 audio = (UX_DEVICE_CLASS_AUDIO *) class_ptr -> ux_slave_class_instance; in _ux_device_class_audio_control_request()
|
D | ux_device_class_cdc_acm_unitialize.c | 91 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_cdc_acm_uninitialize() local 94 class_ptr = command -> ux_slave_class_command_class_ptr; in _ux_device_class_cdc_acm_uninitialize() 97 cdc_acm = (UX_SLAVE_CLASS_CDC_ACM *) class_ptr -> ux_slave_class_instance; in _ux_device_class_cdc_acm_uninitialize()
|
D | ux_device_class_cdc_ecm_initialize.c | 103 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_cdc_ecm_initialize() 108 class_ptr = command -> ux_slave_class_command_class_ptr; in _ux_device_class_cdc_ecm_initialize() 163 …(ULONG) (ALIGN_TYPE) class_ptr, (VOID *) cdc_ecm -> ux_slave_class_cdc_ecm_interrupt_thread_stack , in _ux_device_class_cdc_ecm_initialize() 170 UX_THREAD_EXTENSION_PTR_SET(&(cdc_ecm -> ux_slave_class_cdc_ecm_interrupt_thread), class_ptr) in _ux_device_class_cdc_ecm_initialize() 181 … (ULONG) (ALIGN_TYPE) class_ptr, (VOID *) cdc_ecm -> ux_slave_class_cdc_ecm_bulkout_thread_stack , in _ux_device_class_cdc_ecm_initialize() 189 … UX_THREAD_EXTENSION_PTR_SET(&(cdc_ecm -> ux_slave_class_cdc_ecm_bulkout_thread), class_ptr) in _ux_device_class_cdc_ecm_initialize() 196 … (ULONG) (ALIGN_TYPE) class_ptr, (VOID *) cdc_ecm -> ux_slave_class_cdc_ecm_bulkin_thread_stack , in _ux_device_class_cdc_ecm_initialize() 204 … UX_THREAD_EXTENSION_PTR_SET(&(cdc_ecm -> ux_slave_class_cdc_ecm_bulkin_thread), class_ptr) in _ux_device_class_cdc_ecm_initialize() 214 class_ptr -> ux_slave_class_instance = (VOID *) cdc_ecm; in _ux_device_class_cdc_ecm_initialize()
|
D | ux_device_class_pima_deactivate.c | 79 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_pima_deactivate() local 82 class_ptr = command -> ux_slave_class_command_class_ptr; in _ux_device_class_pima_deactivate() 85 pima = (UX_SLAVE_CLASS_PIMA *) class_ptr -> ux_slave_class_instance; in _ux_device_class_pima_deactivate()
|
D | ux_device_class_cdc_acm_activate.c | 78 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_cdc_acm_activate() local 82 class_ptr = command -> ux_slave_class_command_class_ptr; in _ux_device_class_cdc_acm_activate() 85 cdc_acm = (UX_SLAVE_CLASS_CDC_ACM *) class_ptr -> ux_slave_class_instance; in _ux_device_class_cdc_acm_activate()
|
D | ux_device_class_cdc_ecm_uninitialize.c | 94 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_cdc_ecm_uninitialize() local 98 class_ptr = command -> ux_slave_class_command_class_ptr; in _ux_device_class_cdc_ecm_uninitialize() 101 cdc_ecm = (UX_SLAVE_CLASS_CDC_ECM *) class_ptr -> ux_slave_class_instance; in _ux_device_class_cdc_ecm_uninitialize()
|
D | ux_device_class_dfu_initialize.c | 97 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_dfu_initialize() local 106 class_ptr = command -> ux_slave_class_command_class_ptr; in _ux_device_class_dfu_initialize() 116 class_ptr -> ux_slave_class_instance = (VOID *) dfu; in _ux_device_class_dfu_initialize() 220 (ULONG) (ALIGN_TYPE) class_ptr, (VOID *) dfu -> ux_slave_class_dfu_thread_stack, in _ux_device_class_dfu_initialize() 229 UX_THREAD_EXTENSION_PTR_SET(&(dfu -> ux_slave_class_dfu_thread), class_ptr) in _ux_device_class_dfu_initialize() 233 class_ptr -> ux_slave_class_task_function = _ux_device_class_dfu_tasks_run; in _ux_device_class_dfu_initialize() 252 class_ptr -> ux_slave_class_instance = UX_NULL; in _ux_device_class_dfu_initialize()
|
D | ux_device_class_pima_activate.c | 85 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_pima_activate() local 93 class_ptr = command -> ux_slave_class_command_class_ptr; in _ux_device_class_pima_activate() 96 pima = (UX_SLAVE_CLASS_PIMA *) class_ptr -> ux_slave_class_instance; in _ux_device_class_pima_activate() 145 _ux_device_thread_resume(&class_ptr -> ux_slave_class_thread); in _ux_device_class_pima_activate()
|
D | ux_device_class_cdc_ecm_control_request.c | 82 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_cdc_ecm_control_request() local 96 class_ptr = command -> ux_slave_class_command_class_ptr; in _ux_device_class_cdc_ecm_control_request() 99 cdc_ecm = (UX_SLAVE_CLASS_CDC_ECM *) class_ptr -> ux_slave_class_instance; in _ux_device_class_cdc_ecm_control_request()
|
D | ux_device_class_audio_deactivate.c | 82 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_audio_deactivate() local 87 class_ptr = command -> ux_slave_class_command_class_ptr; in _ux_device_class_audio_deactivate() 90 audio = (UX_DEVICE_CLASS_AUDIO *) class_ptr -> ux_slave_class_instance; in _ux_device_class_audio_deactivate()
|
D | ux_device_class_dfu_thread.c | 86 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_dfu_thread() local 93 UX_THREAD_EXTENSION_PTR_GET(class_ptr, UX_SLAVE_CLASS, dfu_class) in _ux_device_class_dfu_thread() 96 dfu = (UX_SLAVE_CLASS_DFU *) class_ptr -> ux_slave_class_instance; in _ux_device_class_dfu_thread()
|
D | ux_device_class_dfu_activate.c | 89 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_dfu_activate() local 93 class_ptr = command -> ux_slave_class_command_class_ptr; in _ux_device_class_dfu_activate() 96 dfu = (UX_SLAVE_CLASS_DFU *) class_ptr -> ux_slave_class_instance; in _ux_device_class_dfu_activate()
|
D | ux_device_class_rndis_interrupt_thread.c | 91 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_rndis_interrupt_thread() local 99 UX_THREAD_EXTENSION_PTR_GET(class_ptr, UX_SLAVE_CLASS, rndis_class) in _ux_device_class_rndis_interrupt_thread() 102 rndis = (UX_SLAVE_CLASS_RNDIS *) class_ptr -> ux_slave_class_instance; in _ux_device_class_rndis_interrupt_thread()
|
/USBX-v6.2.1/common/core/src/ |
D | ux_device_stack_interface_start.c | 81 UX_SLAVE_CLASS *class_ptr; in _ux_device_stack_interface_start() local 87 …class_ptr = _ux_system_slave -> ux_system_slave_interface_class_array[interface_ptr -> ux_slave_i… in _ux_device_stack_interface_start() 90 if (class_ptr == UX_NULL) in _ux_device_stack_interface_start() 108 class_ptr -> ux_slave_class_interface = interface_ptr; in _ux_device_stack_interface_start() 111 status = class_ptr -> ux_slave_class_entry_function(&class_command); in _ux_device_stack_interface_start() 118 class_command.ux_slave_class_command_class_ptr = class_ptr; in _ux_device_stack_interface_start() 124 status = class_ptr -> ux_slave_class_entry_function(&class_command); in _ux_device_stack_interface_start() 128 interface_ptr -> ux_slave_interface_class = class_ptr; in _ux_device_stack_interface_start()
|
D | ux_host_stack_class_get.c | 86 UX_HOST_CLASS *class_ptr; in _ux_host_stack_class_get() local 103 class_ptr = _ux_system_host -> ux_system_host_class_array; in _ux_host_stack_class_get() 112 if (class_ptr -> ux_host_class_status == UX_USED) in _ux_host_stack_class_get() 116 … if (ux_utility_name_match(class_ptr -> ux_host_class_name, class_name, class_name_length + 1)) in _ux_host_stack_class_get() 120 *host_class = class_ptr; in _ux_host_stack_class_get() 129 class_ptr++; in _ux_host_stack_class_get()
|
D | ux_device_stack_disconnect.c | 91 UX_SLAVE_CLASS *class_ptr; in _ux_device_stack_disconnect() local 125 class_ptr = interface_ptr -> ux_slave_interface_class; in _ux_device_stack_disconnect() 128 class_command.ux_slave_class_command_class_ptr = class_ptr; in _ux_device_stack_disconnect() 131 if (class_ptr != UX_NULL) in _ux_device_stack_disconnect() 134 class_ptr -> ux_slave_class_entry_function(&class_command); in _ux_device_stack_disconnect()
|
D | ux_device_class_dpump_initialize.c | 79 UX_SLAVE_CLASS *class_ptr; in _ux_device_class_dpump_initialize() local 83 class_ptr = command -> ux_slave_class_command_class_ptr; in _ux_device_class_dpump_initialize() 93 class_ptr -> ux_slave_class_instance = (VOID *) dpump; in _ux_device_class_dpump_initialize()
|
/USBX-v6.2.1/common/usbx_host_classes/src/ |
D | ux_host_class_hid_client_register.c | 100 UX_HOST_CLASS *class_ptr; in UX_OVERFLOW_CHECK_MULC_ULONG() local 115 status = _ux_host_stack_class_get(_ux_system_host_class_hid_name, &class_ptr); in UX_OVERFLOW_CHECK_MULC_ULONG() 123 if (class_ptr -> ux_host_class_client == UX_NULL) in UX_OVERFLOW_CHECK_MULC_ULONG() 129 … class_ptr -> ux_host_class_client = _ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_MEMORY, in UX_OVERFLOW_CHECK_MULC_ULONG() 133 if (class_ptr -> ux_host_class_client == UX_NULL) in UX_OVERFLOW_CHECK_MULC_ULONG() 138 hid_client = (UX_HOST_CLASS_HID_CLIENT *) class_ptr -> ux_host_class_client; in UX_OVERFLOW_CHECK_MULC_ULONG()
|