Changeset a501aaba in mainline for uspace/drv/bus/usb/xhci/hw_struct/trb.h
- Timestamp:
- 2017-10-26T22:21:30Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5bc8250
- Parents:
- 928afc8d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/hw_struct/trb.h
r928afc8d ra501aaba 105 105 #define TRB_COMPLETION_CODE(trb) XHCI_DWORD_EXTRACT((trb).status, 31, 24) 106 106 107 #define TRB_LINK_SET_TC(trb, val) \ 108 xhci_dword_set_bits(&(trb).control, val, 1, 1) 109 #define TRB_SET_CYCLE(trb, val) \ 110 xhci_dword_set_bits(&(trb).control, val, 0, 0) 111 107 112 #define TRB_CTRL_SET_SETUP_WLENGTH(trb, val) \ 108 113 xhci_qword_set_bits(&(trb).parameter, val, 63, 48) … … 153 158 || type == XHCI_TRB_TYPE_STATUS_STAGE 154 159 || type == XHCI_TRB_TYPE_ISOCH); 155 }156 157 static inline void xhci_trb_set_cycle(xhci_trb_t *trb, bool cycle)158 {159 xhci_dword_set_bits(&trb->control, cycle, 0, 0);160 160 } 161 161
Note:
See TracChangeset
for help on using the changeset viewer.