Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/usb/host/
Dxhci-dbg.c437 struct xhci_slot_ctx *slot_ctx = xhci_get_slot_ctx(xhci, ctx); in xhci_get_slot_state() local
439 switch (GET_SLOT_STATE(slot_ctx->dev_state)) { in xhci_get_slot_state()
459 struct xhci_slot_ctx *slot_ctx = xhci_get_slot_ctx(xhci, ctx); in xhci_dbg_slot_ctx() local
461 ((unsigned long)slot_ctx - (unsigned long)ctx->bytes); in xhci_dbg_slot_ctx()
466 &slot_ctx->dev_info, in xhci_dbg_slot_ctx()
467 (unsigned long long)dma, slot_ctx->dev_info); in xhci_dbg_slot_ctx()
470 &slot_ctx->dev_info2, in xhci_dbg_slot_ctx()
471 (unsigned long long)dma, slot_ctx->dev_info2); in xhci_dbg_slot_ctx()
474 &slot_ctx->tt_info, in xhci_dbg_slot_ctx()
475 (unsigned long long)dma, slot_ctx->tt_info); in xhci_dbg_slot_ctx()
[all …]
Dxhci.c1305 struct xhci_slot_ctx *slot_ctx; in xhci_drop_endpoint() local
1348 slot_ctx = xhci_get_slot_ctx(xhci, in_ctx); in xhci_drop_endpoint()
1350 if ((slot_ctx->dev_info & LAST_CTX_MASK) > LAST_CTX(last_ctx)) { in xhci_drop_endpoint()
1351 slot_ctx->dev_info &= ~LAST_CTX_MASK; in xhci_drop_endpoint()
1352 slot_ctx->dev_info |= LAST_CTX(last_ctx); in xhci_drop_endpoint()
1354 new_slot_info = slot_ctx->dev_info; in xhci_drop_endpoint()
1387 struct xhci_slot_ctx *slot_ctx; in xhci_add_endpoint() local
1451 slot_ctx = xhci_get_slot_ctx(xhci, in_ctx); in xhci_add_endpoint()
1453 if ((slot_ctx->dev_info & LAST_CTX_MASK) < LAST_CTX(last_ctx)) { in xhci_add_endpoint()
1454 slot_ctx->dev_info &= ~LAST_CTX_MASK; in xhci_add_endpoint()
[all …]
Dxhci-mem.c871 struct xhci_slot_ctx *slot_ctx; in xhci_setup_addressable_virt_dev() local
885 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); in xhci_setup_addressable_virt_dev()
891 slot_ctx->dev_info |= LAST_CTX(1); in xhci_setup_addressable_virt_dev()
893 slot_ctx->dev_info |= (u32) udev->route; in xhci_setup_addressable_virt_dev()
896 slot_ctx->dev_info |= (u32) SLOT_SPEED_SS; in xhci_setup_addressable_virt_dev()
899 slot_ctx->dev_info |= (u32) SLOT_SPEED_HS; in xhci_setup_addressable_virt_dev()
902 slot_ctx->dev_info |= (u32) SLOT_SPEED_FS; in xhci_setup_addressable_virt_dev()
905 slot_ctx->dev_info |= (u32) SLOT_SPEED_LS; in xhci_setup_addressable_virt_dev()
919 slot_ctx->dev_info2 |= (u32) ROOT_HUB_PORT(port_num); in xhci_setup_addressable_virt_dev()
930 slot_ctx->tt_info = udev->tt->hub->slot_id; in xhci_setup_addressable_virt_dev()
[all …]
Dxhci-ring.c911 struct xhci_slot_ctx *slot_ctx; in handle_set_deq_completion() local
929 slot_ctx = xhci_get_slot_ctx(xhci, dev->out_ctx); in handle_set_deq_completion()
945 slot_state = slot_ctx->dev_state; in handle_set_deq_completion()