Lines Matching refs:slot_ctx
528 struct xhci_slot_ctx *slot_ctx; in xhci_set_configuration() local
572 slot_ctx = xhci_get_slot_ctx(ctrl, in_ctx); in xhci_set_configuration()
573 slot_ctx->dev_info &= ~(cpu_to_le32(LAST_CTX_MASK)); in xhci_set_configuration()
574 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(max_ep_flag + 1) | 0); in xhci_set_configuration()
670 struct xhci_slot_ctx *slot_ctx; in xhci_address_device() local
731 slot_ctx = xhci_get_slot_ctx(ctrl, virt_dev->out_ctx); in xhci_address_device()
734 le32_to_cpu(slot_ctx->dev_state) & DEV_ADDR_MASK); in xhci_address_device()
1453 struct xhci_slot_ctx *slot_ctx; in xhci_update_hub_device() local
1478 slot_ctx = xhci_get_slot_ctx(ctrl, in_ctx); in xhci_update_hub_device()
1481 slot_ctx->dev_info |= cpu_to_le32(DEV_HUB); in xhci_update_hub_device()
1488 slot_ctx->dev_info |= cpu_to_le32(DEV_MTT); in xhci_update_hub_device()
1490 slot_ctx->dev_info &= cpu_to_le32(~DEV_MTT); in xhci_update_hub_device()
1491 slot_ctx->dev_info2 |= cpu_to_le32(XHCI_MAX_PORTS(udev->maxchild)); in xhci_update_hub_device()
1505 slot_ctx->tt_info |= cpu_to_le32(TT_THINK_TIME(think_time)); in xhci_update_hub_device()
1506 slot_ctx->dev_state = 0; in xhci_update_hub_device()