Lines Matching defs:slot_ctx
442 struct cdnsp_slot_ctx *slot_ctx;
456 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx);
457 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK);
460 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1));
639 struct cdnsp_slot_ctx *slot_ctx;
655 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx);
661 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK);
662 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(i));
690 struct cdnsp_slot_ctx *slot_ctx;
694 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx);
695 slot_ctx->dev_info = 0;
699 slot_ctx = cdnsp_get_slot_ctx(&pdev->out_ctx);
700 slot_state = GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state));
701 trace_cdnsp_reset_device(slot_ctx);
729 trace_cdnsp_handle_cmd_reset_dev(slot_ctx);
824 struct cdnsp_slot_ctx *slot_ctx;
829 slot_ctx = cdnsp_get_slot_ctx(&pdev->out_ctx);
830 slot_state = GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state));
856 struct cdnsp_slot_ctx *slot_ctx;
868 slot_ctx = cdnsp_get_slot_ctx(&pdev->out_ctx);
869 dev_state = GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state));
872 trace_cdnsp_slot_already_in_default(slot_ctx);
876 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx);
879 if (!slot_ctx->dev_info || dev_state == SLOT_STATE_DEFAULT) {
890 trace_cdnsp_setup_device_slot(slot_ctx);