Changeset 7ec7b7e in mainline for uspace/drv/bus/usb/xhci/endpoint.c
- Timestamp:
- 2018-01-19T21:04:32Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 726af29
- Parents:
- c6f82e5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/endpoint.c
rc6f82e5 r7ec7b7e 326 326 unsigned idx = xhci_endpoint_index(ep); 327 327 xhci_device_ctx_t *ctx = dev->dev_ctx.virt; 328 xhci_ep_ctx_t *ep_ctx = &ctx->endpoint_ctx[idx]; 328 const xhci_hc_t * hc = bus_to_hc(dev->base.bus); 329 xhci_ep_ctx_t *ep_ctx = XHCI_GET_EP_CTX(ctx, hc, idx); 329 330 330 331 return XHCI_EP_STATE(*ep_ctx);
Note:
See TracChangeset
for help on using the changeset viewer.