Home
last modified time | relevance | path

Searched refs:g_hub_device (Results 1 – 7 of 7) sorted by relevance

/USBX-v6.2.1/test/regression/
Dusbx_ux_test_hub.h65 static UX_DEVICE_CLASS_HUB *g_hub_device; variable
432 g_hub_device = (UX_DEVICE_CLASS_HUB *)instance; in device_hub_instance_activate()
437 g_hub_device = (UX_DEVICE_CLASS_HUB *)UX_NULL; in device_hub_instance_deactivate()
482 if (g_hub_device) in thread_entry_cmd()
487 _ux_device_class_hub_notify_change(g_hub_device, 1, 1); in thread_entry_cmd()
490 _ux_device_class_hub_notify_change(g_hub_device, 1, 2); in thread_entry_cmd()
494 _ux_device_class_hub_notify_changes(g_hub_device, (UCHAR*)&temp, 2); in thread_entry_cmd()
507 g_hub_device->port_status = port_status; in set_and_send_port_event()
508 g_hub_device->port_change = port_change; in set_and_send_port_event()
530g_hub_device->port_status = UX_HOST_CLASS_HUB_PORT_STATUS_CONNECTION | UX_HOST_CLASS_HUB_PORT_STAT… in connect_device_to_hub_short_with_hub()
[all …]
Dusbx_hub_basic_test.c34 UX_TEST_ASSERT(g_hub_device != UX_NULL); in post_init_host()
58 UX_TEST_ASSERT(g_hub_device == UX_NULL); in post_init_host()
Dusbx_hub_port_change_enable_test.c35 UX_TEST_ASSERT((g_hub_device->port_change & UX_HOST_CLASS_HUB_PORT_CHANGE_ENABLE) == 0); in post_init_host()
Dusbx_hub_port_change_suspend_test.c35 UX_TEST_ASSERT((g_hub_device->port_change & UX_HOST_CLASS_HUB_PORT_CHANGE_SUSPEND) == 0); in post_init_host()
Dusbx_hub_port_change_reset_test.c35 UX_TEST_ASSERT((g_hub_device->port_change & UX_HOST_CLASS_HUB_PORT_CHANGE_RESET) == 0); in post_init_host()
Dusbx_hub_port_change_over_current_test.c40 UX_TEST_ASSERT((g_hub_device->port_change & UX_HOST_CLASS_HUB_PORT_CHANGE_OVER_CURRENT) == 0); in post_init_host()
Dusbx_hub_port_never_reset_test.c27 g_hub_device->dont_reset_port_when_commanded_to = 1; in post_init_host()