1 #ifndef SUNXI_HAL_HCI_H 2 #define SUNXI_HAL_HCI_H 3 #ifdef __cplusplus 4 extern "C" { 5 #endif 6 7 int hal_usb_core_init(void); 8 9 int hal_usb_core_exit(void); 10 11 void hal_usb_hci_init(void); 12 13 int hal_usb_hcd_init(int hci_num); 14 15 int hal_usb_hcd_deinit(int hci_num); 16 17 unsigned int ehci_ed_test(int hci_num, const char *buf, unsigned int count); 18 unsigned int ehci_usb_driverlevel_adjust(int hci_num, int driverlevel); 19 #ifdef __cplusplus 20 } 21 #endif 22 23 #endif 24