HelenOS sources
XHCI_DWORD_EXTRACT 56 uspace/drv/bus/usb/xhci/commands.c #define TRB_GET_CODE(trb) XHCI_DWORD_EXTRACT((trb).status, 31, 24)
XHCI_DWORD_EXTRACT 57 uspace/drv/bus/usb/xhci/commands.c #define TRB_GET_SLOT(trb) XHCI_DWORD_EXTRACT((trb).control, 31, 24)
XHCI_DWORD_EXTRACT 92 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_EP_STATE(ctx) XHCI_DWORD_EXTRACT((ctx).data[0], 2, 0)
XHCI_DWORD_EXTRACT 93 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_EP_MULT(ctx) XHCI_DWORD_EXTRACT((ctx).data[0], 9, 8)
XHCI_DWORD_EXTRACT 94 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_EP_MAX_P_STREAMS(ctx) XHCI_DWORD_EXTRACT((ctx).data[0], 14, 10)
XHCI_DWORD_EXTRACT 95 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_EP_LSA(ctx) XHCI_DWORD_EXTRACT((ctx).data[0], 15, 15)
XHCI_DWORD_EXTRACT 96 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_EP_INTERVAL(ctx) XHCI_DWORD_EXTRACT((ctx).data[0], 23, 16)
XHCI_DWORD_EXTRACT 98 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_EP_ERROR_COUNT(ctx) XHCI_DWORD_EXTRACT((ctx).data[1], 2, 1)
XHCI_DWORD_EXTRACT 99 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_EP_TYPE(ctx) XHCI_DWORD_EXTRACT((ctx).data[1], 5, 3)
XHCI_DWORD_EXTRACT 100 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_EP_HID(ctx) XHCI_DWORD_EXTRACT((ctx).data[1], 7, 7)
XHCI_DWORD_EXTRACT 101 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_EP_MAX_BURST_SIZE(ctx) XHCI_DWORD_EXTRACT((ctx).data[1], 15, 8)
XHCI_DWORD_EXTRACT 102 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_EP_MAX_PACKET_SIZE(ctx) XHCI_DWORD_EXTRACT((ctx).data[1], 31, 16)
XHCI_DWORD_EXTRACT 107 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_EP_MAX_ESIT_PAYLOAD_LO(ctx) XHCI_DWORD_EXTRACT((ctx).data3, 31, 16)
XHCI_DWORD_EXTRACT 108 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_EP_MAX_ESIT_PAYLOAD_HI(ctx) XHCI_DWORD_EXTRACT((ctx).data[0], 31, 24)
XHCI_DWORD_EXTRACT 149 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_SLOT_ROUTE_STRING(ctx) XHCI_DWORD_EXTRACT((ctx).data[0], 19, 0)
XHCI_DWORD_EXTRACT 150 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_SLOT_SPEED(ctx) XHCI_DWORD_EXTRACT((ctx).data[0], 23, 20)
XHCI_DWORD_EXTRACT 151 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_SLOT_MTT(ctx) XHCI_DWORD_EXTRACT((ctx).data[0], 25, 25)
XHCI_DWORD_EXTRACT 152 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_SLOT_HUB(ctx) XHCI_DWORD_EXTRACT((ctx).data[0], 26, 26)
XHCI_DWORD_EXTRACT 153 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_SLOT_CTX_ENTRIES(ctx) XHCI_DWORD_EXTRACT((ctx).data[0], 31, 27)
XHCI_DWORD_EXTRACT 155 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_SLOT_MAX_EXIT_LATENCY(ctx) XHCI_DWORD_EXTRACT((ctx).data[1], 15, 0)
XHCI_DWORD_EXTRACT 156 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_SLOT_ROOT_HUB_PORT(ctx) XHCI_DWORD_EXTRACT((ctx).data[1], 23, 16)
XHCI_DWORD_EXTRACT 157 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_SLOT_NUM_PORTS(ctx) XHCI_DWORD_EXTRACT((ctx).data[1], 31, 24)
XHCI_DWORD_EXTRACT 159 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_SLOT_TT_HUB_SLOT_ID(ctx) XHCI_DWORD_EXTRACT((ctx).data[2], 7, 0)
XHCI_DWORD_EXTRACT 160 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_SLOT_TT_PORT_NUM(ctx) XHCI_DWORD_EXTRACT((ctx).data[2], 15, 8)
XHCI_DWORD_EXTRACT 161 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_SLOT_TT_THINK_TIME(ctx) XHCI_DWORD_EXTRACT((ctx).data[2], 17, 16)
XHCI_DWORD_EXTRACT 162 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_SLOT_INTERRUPTER(ctx) XHCI_DWORD_EXTRACT((ctx).data[2], 31, 22)
XHCI_DWORD_EXTRACT 164 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_SLOT_DEVICE_ADDRESS(ctx) XHCI_DWORD_EXTRACT((ctx).data[3], 7, 0)
XHCI_DWORD_EXTRACT 165 uspace/drv/bus/usb/xhci/hw_struct/context.h #define XHCI_SLOT_STATE(ctx) XHCI_DWORD_EXTRACT((ctx).data[3], 31, 27)
XHCI_DWORD_EXTRACT 238 uspace/drv/bus/usb/xhci/hw_struct/context.h XHCI_DWORD_EXTRACT((ctx).data[0], (idx), (idx))
XHCI_DWORD_EXTRACT 244 uspace/drv/bus/usb/xhci/hw_struct/context.h XHCI_DWORD_EXTRACT((ctx).data[1], (idx), (idx))
XHCI_DWORD_EXTRACT 250 uspace/drv/bus/usb/xhci/hw_struct/context.h XHCI_DWORD_EXTRACT((ctx).data[7], 7, 0)
XHCI_DWORD_EXTRACT 252 uspace/drv/bus/usb/xhci/hw_struct/context.h XHCI_DWORD_EXTRACT((ctx).data[7], 15, 8)
XHCI_DWORD_EXTRACT 254 uspace/drv/bus/usb/xhci/hw_struct/context.h XHCI_DWORD_EXTRACT((ctx).data[7], 23, 16)
XHCI_DWORD_EXTRACT 108 uspace/drv/bus/usb/xhci/hw_struct/trb.h #define TRB_TYPE(trb) XHCI_DWORD_EXTRACT((trb).control, 15, 10)
XHCI_DWORD_EXTRACT 109 uspace/drv/bus/usb/xhci/hw_struct/trb.h #define TRB_CYCLE(trb) XHCI_DWORD_EXTRACT((trb).control, 0, 0)
XHCI_DWORD_EXTRACT 110 uspace/drv/bus/usb/xhci/hw_struct/trb.h #define TRB_LINK_TC(trb) XHCI_DWORD_EXTRACT((trb).control, 1, 1)
XHCI_DWORD_EXTRACT 111 uspace/drv/bus/usb/xhci/hw_struct/trb.h #define TRB_IOC(trb) XHCI_DWORD_EXTRACT((trb).control, 5, 5)
XHCI_DWORD_EXTRACT 112 uspace/drv/bus/usb/xhci/hw_struct/trb.h #define TRB_EVENT_DATA(trb) XHCI_DWORD_EXTRACT((trb).control, 2, 2)
XHCI_DWORD_EXTRACT 114 uspace/drv/bus/usb/xhci/hw_struct/trb.h #define TRB_TRANSFER_LENGTH(trb) XHCI_DWORD_EXTRACT((trb).status, 23, 0)
XHCI_DWORD_EXTRACT 115 uspace/drv/bus/usb/xhci/hw_struct/trb.h #define TRB_COMPLETION_CODE(trb) XHCI_DWORD_EXTRACT((trb).status, 31, 24)
XHCI_DWORD_EXTRACT 173 uspace/drv/bus/usb/xhci/hw_struct/trb.h const bool chain_bit = XHCI_DWORD_EXTRACT(trb->control, 4, 4);
XHCI_DWORD_EXTRACT 296 uspace/drv/bus/usb/xhci/transfers.c const unsigned slot_id = XHCI_DWORD_EXTRACT(trb->control, 31, 24);
XHCI_DWORD_EXTRACT 297 uspace/drv/bus/usb/xhci/transfers.c const unsigned ep_dci = XHCI_DWORD_EXTRACT(trb->control, 20, 16);
HelenOS homepage, sources at GitHub