Home
last modified time | relevance | path

Searched refs:class_inst (Results 1 – 21 of 21) sorted by relevance

/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_storage_entry.c100 UX_HOST_CLASS *class_inst; in UX_OVERFLOW_CHECK_MULC_ULONG() local
128 class_inst = command -> ux_host_class_command_class_ptr; in UX_OVERFLOW_CHECK_MULC_ULONG()
133 if (class_inst -> ux_host_class_ext == UX_NULL) in UX_OVERFLOW_CHECK_MULC_ULONG()
149 (ULONG) (ALIGN_TYPE) class_inst, in UX_OVERFLOW_CHECK_MULC_ULONG()
160 class_inst -> ux_host_class_ext = UX_NULL; in UX_OVERFLOW_CHECK_MULC_ULONG()
165 UX_THREAD_EXTENSION_PTR_SET(&(class_ext -> ux_host_class_thread), class_inst); in UX_OVERFLOW_CHECK_MULC_ULONG()
168 class_inst -> ux_host_class_ext = (VOID *)class_ext; in UX_OVERFLOW_CHECK_MULC_ULONG()
174 class_ext = (UX_HOST_CLASS_STORAGE_EXT *)class_inst -> ux_host_class_ext; in UX_OVERFLOW_CHECK_MULC_ULONG()
179 if (class_inst -> ux_host_class_media == UX_NULL) in UX_OVERFLOW_CHECK_MULC_ULONG()
185 class_inst -> ux_host_class_media = in UX_OVERFLOW_CHECK_MULC_ULONG()
[all …]
Dux_host_class_storage_media_get.c95 UX_HOST_CLASS *class_inst; in _ux_host_class_storage_media_get()
104 class_inst = storage -> ux_host_class_storage_class; in _ux_host_class_storage_media_get()
107 storage_medias = (UX_HOST_CLASS_STORAGE_MEDIA *)class_inst -> ux_host_class_media; in _ux_host_class_storage_media_get()
Dux_host_class_storage_media_open.c101 UX_HOST_CLASS *class_inst; in _ux_host_class_storage_media_open()
105 class_inst = storage -> ux_host_class_storage_class; in _ux_host_class_storage_media_open()
108 storage_media = (UX_HOST_CLASS_STORAGE_MEDIA *) class_inst -> ux_host_class_media; in _ux_host_class_storage_media_open()
Dux_host_class_storage_device_initialize.c102 UX_HOST_CLASS *class_inst; in _ux_host_class_storage_device_initialize() local
132 class_inst = storage -> ux_host_class_storage_class; in _ux_host_class_storage_device_initialize()
197 storage_media = (UX_HOST_CLASS_STORAGE_MEDIA *) class_inst -> ux_host_class_media; in _ux_host_class_storage_device_initialize()
Dux_host_class_storage_thread_entry.c107 UX_HOST_CLASS *class_inst; in _ux_host_class_storage_thread_entry() local
120 UX_THREAD_EXTENSION_PTR_GET(class_inst, UX_HOST_CLASS, class_address) in _ux_host_class_storage_thread_entry()
131 storage = (UX_HOST_CLASS_STORAGE *) class_inst -> ux_host_class_first_instance; in _ux_host_class_storage_thread_entry()
185 … storage_media = (UX_HOST_CLASS_STORAGE_MEDIA *) class_inst -> ux_host_class_media; in _ux_host_class_storage_thread_entry()
261 … storage_media = (UX_HOST_CLASS_STORAGE_MEDIA *) class_inst -> ux_host_class_media; in _ux_host_class_storage_thread_entry()
368 … storage_media = (UX_HOST_CLASS_STORAGE_MEDIA *) class_inst -> ux_host_class_media; in _ux_host_class_storage_thread_entry()
Dux_host_class_storage_deactivate.c101 UX_HOST_CLASS *class_inst; in _ux_host_class_storage_deactivate() local
113 class_inst = storage -> ux_host_class_storage_class; in _ux_host_class_storage_deactivate()
116 storage_media = (UX_HOST_CLASS_STORAGE_MEDIA *) class_inst -> ux_host_class_media; in _ux_host_class_storage_deactivate()
Dux_host_class_storage_tasks_run.c628 UX_HOST_CLASS *class_inst; in _ux_host_class_storage_lun_scan() local
636 class_inst = storage -> ux_host_class_storage_class; in _ux_host_class_storage_lun_scan()
637 storage_media = (UX_HOST_CLASS_STORAGE_MEDIA *) class_inst -> ux_host_class_media; in _ux_host_class_storage_lun_scan()
728 UX_HOST_CLASS *class_inst; in _ux_host_class_storage_lun_media_insert() local
733 class_inst = storage -> ux_host_class_storage_class; in _ux_host_class_storage_lun_media_insert()
736 storage_media = (UX_HOST_CLASS_STORAGE_MEDIA *) class_inst -> ux_host_class_media; in _ux_host_class_storage_lun_media_insert()
/USBX-v6.2.1/common/core/src/
Dux_device_stack_class_register.c91 UX_SLAVE_CLASS *class_inst; in _ux_device_stack_class_register() local
109 class_inst = _ux_system_slave -> ux_system_slave_class_array; in _ux_device_stack_class_register()
118 if (class_inst -> ux_slave_class_status == UX_UNUSED) in _ux_device_stack_class_register()
122 class_inst -> ux_slave_class_name = (const UCHAR *)class_name; in _ux_device_stack_class_register()
125 …_ux_utility_memory_copy(class_inst -> ux_slave_class_name, class_name, class_name_length + 1); /* … in _ux_device_stack_class_register()
129 class_inst -> ux_slave_class_entry_function = class_entry_function; in _ux_device_stack_class_register()
132 class_inst -> ux_slave_class_interface_parameter = parameter; in _ux_device_stack_class_register()
135 class_inst -> ux_slave_class_configuration_number = configuration_number; in _ux_device_stack_class_register()
138 class_inst -> ux_slave_class_interface_number = interface_number; in _ux_device_stack_class_register()
143 command.ux_slave_class_command_class_ptr = class_inst; in _ux_device_stack_class_register()
[all …]
Dux_host_stack_class_unregister.c79 UX_HOST_CLASS *class_inst; in _ux_host_stack_class_unregister() local
90 class_inst = _ux_system_host -> ux_system_host_class_array; in _ux_host_stack_class_unregister()
99 if (class_inst -> ux_host_class_entry_function == class_entry_function) in _ux_host_stack_class_unregister()
104 class_command.ux_host_class_command_class_ptr = (VOID *)class_inst; in _ux_host_stack_class_unregister()
107 class_inst -> ux_host_class_entry_function(&class_command); in _ux_host_stack_class_unregister()
110 class_inst -> ux_host_class_entry_function = UX_NULL; in _ux_host_stack_class_unregister()
111 class_inst -> ux_host_class_status = UX_UNUSED; in _ux_host_stack_class_unregister()
119 class_inst ++; in _ux_host_stack_class_unregister()
Dux_host_stack_class_call.c79 UX_HOST_CLASS *class_inst; in _ux_host_stack_class_call() local
85 class_inst = _ux_system_host -> ux_system_host_class_array; in _ux_host_stack_class_call()
94 if (class_inst -> ux_host_class_status == UX_USED) in _ux_host_stack_class_call()
98 status = class_inst -> ux_host_class_entry_function(class_command); in _ux_host_stack_class_call()
105 return(class_inst); in _ux_host_stack_class_call()
110 class_inst ++; in _ux_host_stack_class_call()
Dux_device_stack_class_unregister.c84 UX_SLAVE_CLASS *class_inst; in _ux_device_stack_class_unregister() local
105 class_inst = _ux_system_slave -> ux_system_slave_class_array; in _ux_device_stack_class_unregister()
114 if (class_inst -> ux_slave_class_status == UX_USED) in _ux_device_stack_class_unregister()
118 … if (ux_utility_name_match(class_inst -> ux_slave_class_name, class_name, class_name_length + 1)) in _ux_device_stack_class_unregister()
123 command.ux_slave_class_command_class_ptr = class_inst; in _ux_device_stack_class_unregister()
133 class_inst -> ux_slave_class_status = UX_UNUSED; in _ux_device_stack_class_unregister()
136 class_inst -> ux_slave_class_instance = UX_NULL; in _ux_device_stack_class_unregister()
145 class_inst ++; in _ux_device_stack_class_unregister()
Dux_host_stack_class_register.c92 UX_HOST_CLASS *class_inst; in _ux_host_stack_class_register() local
112 class_inst = _ux_system_host -> ux_system_host_class_array; in _ux_host_stack_class_register()
121 if (class_inst -> ux_host_class_status == UX_UNUSED) in _ux_host_stack_class_register()
125 class_inst -> ux_host_class_name = (const UCHAR *) class_name; in _ux_host_stack_class_register()
129 …_ux_utility_memory_copy(class_inst -> ux_host_class_name, class_name, class_name_length + 1); /* U… in _ux_host_stack_class_register()
133 class_inst -> ux_host_class_entry_function = class_entry_function; in _ux_host_stack_class_register()
136 class_inst -> ux_host_class_status = UX_USED; in _ux_host_stack_class_register()
148 if(class_inst -> ux_host_class_entry_function == class_entry_function) in _ux_host_stack_class_register()
163 class_inst ++; in _ux_host_stack_class_register()
Dux_device_stack_configuration_set.c99 UX_SLAVE_CLASS *class_inst; in _ux_device_stack_configuration_set() local
184 class_inst = interface_ptr -> ux_slave_interface_class; in _ux_device_stack_configuration_set()
187 class_command.ux_slave_class_command_class_ptr = class_inst; in _ux_device_stack_configuration_set()
190 if (class_inst != UX_NULL) in _ux_device_stack_configuration_set()
193 class_inst -> ux_slave_class_entry_function(&class_command); in _ux_device_stack_configuration_set()
294 class_inst = _ux_system_slave -> ux_system_slave_class_array; in _ux_device_stack_configuration_set()
303 if (class_inst -> ux_slave_class_status == UX_USED) in _ux_device_stack_configuration_set()
307 … if ((interface_descriptor.bInterfaceNumber == class_inst -> ux_slave_class_interface_number) && in _ux_device_stack_configuration_set()
308 … (configuration_value == class_inst -> ux_slave_class_configuration_number)) in _ux_device_stack_configuration_set()
312 …slave -> ux_system_slave_interface_class_array[interface_descriptor.bInterfaceNumber] = class_inst; in _ux_device_stack_configuration_set()
[all …]
Dux_host_stack_class_instance_verify.c82 UX_HOST_CLASS *class_inst; in _ux_host_stack_class_instance_verify() local
100 class_inst = _ux_system_host -> ux_system_host_class_array; in _ux_host_stack_class_instance_verify()
109 if (class_inst -> ux_host_class_status == UX_USED) in _ux_host_stack_class_instance_verify()
113 current_class_instance = class_inst -> ux_host_class_first_instance; in _ux_host_stack_class_instance_verify()
125 … if (ux_utility_name_match(class_inst-> ux_host_class_name, class_name, class_name_length + 1)) in _ux_host_stack_class_instance_verify()
136 class_inst ++; in _ux_host_stack_class_instance_verify()
Dux_host_stack_class_device_scan.c94 UX_HOST_CLASS *class_inst = UX_NULL; in _ux_host_stack_class_device_scan() local
112 class_inst = _ux_host_stack_class_call(&class_command); in _ux_host_stack_class_device_scan()
117 if (class_inst == UX_NULL) in _ux_host_stack_class_device_scan()
122 class_inst = _ux_host_stack_class_call(&class_command); in _ux_host_stack_class_device_scan()
128 if (class_inst != UX_NULL) in _ux_host_stack_class_device_scan()
131 device -> ux_device_class = class_inst; in _ux_host_stack_class_device_scan()
139 class_command.ux_host_class_command_class_ptr = class_inst; in _ux_host_stack_class_device_scan()
Dux_host_stack_tasks_run.c120 UX_HOST_CLASS *class_inst; in _ux_host_stack_tasks_run() local
142 class_inst = &_ux_system_host->ux_system_host_class_array[class_index]; in _ux_host_stack_tasks_run()
143 if ((class_inst -> ux_host_class_status == UX_UNUSED) || in _ux_host_stack_tasks_run()
144 (class_inst -> ux_host_class_task_function == UX_NULL)) in _ux_host_stack_tasks_run()
146 class_inst -> ux_host_class_task_function(class_inst); in _ux_host_stack_tasks_run()
/USBX-v6.2.1/common/usbx_device_classes/src/
Dux_device_class_storage_initialize.c93 UX_SLAVE_CLASS *class_inst; in _ux_device_class_storage_initialize() local
106 class_inst = command -> ux_slave_class_command_class_ptr; in _ux_device_class_storage_initialize()
118class_inst -> ux_slave_class_thread_stack = _ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_ME… in _ux_device_class_storage_initialize()
121 if (class_inst -> ux_slave_class_thread_stack != UX_NULL) in _ux_device_class_storage_initialize()
126 …status = _ux_device_thread_create(&class_inst -> ux_slave_class_thread, "ux_slave_storage_thread", in _ux_device_class_storage_initialize()
128 … (ULONG) (ALIGN_TYPE) class_inst, (VOID *) class_inst -> ux_slave_class_thread_stack, in _ux_device_class_storage_initialize()
136 class_inst -> ux_slave_class_task_function = _ux_device_class_storage_tasks_run; in _ux_device_class_storage_initialize()
145 UX_THREAD_EXTENSION_PTR_SET(&(class_inst -> ux_slave_class_thread), class_inst) in _ux_device_class_storage_initialize()
205 class_inst -> ux_slave_class_instance = (VOID *) storage; in _ux_device_class_storage_initialize()
211 _ux_device_thread_delete(&class_inst -> ux_slave_class_thread); in _ux_device_class_storage_initialize()
[all …]
Dux_device_class_video_uninitialize.c75 UX_SLAVE_CLASS *class_inst; in _ux_device_class_video_uninitialize() local
80 class_inst = command -> ux_slave_class_command_class_ptr; in _ux_device_class_video_uninitialize()
83 video = (UX_DEVICE_CLASS_VIDEO *) class_inst -> ux_slave_class_instance; in _ux_device_class_video_uninitialize()
Dux_device_class_video_deactivate.c76 UX_SLAVE_CLASS *class_inst; in _ux_device_class_video_deactivate() local
81 class_inst = command -> ux_slave_class_command_class_ptr; in _ux_device_class_video_deactivate()
84 video = (UX_DEVICE_CLASS_VIDEO *) class_inst -> ux_slave_class_instance; in _ux_device_class_video_deactivate()
Dux_device_class_video_initialize.c83 UX_SLAVE_CLASS *class_inst; in _ux_device_class_video_initialize() local
90 class_inst = command -> ux_slave_class_command_class_ptr; in _ux_device_class_video_initialize()
217 class_inst -> ux_slave_class_instance = (VOID *) video; in _ux_device_class_video_initialize()
220 video -> ux_device_class_video_class = class_inst; in _ux_device_class_video_initialize()
230 class_inst -> ux_slave_class_task_function = _ux_device_class_video_tasks_run; in _ux_device_class_video_initialize()
Dux_device_class_video_control_request.c75 UX_SLAVE_CLASS *class_inst; in _ux_device_class_video_control_request() local
88 class_inst = command -> ux_slave_class_command_class_ptr; in _ux_device_class_video_control_request()
91 video = (UX_DEVICE_CLASS_VIDEO *) class_inst -> ux_slave_class_instance; in _ux_device_class_video_control_request()