Changeset bb784ae in mainline


Ignore:
Timestamp:
2017-10-16T17:28:07Z (7 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dbf32b1
Parents:
f971e957
Message:

Added max ESIT payload macro.

File:
1 edited

Legend:

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

    rf971e957 rbb784ae  
    7474#define XHCI_EP_DCS_SET(ctx, val) \
    7575        xhci_qword_set_bits(&(ctx).data2, val, 0, 0)
     76#define XHCI_EP_MAX_ESIT_PAYLOAD_LO_SET(ctx, val) \
     77        xhci_dword_set_bits(&(ctx).data3, val, 31, 16)
    7678#define XHCI_EP_INTERVAL_SET(ctx, val) \
    7779        xhci_dword_set_bits(&(ctx).data[0], val, 23, 16)
     
    9799#define XHCI_EP_DCS(ctx)                XHCI_QWORD_EXTRACT((ctx).data2,  0,  0)
    98100#define XHCI_EP_TR_DPTR(ctx)            XHCI_QWORD_EXTRACT((ctx).data2, 63,  4)
     101
     102#define XHCI_EP_MAX_ESIT_PAYLOAD_LO(ctx) XHCI_DWORD_EXTRACT((ctx).data3, 31,  16)
    99103
    100104} __attribute__((packed)) xhci_ep_ctx_t;
Note: See TracChangeset for help on using the changeset viewer.