HelenOS sources
host2xhci 45 uspace/drv/bus/usb/xhci/commands.c #define TRB_SET_TSP(trb, tsp) (trb).control |= host2xhci(32, (((tsp) & 0x1) << 9))
host2xhci 46 uspace/drv/bus/usb/xhci/commands.c #define TRB_SET_TYPE(trb, type) (trb).control |= host2xhci(32, (type) << 10)
host2xhci 47 uspace/drv/bus/usb/xhci/commands.c #define TRB_SET_DC(trb, dc) (trb).control |= host2xhci(32, (dc) << 9)
host2xhci 48 uspace/drv/bus/usb/xhci/commands.c #define TRB_SET_EP(trb, ep) (trb).control |= host2xhci(32, ((ep) & 0x5) << 16)
host2xhci 49 uspace/drv/bus/usb/xhci/commands.c #define TRB_SET_STREAM(trb, st) (trb).control |= host2xhci(32, ((st) & 0xFFFF) << 16)
host2xhci 50 uspace/drv/bus/usb/xhci/commands.c #define TRB_SET_SUSP(trb, susp) (trb).control |= host2xhci(32, ((susp) & 0x1) << 23)
host2xhci 51 uspace/drv/bus/usb/xhci/commands.c #define TRB_SET_SLOT(trb, slot) (trb).control |= host2xhci(32, (slot) << 24)
host2xhci 52 uspace/drv/bus/usb/xhci/commands.c #define TRB_SET_DEV_SPEED(trb, speed) (trb).control |= host2xhci(32, (speed & 0xF) << 16)
host2xhci 53 uspace/drv/bus/usb/xhci/commands.c #define TRB_SET_DEQUEUE_PTR(trb, dptr) (trb).parameter |= host2xhci(64, (dptr))
host2xhci 54 uspace/drv/bus/usb/xhci/commands.c #define TRB_SET_ICTX(trb, phys) (trb).parameter |= host2xhci(64, (phys) & (~0xF))
host2xhci 443 uspace/drv/bus/usb/xhci/commands.c host2xhci(32, XHCI_REG_RD(hc->xecp, XHCI_EC_SP_SLOT_TYPE) << 16);
host2xhci 400 uspace/drv/bus/usb/xhci/hc.c code->cmds[1].value = host2xhci(32, 1);
host2xhci 402 uspace/drv/bus/usb/xhci/hc.c code->cmds[4].value = host2xhci(32, XHCI_STATUS_ACK_MASK);
host2xhci 583 uspace/drv/bus/usb/xhci/hc.c *status = host2xhci(32, *status);
host2xhci 760 uspace/drv/bus/usb/xhci/hc.c uint32_t v = host2xhci(32, target & BIT_RRANGE(uint32_t, 7));
host2xhci 808 uspace/drv/bus/usb/xhci/hc.c host2xhci(64, dma_buffer_phys_base(&dev->dev_ctx));
host2xhci 75 uspace/drv/bus/usb/xhci/hw_struct/common.h const uint32_t mask = host2xhci(32, BIT_RANGE(uint32_t, hi, lo));
host2xhci 76 uspace/drv/bus/usb/xhci/hw_struct/common.h const uint32_t set = host2xhci(32, value << lo);
host2xhci 85 uspace/drv/bus/usb/xhci/hw_struct/common.h *storage = host2xhci(64, value);
host2xhci 91 uspace/drv/bus/usb/xhci/hw_struct/common.h const uint64_t mask = host2xhci(64, BIT_RANGE(uint64_t, hi, lo));
host2xhci 92 uspace/drv/bus/usb/xhci/hw_struct/common.h const uint64_t set = host2xhci(64, value << lo);
host2xhci 99 uspace/drv/bus/usb/xhci/hw_struct/common.h mask = host2xhci(32, mask);
host2xhci 100 uspace/drv/bus/usb/xhci/hw_struct/common.h expected = host2xhci(32, expected);
host2xhci 89 uspace/drv/bus/usb/xhci/hw_struct/regs.h pio_write_##size((ptr), host2xhci(size, value))
host2xhci 91 uspace/drv/bus/usb/xhci/hw_struct/regs.h pio_set_##size((ptr), host2xhci(size, value), XHCI_PIO_CHANGE_UDELAY);
host2xhci 93 uspace/drv/bus/usb/xhci/hw_struct/regs.h pio_clear_##size((ptr), host2xhci(size, value), XHCI_PIO_CHANGE_UDELAY);
host2xhci 118 uspace/drv/bus/usb/xhci/hw_struct/regs.h pio_change_##size((ptr), host2xhci(size, BIT_RANGE_INSERT(uint##size##_t, \
host2xhci 120 uspace/drv/bus/usb/xhci/hw_struct/regs.h host2xhci(size, BIT_RANGE(uint##size##_t, (hi), (lo))), \
host2xhci 124 uspace/drv/bus/usb/xhci/hw_struct/regs.h pio_set_##size((ptr), host2xhci(size, BIT_RANGE_INSERT(uint##size##_t, \
host2xhci 129 uspace/drv/bus/usb/xhci/hw_struct/regs.h pio_clear_##size((ptr), host2xhci(size, BIT_RANGE_INSERT(uint##size##_t, \
host2xhci 181 uspace/drv/bus/usb/xhci/isoch.c trb.parameter = host2xhci(64, dma_buffer_phys_base(&it->data));
host2xhci 78 uspace/drv/bus/usb/xhci/scratchpad.c array[i] = host2xhci(64, dma_buffer_phys(&hc->scratchpad_array,
host2xhci 82 uspace/drv/bus/usb/xhci/scratchpad.c hc->dcbaa[0] = host2xhci(64, dma_buffer_phys_base(&hc->scratchpad_array));
host2xhci 174 uspace/drv/bus/usb/xhci/transfers.c trb->parameter = host2xhci(64, phys);
host2xhci 275 uspace/drv/bus/usb/xhci/transfers.c ed->parameter = host2xhci(64, (uintptr_t) transfer);
HelenOS homepage, sources at GitHub