Lines Matching refs:ctrl_ctx
441 struct cdnsp_input_control_ctx *ctrl_ctx;
446 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx);
454 ctrl_ctx->drop_flags = 0;
455 ctrl_ctx->add_flags = 0;
638 struct cdnsp_input_control_ctx *ctrl_ctx;
644 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx);
647 if (ctrl_ctx->add_flags == 0 && ctrl_ctx->drop_flags == 0)
650 ctrl_ctx->add_flags |= cpu_to_le32(SLOT_FLAG);
651 ctrl_ctx->add_flags &= cpu_to_le32(~EP0_FLAG);
652 ctrl_ctx->drop_flags &= cpu_to_le32(~(SLOT_FLAG | EP0_FLAG));
659 if ((pdev->eps[i - 1].ring && !(ctrl_ctx->drop_flags & le32)) ||
660 (ctrl_ctx->add_flags & le32) || i == 1) {
669 if ((ctrl_ctx->add_flags != cpu_to_le32(SLOT_FLAG) &&
671 (ep_sts != EP_STATE_DISABLED && ctrl_ctx->drop_flags))
855 struct cdnsp_input_control_ctx *ctrl_ctx;
877 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx);
887 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG | EP0_FLAG);
888 ctrl_ctx->drop_flags = 0;
899 ctrl_ctx->add_flags = 0;
900 ctrl_ctx->drop_flags = 0;
929 struct cdnsp_input_control_ctx *ctrl_ctx;
980 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx);
981 ctrl_ctx->add_flags = cpu_to_le32(added_ctxs);
982 ctrl_ctx->drop_flags = 0;
1002 struct cdnsp_input_control_ctx *ctrl_ctx;
1042 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx);
1043 ctrl_ctx->drop_flags = cpu_to_le32(drop_flag);
1044 ctrl_ctx->add_flags = 0;