Ignore:
Timestamp:
2017-11-20T19:14:31Z (6 years ago)
Author:
Salmelu <salmelu@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
27b0ea0
Parents:
d3086873
Message:

Isochronous transfers - endpoint initialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/hw_struct/context.h

    rd3086873 r6b433a8  
    7676#define XHCI_EP_MAX_ESIT_PAYLOAD_LO_SET(ctx, val) \
    7777        xhci_dword_set_bits(&(ctx).data3, val, 31, 16)
     78#define XHCI_EP_MAX_ESIT_PAYLOAD_HI_SET(ctx, val) \
     79        xhci_dword_set_bits(&(ctx).data[0], val, 31, 24)
    7880#define XHCI_EP_INTERVAL_SET(ctx, val) \
    7981        xhci_dword_set_bits(&(ctx).data[0], val, 23, 16)
     
    102104#define XHCI_EP_TR_DPTR(ctx)            XHCI_QWORD_EXTRACT((ctx).data2, 63,  4)
    103105
    104 #define XHCI_EP_MAX_ESIT_PAYLOAD_LO(ctx) XHCI_DWORD_EXTRACT((ctx).data3, 31,  16)
     106#define XHCI_EP_MAX_ESIT_PAYLOAD_LO(ctx) XHCI_DWORD_EXTRACT((ctx).data3, 31, 16)
     107#define XHCI_EP_MAX_ESIT_PAYLOAD_HI(ctx) XHCI_DWORD_EXTRACT((ctx).data[0], 31, 24)
    105108
    106109} __attribute__((packed)) xhci_ep_ctx_t;
Note: See TracChangeset for help on using the changeset viewer.