1 /* This test simulator is designed to simulate ux_hcd_ APIs for test. */
2 
3 #ifndef _UX_TEST_HCD_SIM_HOST_H
4 #define _UX_TEST_HCD_SIM_HOST_H
5 
6 #include "ux_test.h"
7 
8 /* Uses general entry action simulator */
9 #define _UX_TEST_HCD_SIM_ACTION_STRUCT _UX_TEST_SIM_ENTRY_ACTION_STRUCT
10 #define UX_TEST_HCD_SIM_ACTION UX_TEST_SIM_ENTRY_ACTION
11 
12 VOID ux_test_hcd_sim_host_disconnect_no_wait(VOID);
13 VOID ux_test_hcd_sim_host_disconnect(VOID);
14 VOID ux_test_hcd_sim_host_connect_no_wait(ULONG speed);
15 VOID ux_test_hcd_sim_host_connect(ULONG speed);
16 
17 UINT  _ux_test_hcd_sim_host_initialize(UX_HCD *hcd);
18 
19 VOID ux_test_hcd_sim_host_cleanup(VOID);
20 
21 UINT _ux_test_hcd_sim_host_entry(UX_HCD *hcd, UINT function, VOID *parameter);
22 
23 #endif /* _UX_TEST_HCD_SIM_HOST_H */
24