Home
last modified time | relevance | path

Searched refs:slot_ctx (Results 1 – 1 of 1) sorted by relevance

/qemu/hw/usb/
H A Dhcd-xhci.c2063 static USBPort *xhci_lookup_uport(XHCIState *xhci, uint32_t *slot_ctx) in xhci_lookup_uport() argument
2069 port = (slot_ctx[1]>>16) & 0xFF; in xhci_lookup_uport()
2076 port = (slot_ctx[0] >> 4*i) & 0x0f; in xhci_lookup_uport()
2100 uint32_t slot_ctx[4]; in xhci_address_slot() local
2123 xhci_dma_read_u32s(xhci, ictx+32, slot_ctx, sizeof(slot_ctx)); in xhci_address_slot()
2127 slot_ctx[0], slot_ctx[1], slot_ctx[2], slot_ctx[3]); in xhci_address_slot()
2132 uport = xhci_lookup_uport(xhci, slot_ctx); in xhci_address_slot()
2159 slot->intr = get_field(slot_ctx[2], TRB_INTR); in xhci_address_slot()
2164 slot_ctx[3] = SLOT_DEFAULT << SLOT_STATE_SHIFT; in xhci_address_slot()
2169 slot_ctx[3] = (SLOT_ADDRESSED << SLOT_STATE_SHIFT) | slotid; in xhci_address_slot()
[all …]