aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/usb/ehci_debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/usb/ehci_debug.h')
-rw-r--r--src/drivers/usb/ehci_debug.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/drivers/usb/ehci_debug.h b/src/drivers/usb/ehci_debug.h
index 39f5f7239a..d7ea91b4f9 100644
--- a/src/drivers/usb/ehci_debug.h
+++ b/src/drivers/usb/ehci_debug.h
@@ -37,6 +37,8 @@ void ehci_debug_select_port(unsigned int port);
#define DBGP_EP_BUSY (1<<2)
#define DBGP_EP_STATMASK (DBGP_EP_VALID | DBGP_EP_ENABLED)
+struct ehci_dbg_port;
+
struct dbgp_pipe
{
u8 devnum;
@@ -59,4 +61,10 @@ int dbgp_ep_is_active(struct dbgp_pipe *pipe);
int dbgp_bulk_write_x(struct dbgp_pipe *pipe, const char *bytes, int size);
int dbgp_bulk_read_x(struct dbgp_pipe *pipe, void *data, int size);
+int dbgp_control_msg(struct ehci_dbg_port *ehci_debug, unsigned devnum,
+ int requesttype, int request, int value, int index, void *data, int size);
+void dbgp_mdelay(int ms);
+
+int dbgp_probe_gadget(struct ehci_dbg_port *ehci_debug, struct dbgp_pipe *pipe);
+
#endif /* _EHCI_DEBUG_H_ */