Changeset 7428b92 in mainline
- Timestamp:
- 2017-07-31T19:59:24Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 174788f
- Parents:
- 73e5b62
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/hw_struct/context.h
r73e5b62 r7428b92 125 125 uint32_t data [16]; 126 126 #define XHCI_INPUT_CTRL_CTX_DROP(ctx, idx) \ 127 (assert((idx) > 1 && (idx) < 32), XHCI_DWORD_EXTRACT((ctx).data[0], (idx), (idx))) 127 XHCI_DWORD_EXTRACT((ctx).data[0], (idx), (idx)) 128 129 #define XHCI_INPUT_CTRL_CTX_DROP_SET(ctx, idx) (ctx).data[0] |= (1 << (idx)) 130 128 131 #define XHCI_INPUT_CTRL_CTX_ADD(ctx, idx) \ 129 (assert((idx) >= 0 && (idx) < 32), XHCI_DWORD_EXTRACT((ctx).data[1], (idx), (idx))) 132 XHCI_DWORD_EXTRACT((ctx).data[1], (idx), (idx)) 133 134 #define XHCI_INPUT_CTRL_CTX_ADD_SET(ctx, idx) (ctx).data[1] |= (1 << (idx)) 135 130 136 #define XHCI_INPUT_CTRL_CTX_CONFIG_VALUE(ctx) XHCI_DWORD_EXTRACT((ctx).data[7], 7, 0) 131 137 #define XHCI_INPUT_CTRL_CTX_IFACE_NUMBER(ctx) XHCI_DWORD_EXTRACT((ctx).data[7], 15, 8) … … 137 143 */ 138 144 typedef struct xhci_input_ctx { 139 xhci_input_ctrl_ctx_t ctr _ctx;145 xhci_input_ctrl_ctx_t ctrl_ctx; 140 146 xhci_slot_ctx_t slot_ctx; 141 147 xhci_ep_ctx_t endpoint_ctx [31];
Note:
See TracChangeset
for help on using the changeset viewer.