Changeset 62ba2cbe in mainline for uspace/drv/bus/usb/xhci/hw_struct/regs.h
- Timestamp:
- 2017-06-16T01:25:16Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cb89430
- Parents:
- ce6e001
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/hw_struct/regs.h
rce6e001 r62ba2cbe 32 32 /** @file 33 33 * Memory-mapped register structures of the xHC. 34 * 35 * The main pr 34 36 */ 35 37 … … 42 44 43 45 /* 44 * The macros XHCI_REG_* might seem a bit magic. It is the most compact way to45 * provide flexible interface abstracting from the real storage of given46 * register, but to avoid having to specify several constants per register.47 46 */ 48 47 … … 134 133 135 134 /* 136 * 0:3- IST135 * 3:0 - IST 137 136 * 7:4 - ERST Max 138 * 2 1:25- Max Scratchpad Bufs Hi137 * 24:21 - Max Scratchpad Bufs Hi 139 138 * 26 - SPR 140 139 * 31:27 - Max Scratchpad Bufs Lo … … 188 187 #define XHCI_CAP_IST hcsparams2, 32, RANGE, 3, 0 189 188 #define XHCI_CAP_ERST_MAX hcsparams2, 32, RANGE, 7, 4 190 #define XHCI_CAP_SPR hcsparams2, 32, RANGE, 26, 26 189 #define XHCI_CAP_MAX_SPBUF_LO hcsparams2, 32, RANGE, 25, 4 190 #define XHCI_CAP_SPR hcsparams2, 32, FLAG, 26 191 #define XHCI_CAP_MAX_SPBUF_HI hcsparams2, 32, RANGE, 31, 27 191 192 #define XHCI_CAP_U1EL hcsparams3, 32, RANGE, 7, 0 192 193 #define XHCI_CAP_U2EL hcsparams3, 32, RANGE, 31, 16 … … 203 204 #define XHCI_CAP_SEC hccparams1, 32, FLAG, 10 204 205 #define XHCI_CAP_CFC hccparams1, 32, FLAG, 11 205 #define XHCI_CAP_MAX_PSA_SIZE hccparams1, 32, FLAG, 12206 #define XHCI_CAP_XECP hccparams1, 32, FLAG, 13206 #define XHCI_CAP_MAX_PSA_SIZE hccparams1, 32, RANGE, 15, 12 207 #define XHCI_CAP_XECP hccparams1, 32, RANGE, 31, 16 207 208 #define XHCI_CAP_DBOFF dboff, 32, FIELD 208 209 #define XHCI_CAP_RTSOFF rtsoff, 32, FIELD … … 450 451 #define XHCI_RT_MFINDEX mfindex, 32, FIELD 451 452 453 /** 454 * XHCI Doorbel Registers: section 5.6 455 * 456 * These registers are write-only, thus convenience macros are useless. 457 */ 458 typedef ioport32_t xhci_doorbell_t; 459 452 460 #endif 453 461 /**
Note:
See TracChangeset
for help on using the changeset viewer.