Yinghai Lu | d57241f | 2007-02-28 11:17:02 +0000 | [diff] [blame] | 1 | #ifndef USBDEBUG_DIRECT_H |
| 2 | #define USBDEBUG_DIRECT_H |
| 3 | |
| 4 | struct ehci_debug_info { |
| 5 | void *ehci_caps; |
| 6 | void *ehci_regs; |
| 7 | void *ehci_debug; |
| 8 | unsigned devnum; |
| 9 | unsigned endpoint_out; |
| 10 | unsigned endpoint_in; |
| 11 | }; |
Stefan Reinauer | 7e16bf3 | 2009-04-21 23:05:13 +0000 | [diff] [blame] | 12 | int dbgp_bulk_write_x(struct ehci_debug_info *dbg_info, const char *bytes, int size); |
| 13 | int dbgp_bulk_read_x(struct ehci_debug_info *dbg_info, void *data, int size); |
| 14 | void set_ehci_base(unsigned ehci_base); |
| 15 | void set_ehci_debug(unsigned ehci_deug); |
| 16 | unsigned get_ehci_debug(void); |
| 17 | void set_debug_port(unsigned port); |
Yinghai Lu | d57241f | 2007-02-28 11:17:02 +0000 | [diff] [blame] | 18 | #endif |