summaryrefslogtreecommitdiff
path: root/bsp/allwinner/libraries/sunxi-hal/include/hal/usb/hal_hci.h
blob: b8ebe03b2b597bea6ceb9b7b759a03ab5835f26d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef SUNXI_HAL_HCI_H
#define SUNXI_HAL_HCI_H
#ifdef __cplusplus
extern "C" {
#endif

int hal_usb_core_init(void);

int hal_usb_core_exit(void);

void hal_usb_hci_init(void);

int hal_usb_hcd_init(int hci_num);

int hal_usb_hcd_deinit(int hci_num);

unsigned int ehci_ed_test(int hci_num, const char *buf, unsigned int count);
unsigned int ehci_usb_driverlevel_adjust(int hci_num, int driverlevel);
#ifdef __cplusplus
}
#endif

#endif