Changeset 913007f in mainline for uspace/drv/bus/usb/xhci/commands.h
- Timestamp:
- 2017-10-19T21:40:57Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fe1c48d
- Parents:
- 2896ff6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/commands.h
r2896ff6 r913007f 42 42 #include "hw_struct/trb.h" 43 43 44 /* Useful timeouts for `xhci_cmd_wait()` */ 45 #define XHCI_DEFAULT_TIMEOUT 1000000 46 #define XHCI_BLOCK_INDEFINITELY 0 47 44 48 typedef struct xhci_hc xhci_hc_t; 45 49 typedef struct xhci_input_ctx xhci_input_ctx_t; … … 67 71 xhci_cmd_t *xhci_cmd_alloc(void); 68 72 void xhci_cmd_init(xhci_cmd_t *); 69 int xhci_cmd_wait(xhci_cmd_t * );73 int xhci_cmd_wait(xhci_cmd_t *, suseconds_t); 70 74 void xhci_cmd_fini(xhci_cmd_t *); 71 75 void xhci_cmd_free(xhci_cmd_t *);
Note:
See TracChangeset
for help on using the changeset viewer.