Lines Matching refs:slot_ctx
495 struct xhci_slot_ctx *slot_ctx; in xhci_set_configuration() local
539 slot_ctx = xhci_get_slot_ctx(ctrl, in_ctx); in xhci_set_configuration()
540 slot_ctx->dev_info &= ~(cpu_to_le32(LAST_CTX_MASK)); in xhci_set_configuration()
541 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(max_ep_flag + 1) | 0); in xhci_set_configuration()
629 struct xhci_slot_ctx *slot_ctx; in xhci_address_device() local
690 slot_ctx = xhci_get_slot_ctx(ctrl, virt_dev->out_ctx); in xhci_address_device()
693 le32_to_cpu(slot_ctx->dev_state) & DEV_ADDR_MASK); in xhci_address_device()
1415 struct xhci_slot_ctx *slot_ctx; in xhci_update_hub_device() local
1440 slot_ctx = xhci_get_slot_ctx(ctrl, in_ctx); in xhci_update_hub_device()
1443 slot_ctx->dev_info |= cpu_to_le32(DEV_HUB); in xhci_update_hub_device()
1450 slot_ctx->dev_info |= cpu_to_le32(DEV_MTT); in xhci_update_hub_device()
1452 slot_ctx->dev_info &= cpu_to_le32(~DEV_MTT); in xhci_update_hub_device()
1453 slot_ctx->dev_info2 |= cpu_to_le32(XHCI_MAX_PORTS(udev->maxchild)); in xhci_update_hub_device()
1467 slot_ctx->tt_info |= cpu_to_le32(TT_THINK_TIME(think_time)); in xhci_update_hub_device()
1468 slot_ctx->dev_state = 0; in xhci_update_hub_device()