Lines Matching refs:slot_ctx
498 struct xhci_slot_ctx *slot_ctx; in xhci_set_configuration() local
542 slot_ctx = xhci_get_slot_ctx(ctrl, in_ctx); in xhci_set_configuration()
543 slot_ctx->dev_info &= ~(cpu_to_le32(LAST_CTX_MASK)); in xhci_set_configuration()
544 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(max_ep_flag + 1) | 0); in xhci_set_configuration()
632 struct xhci_slot_ctx *slot_ctx; in xhci_address_device() local
696 slot_ctx = xhci_get_slot_ctx(ctrl, virt_dev->out_ctx); in xhci_address_device()
699 le32_to_cpu(slot_ctx->dev_state) & DEV_ADDR_MASK); in xhci_address_device()
1424 struct xhci_slot_ctx *slot_ctx; in xhci_update_hub_device() local
1449 slot_ctx = xhci_get_slot_ctx(ctrl, in_ctx); in xhci_update_hub_device()
1452 slot_ctx->dev_info |= cpu_to_le32(DEV_HUB); in xhci_update_hub_device()
1459 slot_ctx->dev_info |= cpu_to_le32(DEV_MTT); in xhci_update_hub_device()
1461 slot_ctx->dev_info &= cpu_to_le32(~DEV_MTT); in xhci_update_hub_device()
1462 slot_ctx->dev_info2 |= cpu_to_le32(XHCI_MAX_PORTS(udev->maxchild)); in xhci_update_hub_device()
1476 slot_ctx->tt_info |= cpu_to_le32(TT_THINK_TIME(think_time)); in xhci_update_hub_device()
1477 slot_ctx->dev_state = 0; in xhci_update_hub_device()