Lines Matching refs:slot_ctx

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