HelenOS sources

XHCI_QWORD_EXTRACT   58 uspace/drv/bus/usb/xhci/commands.c #define TRB_GET_PHYS(trb) (XHCI_QWORD_EXTRACT((trb).parameter, 63, 4) << 4)
XHCI_QWORD_EXTRACT  104 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_EP_DCS(ctx)                XHCI_QWORD_EXTRACT((ctx).data2,  0,  0)
XHCI_QWORD_EXTRACT  105 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_EP_TR_DPTR(ctx)            XHCI_QWORD_EXTRACT((ctx).data2, 63,  4)
XHCI_QWORD_EXTRACT  215 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_STREAM_DCS(ctx)     XHCI_QWORD_EXTRACT((ctx).data[0],  0, 0)
XHCI_QWORD_EXTRACT  216 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_STREAM_SCT(ctx)     XHCI_QWORD_EXTRACT((ctx).data[0],  3, 1)
XHCI_QWORD_EXTRACT  217 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_STREAM_DEQ_PTR(ctx) (XHCI_QWORD_EXTRACT((ctx).data[0], 63, 4) << 4)
XHCI_QWORD_EXTRACT  218 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_STREAM_EDTLA(ctx)   XHCI_QWORD_EXTRACT((ctx).data[1], 24, 0)
XHCI_QWORD_EXTRACT  335 uspace/drv/bus/usb/xhci/rh.c 		uint8_t port_id = XHCI_QWORD_EXTRACT(trb.parameter, 31, 24);
HelenOS homepage, sources at GitHub