Home
last modified time | relevance | path

Searched refs:inst (Results 1 – 25 of 117) sorted by relevance

12345

/USBX-v6.2.1/test/regression/
Dusbx_ux_host_stack_enum_bMaxPacketSize0_test.c179 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst);
425 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in test_host_change_function() argument
428 UX_HOST_CLASS_DUMMY *dummy_ptr = (UX_HOST_CLASS_DUMMY *) inst; in test_host_change_function()
453 device = (UX_DEVICE *)inst; in test_host_change_function()
457 if ((VOID *)device == inst) in test_host_change_function()
Dusbx_class_hid_keyboard_basic_test.c183 static UINT ux_system_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in ux_system_host_change_function() argument
484 static void demo_device_hid_instance_activate(VOID *inst) in demo_device_hid_instance_activate() argument
487 device_hid = (UX_SLAVE_CLASS_HID *)inst; in demo_device_hid_instance_activate()
489 static void demo_device_hid_instance_deactivate(VOID *inst) in demo_device_hid_instance_deactivate() argument
491 if (inst == (VOID *)device_hid) in demo_device_hid_instance_deactivate()
Dusbx_class_hid_remote_control_basic_test.c211 static UINT ux_system_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in ux_system_host_change_function() argument
494 static void demo_device_hid_instance_activate(VOID *inst) in demo_device_hid_instance_activate() argument
497 device_hid = (UX_SLAVE_CLASS_HID *)inst; in demo_device_hid_instance_activate()
499 static void demo_device_hid_instance_deactivate(VOID *inst) in demo_device_hid_instance_deactivate() argument
501 if (inst == (VOID *)device_hid) in demo_device_hid_instance_deactivate()
Dusbx_msrc_81325_host_hid_remote_control_free_callback_test.c143 static UINT ux_system_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in ux_system_host_change_function() argument
145 UX_HOST_CLASS_HID_CLIENT *client_inst = (UX_HOST_CLASS_HID_CLIENT*)inst; in ux_system_host_change_function()
147 stepinfo("hChg:%lx, %p, %p\n", event, cls, inst); in ux_system_host_change_function()
Dusbx_msrc_81327_host_hid_mouse_free_callback_test.c143 static UINT ux_system_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in ux_system_host_change_function() argument
145 UX_HOST_CLASS_HID_CLIENT *client_inst = (UX_HOST_CLASS_HID_CLIENT*)inst; in ux_system_host_change_function()
147 stepinfo("hChg:%lx, %p, %p\n", event, cls, inst); in ux_system_host_change_function()
Dusbx_msrc_81326_host_hid_keyboard_free_callback_test.c143 static UINT ux_system_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in ux_system_host_change_function() argument
145 UX_HOST_CLASS_HID_CLIENT *client_inst = (UX_HOST_CLASS_HID_CLIENT*)inst; in ux_system_host_change_function()
147 stepinfo("hChg:%lx, %p, %p\n", event, cls, inst); in ux_system_host_change_function()
Dusbx_ux_host_class_hid_logitech_pro_x_superlight_test.c454 static void demo_device_hid_instance_activate(VOID *inst) in demo_device_hid_instance_activate() argument
457 device_hid = (UX_SLAVE_CLASS_HID *)inst; in demo_device_hid_instance_activate()
459 static void demo_device_hid_instance_deactivate(VOID *inst) in demo_device_hid_instance_deactivate() argument
461 if (inst == (VOID *)device_hid) in demo_device_hid_instance_deactivate()
Dusbx_msrc_81142_host_storage_endpoints_get_tests.c203 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in test_host_change_function() argument
206 UX_HOST_CLASS_STORAGE *storage_inst = (UX_HOST_CLASS_STORAGE *) inst; in test_host_change_function()
207 … printf("test_host_change_function: event %lx, cls %p, inst %p\n", event, (void*)cls, (void*)inst); in test_host_change_function()
223 device = (UX_DEVICE *)inst; in test_host_change_function()
227 if ((VOID *)device == inst) in test_host_change_function()
Dusbx_class_hid_basic_test.c223 static UINT ux_system_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in ux_system_host_change_function() argument
601 static void demo_device_hid_instance_activate(VOID *inst) in demo_device_hid_instance_activate() argument
604 device_hid = (UX_SLAVE_CLASS_HID *)inst; in demo_device_hid_instance_activate()
606 static void demo_device_hid_instance_deactivate(VOID *inst) in demo_device_hid_instance_deactivate() argument
608 if (inst == (VOID *)device_hid) in demo_device_hid_instance_deactivate()
Dusbx_class_hid_mouse_basic_test.c182 static UINT ux_system_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in ux_system_host_change_function() argument
521 static void demo_device_hid_instance_activate(VOID *inst) in demo_device_hid_instance_activate() argument
524 device_hid = (UX_SLAVE_CLASS_HID *)inst; in demo_device_hid_instance_activate()
526 static void demo_device_hid_instance_deactivate(VOID *inst) in demo_device_hid_instance_deactivate() argument
528 if (inst == (VOID *)device_hid) in demo_device_hid_instance_deactivate()
Dusbx_ux_host_stack_enum_wMaxPacketSize_test.c203 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst);
504 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in test_host_change_function() argument
507 UX_HOST_CLASS_DUMMY *dummy_ptr = (UX_HOST_CLASS_DUMMY *) inst; in test_host_change_function()
532 device = (UX_DEVICE *)inst; in test_host_change_function()
537 if ((VOID *)device == inst) in test_host_change_function()
Dusbx_msrc_81143_host_cdc_acm_endpoints_get_tests.c231 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in test_host_change_function() argument
234 UX_HOST_CLASS_CDC_ACM *cdc_acm_inst = (UX_HOST_CLASS_CDC_ACM *) inst; in test_host_change_function()
235 … printf("test_host_change_function: event %lx, cls %p, inst %p\n", event, (void*)cls, (void*)inst); in test_host_change_function()
257 device = (UX_DEVICE *)inst; in test_host_change_function()
261 if ((VOID *)device == inst) in test_host_change_function()
Dusbx_ux_host_stack_new_interface_create_test.c249 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst);
565 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in test_host_change_function() argument
567 UX_HOST_CLASS_CDC_ACM *cdc_acm = (UX_HOST_CLASS_CDC_ACM *) inst; in test_host_change_function()
Dusbx_msrc_81691_standalone_host_stack_enum_double_free_test.c224 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in test_host_change_function() argument
227 UX_HOST_CLASS_CDC_ACM *cdc_acm_inst = (UX_HOST_CLASS_CDC_ACM *) inst; in test_host_change_function()
242 device = (UX_DEVICE *)inst; in test_host_change_function()
246 if ((VOID *)device == inst) in test_host_change_function()
Dusbx_ux_host_stack_new_configuration_create_test.c331 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst);
591 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in test_host_change_function() argument
593 UX_HOST_CLASS_CDC_ACM *cdc_acm = (UX_HOST_CLASS_CDC_ACM *) inst; in test_host_change_function()
Dusbx_ux_host_stack_rh_change_process_test.c248 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst);
557 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in test_host_change_function() argument
559 UX_HOST_CLASS_CDC_ACM *cdc_acm = (UX_HOST_CLASS_CDC_ACM *) inst; in test_host_change_function()
Dusbx_ux_host_stack_new_device_create_test.c249 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst);
556 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in test_host_change_function() argument
558 UX_HOST_CLASS_CDC_ACM *cdc_acm = (UX_HOST_CLASS_CDC_ACM *) inst; in test_host_change_function()
Dusbx_msrc_81231_host_prolific_inst_free_tests.c195 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in test_host_change_function() argument
198 UX_HOST_CLASS_PROLIFIC *prolific_inst = (UX_HOST_CLASS_PROLIFIC *) inst; in test_host_change_function()
215 device = (UX_DEVICE *)inst; in test_host_change_function()
219 if ((VOID *)device == inst) in test_host_change_function()
Dusbx_msrc_81232_host_gser_inst_free_tests.c199 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in test_host_change_function() argument
202 UX_HOST_CLASS_GSER *gser_inst = (UX_HOST_CLASS_GSER *) inst; in test_host_change_function()
219 device = (UX_DEVICE *)inst; in test_host_change_function()
223 if ((VOID *)device == inst) in test_host_change_function()
Dusbx_msrc_81233_host_swar_inst_free_tests.c193 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in test_host_change_function() argument
196 UX_HOST_CLASS_SWAR *swar_inst = (UX_HOST_CLASS_SWAR *) inst; in test_host_change_function()
213 device = (UX_DEVICE *)inst; in test_host_change_function()
217 if ((VOID *)device == inst) in test_host_change_function()
Dusbx_msrc_81575_standalone_host_cdc_acm_allocated_enum_free_test.c236 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in test_host_change_function() argument
239 UX_HOST_CLASS_CDC_ACM *cdc_acm_inst = (UX_HOST_CLASS_CDC_ACM *) inst; in test_host_change_function()
254 device = (UX_DEVICE *)inst; in test_host_change_function()
258 if ((VOID *)device == inst) in test_host_change_function()
Dusbx_msrc_81574_standalone_host_hid_allocated_enum_free_test.c268 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in test_host_change_function() argument
271 UX_HOST_CLASS_HID *hid_inst = (UX_HOST_CLASS_HID *) inst; in test_host_change_function()
286 device = (UX_DEVICE *)inst; in test_host_change_function()
290 if ((VOID *)device == inst) in test_host_change_function()
Dusbx_msrc_81112_host_cdc_ecm_endpoints_get_tests.c238 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in test_host_change_function() argument
241 UX_HOST_CLASS_CDC_ECM *cdc_ecm_inst = (UX_HOST_CLASS_CDC_ECM *) inst; in test_host_change_function()
258 device = (UX_DEVICE *)inst; in test_host_change_function()
262 if ((VOID *)device == inst) in test_host_change_function()
Dusbx_class_device_enumeration_test.c382 static VOID tx_demo_instance_activate(VOID *inst) in tx_demo_instance_activate() argument
384 dummy_slave = (UX_DEVICE_CLASS_DUMMY *)inst; in tx_demo_instance_activate()
387 static VOID tx_demo_instance_deactivate(VOID *inst) in tx_demo_instance_deactivate() argument
Dusbx_msrc_81572_standalone_host_printer_allocated_enum_free_test.c240 static UINT test_host_change_function(ULONG event, UX_HOST_CLASS *cls, VOID *inst) in test_host_change_function() argument
243 UX_HOST_CLASS_PRINTER *printer_inst = (UX_HOST_CLASS_PRINTER *) inst; in test_host_change_function()
258 device = (UX_DEVICE *)inst; in test_host_change_function()
262 if ((VOID *)device == inst) in test_host_change_function()

12345