Home
last modified time | relevance | path

Searched refs:port_change (Results 1 – 14 of 14) sorted by relevance

/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_hub_port_change_process.c86 USHORT port_change; in _ux_host_class_hub_port_change_process() local
91 status = _ux_host_class_hub_status_get(hub, port, &port_status, &port_change); in _ux_host_class_hub_port_change_process()
97 if (port_change & UX_HOST_CLASS_HUB_PORT_CHANGE_CONNECTION) in _ux_host_class_hub_port_change_process()
100 if (port_change & UX_HOST_CLASS_HUB_PORT_CHANGE_ENABLE) in _ux_host_class_hub_port_change_process()
103 if (port_change & UX_HOST_CLASS_HUB_PORT_CHANGE_SUSPEND) in _ux_host_class_hub_port_change_process()
106 if (port_change & UX_HOST_CLASS_HUB_PORT_CHANGE_OVER_CURRENT) in _ux_host_class_hub_port_change_process()
109 if (port_change & UX_HOST_CLASS_HUB_PORT_CHANGE_RESET) in _ux_host_class_hub_port_change_process()
Dux_host_class_hub_port_reset.c82 USHORT port_change; in _ux_host_class_hub_port_reset() local
99 status = _ux_host_class_hub_status_get(hub, port, &port_status, &port_change); in _ux_host_class_hub_port_reset()
105 if (port_change & UX_HOST_CLASS_HUB_PORT_CHANGE_RESET) in _ux_host_class_hub_port_reset()
Dux_host_class_hub_status_get.c86 …t_class_hub_status_get(UX_HOST_CLASS_HUB *hub, UINT port, USHORT *port_status, USHORT *port_change) in _ux_host_class_hub_status_get() argument
123 UX_PARAMETER_NOT_USED(port_change); in _ux_host_class_hub_status_get()
146 *port_change = (USHORT)_ux_utility_short_get(port_data+2); in _ux_host_class_hub_status_get()
Dux_host_class_hub_tasks_run.c134 USHORT port_change = hub -> ux_host_class_hub_run_port_change; in _ux_host_class_hub_status_process() local
137 if (port_change == 0) in _ux_host_class_hub_status_process()
143 if (port_change & UX_HOST_CLASS_HUB_PORT_CHANGE_OVER_CURRENT) in _ux_host_class_hub_status_process()
155 if (port_change & UX_HOST_CLASS_HUB_PORT_CHANGE_ENABLE) in _ux_host_class_hub_status_process()
167 if (port_change & UX_HOST_CLASS_HUB_PORT_CHANGE_SUSPEND) in _ux_host_class_hub_status_process()
179 if (port_change & UX_HOST_CLASS_HUB_PORT_CHANGE_RESET) in _ux_host_class_hub_status_process()
192 if (port_change & UX_HOST_CLASS_HUB_PORT_CHANGE_CONNECTION) in _ux_host_class_hub_status_process()
/USBX-v6.2.1/test/regression/
Dusbx_ux_host_class_hub_status_get_test.c24 USHORT port_change; in post_init_host() local
44 UX_TEST_CHECK_SUCCESS(_ux_host_class_hub_status_get(g_hub_host, 0, &port_status, &port_change)); in post_init_host()
52 …X_TEST_CHECK_NOT_SUCCESS(_ux_host_class_hub_status_get(g_hub_host, 0, &port_status, &port_change)); in post_init_host()
Dux_device_class_dummy_hub.c242 dummy_hub->port_change |= UX_HOST_CLASS_HUB_PORT_CHANGE_RESET; in _ux_device_class_hub_control_request()
273 dummy_hub->port_change &= (~UX_HOST_CLASS_HUB_PORT_CHANGE_RESET); in _ux_device_class_hub_control_request()
280 dummy_hub->port_change &= (~UX_HOST_CLASS_HUB_PORT_CHANGE_ENABLE); in _ux_device_class_hub_control_request()
287 dummy_hub->port_change &= (~UX_HOST_CLASS_HUB_PORT_CHANGE_SUSPEND); in _ux_device_class_hub_control_request()
294 dummy_hub->port_change &= (~UX_HOST_CLASS_HUB_PORT_CHANGE_OVER_CURRENT); in _ux_device_class_hub_control_request()
301 dummy_hub->port_change &= (~UX_HOST_CLASS_HUB_PORT_CHANGE_CONNECTION); in _ux_device_class_hub_control_request()
321 *((USHORT *)&data_ptr[2]) = dummy_hub->port_change; in _ux_device_class_hub_control_request()
Dusbx_host_class_hub_port_change_connection_process_coverage_test.c16 USHORT *port_change; in hcd_entry_function() local
24 port_change = (USHORT*)(transfer_request -> ux_transfer_request_data_pointer + 2); in hcd_entry_function()
26 *port_change = UX_HOST_CLASS_HUB_PORT_CHANGE_RESET; in hcd_entry_function()
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_ux_test_hub.h503 static VOID set_and_send_port_event(UINT port_status, UINT port_change) in set_and_send_port_event() argument
508 g_hub_device->port_change = port_change; in set_and_send_port_event()
531 g_hub_device->port_change = UX_HOST_CLASS_HUB_PORT_CHANGE_CONNECTION; in connect_device_to_hub_short_with_hub()
542 g_hub_device->port_change = UX_HOST_CLASS_HUB_PORT_CHANGE_CONNECTION; in disconnect_device_from_hub()
Dux_device_class_dummy_hub.h36 USHORT port_change; member
/USBX-v6.2.1/common/usbx_host_classes/inc/
Dux_host_class_hub.h264 …_class_hub_status_get(UX_HOST_CLASS_HUB *hub, UINT port, USHORT *port_status, USHORT *port_change);