Changeset 3bacee1 in mainline for uspace/drv/bus/usb/xhci/hw_struct
- Timestamp:
- 2018-04-12T16:27:17Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3cf22f9
- Parents:
- 76d0981d
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
- Location:
- uspace/drv/bus/usb/xhci/hw_struct
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/hw_struct/regs.h
r76d0981d r3bacee1 235 235 #define XHCI_CAP_CIC hccparams2, 32, FLAG, 5 236 236 237 static inline unsigned xhci_get_max_spbuf(xhci_cap_regs_t *cap_regs) { 238 return XHCI_REG_RD(cap_regs, XHCI_CAP_MAX_SPBUF_HI) << 5 239 | XHCI_REG_RD(cap_regs, XHCI_CAP_MAX_SPBUF_LO); 237 static inline unsigned xhci_get_max_spbuf(xhci_cap_regs_t *cap_regs) 238 { 239 return XHCI_REG_RD(cap_regs, XHCI_CAP_MAX_SPBUF_HI) << 5 | 240 XHCI_REG_RD(cap_regs, XHCI_CAP_MAX_SPBUF_LO); 240 241 } 241 242 -
uspace/drv/bus/usb/xhci/hw_struct/trb.h
r76d0981d r3bacee1 166 166 167 167 return chain_bit && 168 (type == XHCI_TRB_TYPE_NORMAL 169 || type == XHCI_TRB_TYPE_DATA_STAGE170 || type == XHCI_TRB_TYPE_STATUS_STAGE171 ||type == XHCI_TRB_TYPE_ISOCH);168 (type == XHCI_TRB_TYPE_NORMAL || 169 type == XHCI_TRB_TYPE_DATA_STAGE || 170 type == XHCI_TRB_TYPE_STATUS_STAGE || 171 type == XHCI_TRB_TYPE_ISOCH); 172 172 } 173 173
Note:
See TracChangeset
for help on using the changeset viewer.
