Lines Matching defs:slot_ctx
1039 struct xhci_slot_ctx *slot_ctx;
1088 slot_ctx = xhci_get_slot_ctx(xhci, in_ctx);
1090 if ((slot_ctx->dev_info & LAST_CTX_MASK) > LAST_CTX(last_ctx)) {
1091 slot_ctx->dev_info &= ~LAST_CTX_MASK;
1092 slot_ctx->dev_info |= LAST_CTX(last_ctx);
1094 new_slot_info = slot_ctx->dev_info;
1127 struct xhci_slot_ctx *slot_ctx;
1193 slot_ctx = xhci_get_slot_ctx(xhci, in_ctx);
1195 if ((slot_ctx->dev_info & LAST_CTX_MASK) < LAST_CTX(last_ctx)) {
1196 slot_ctx->dev_info &= ~LAST_CTX_MASK;
1197 slot_ctx->dev_info |= LAST_CTX(last_ctx);
1199 new_slot_info = slot_ctx->dev_info;
1217 struct xhci_slot_ctx *slot_ctx;
1228 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx);
1229 slot_ctx->dev_info &= ~LAST_CTX_MASK;
1231 slot_ctx->dev_info |= LAST_CTX(1);
1402 struct xhci_slot_ctx *slot_ctx;
1424 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx);
1426 LAST_CTX_TO_EP_NUM(slot_ctx->dev_info));
1437 LAST_CTX_TO_EP_NUM(slot_ctx->dev_info));
2231 struct xhci_slot_ctx *slot_ctx;
2312 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx);
2313 udev->devnum = (slot_ctx->dev_state & DEV_ADDR_MASK) + 1;
2335 struct xhci_slot_ctx *slot_ctx;
2359 slot_ctx = xhci_get_slot_ctx(xhci, config_cmd->in_ctx);
2360 slot_ctx->dev_info |= DEV_HUB;
2362 slot_ctx->dev_info |= DEV_MTT;
2367 slot_ctx->dev_info2 |= XHCI_MAX_PORTS(hdev->maxchild);
2375 slot_ctx->tt_info |= TT_THINK_TIME(think_time);
2381 slot_ctx->dev_state = 0;