Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2017-10-29T11:53:45Z (4 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master
Children:
a312d8f
Parents:
d33dc78
Message:

Added memory structure for stream TRB rings. Implemented their initialization. Fixed white space.

File:
1 edited

Legend:

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

    rd33dc78 ref1a3a8  
    169169#define XHCI_STREAM_SCT_SET(ctx, val) \
    170170        xhci_qword_set_bits(&(ctx).data[0], val, 3, 1)
     171#define XHCI_STREAM_DEQ_PTR_SET(ctx, val) \
     172        xhci_qword_set_bits(&(ctx).data[0], (val >> 4), 63, 4)
    171173} __attribute__((packed)) xhci_stream_ctx_t;
    172174
Note: See TracChangeset for help on using the changeset viewer.