ve 178 arch/ia64/include/asm/processor.h __u64 ve : 1; /* enable hw walker */ ve 53 arch/mips/math-emu/ieee754int.h #define EXPLODESP(v, vc, vs, ve, vm) \ ve 56 arch/mips/math-emu/ieee754int.h ve = SPBEXP(v); \ ve 58 arch/mips/math-emu/ieee754int.h if (ve == SP_EMAX+1+SP_EBIAS) { \ ve 65 arch/mips/math-emu/ieee754int.h } else if (ve == SP_EMIN-1+SP_EBIAS) { \ ve 67 arch/mips/math-emu/ieee754int.h ve = SP_EMIN; \ ve 72 arch/mips/math-emu/ieee754int.h ve -= SP_EBIAS; \ ve 91 arch/mips/math-emu/ieee754int.h #define EXPLODEDP(v, vc, vs, ve, vm) \ ve 95 arch/mips/math-emu/ieee754int.h ve = DPBEXP(v); \ ve 96 arch/mips/math-emu/ieee754int.h if (ve == DP_EMAX+1+DP_EBIAS) { \ ve 103 arch/mips/math-emu/ieee754int.h } else if (ve == DP_EMIN-1+DP_EBIAS) { \ ve 105 arch/mips/math-emu/ieee754int.h ve = DP_EMIN; \ ve 110 arch/mips/math-emu/ieee754int.h ve -= DP_EBIAS; \ ve 119 arch/mips/math-emu/ieee754int.h #define FLUSHDP(v, vc, vs, ve, vm) \ ve 124 arch/mips/math-emu/ieee754int.h ve = DP_EMIN-1+DP_EBIAS; \ ve 130 arch/mips/math-emu/ieee754int.h #define FLUSHSP(v, vc, vs, ve, vm) \ ve 135 arch/mips/math-emu/ieee754int.h ve = SP_EMIN-1+SP_EBIAS; \ ve 355 drivers/gpu/drm/i915/gt/intel_lrc.c struct virtual_engine *ve = ve 356 drivers/gpu/drm/i915/gt/intel_lrc.c rb_entry(rb, typeof(*ve), nodes[engine->id].rb); ve 359 drivers/gpu/drm/i915/gt/intel_lrc.c if (engine == ve->siblings[0]) { /* only preempt one sibling */ ve 363 drivers/gpu/drm/i915/gt/intel_lrc.c next = READ_ONCE(ve->request); ve 596 drivers/gpu/drm/i915/gt/intel_lrc.c struct virtual_engine *ve = container_of(ce, typeof(*ve), context); ve 597 drivers/gpu/drm/i915/gt/intel_lrc.c struct i915_request *next = READ_ONCE(ve->request); ve 600 drivers/gpu/drm/i915/gt/intel_lrc.c tasklet_schedule(&ve->base.execlists.tasklet); ve 884 drivers/gpu/drm/i915/gt/intel_lrc.c static bool virtual_matches(const struct virtual_engine *ve, ve 902 drivers/gpu/drm/i915/gt/intel_lrc.c inflight = intel_context_inflight(&ve->context); ve 909 drivers/gpu/drm/i915/gt/intel_lrc.c static void virtual_xfer_breadcrumbs(struct virtual_engine *ve, ve 912 drivers/gpu/drm/i915/gt/intel_lrc.c struct intel_engine_cs *old = ve->siblings[0]; ve 917 drivers/gpu/drm/i915/gt/intel_lrc.c if (!list_empty(&ve->context.signal_link)) { ve 918 drivers/gpu/drm/i915/gt/intel_lrc.c list_move_tail(&ve->context.signal_link, ve 1070 drivers/gpu/drm/i915/gt/intel_lrc.c struct virtual_engine *ve = ve 1071 drivers/gpu/drm/i915/gt/intel_lrc.c rb_entry(rb, typeof(*ve), nodes[engine->id].rb); ve 1072 drivers/gpu/drm/i915/gt/intel_lrc.c struct i915_request *rq = READ_ONCE(ve->request); ve 1081 drivers/gpu/drm/i915/gt/intel_lrc.c if (!virtual_matches(ve, rq, engine)) { ve 1168 drivers/gpu/drm/i915/gt/intel_lrc.c struct virtual_engine *ve = ve 1169 drivers/gpu/drm/i915/gt/intel_lrc.c rb_entry(rb, typeof(*ve), nodes[engine->id].rb); ve 1172 drivers/gpu/drm/i915/gt/intel_lrc.c spin_lock(&ve->base.active.lock); ve 1174 drivers/gpu/drm/i915/gt/intel_lrc.c rq = ve->request; ve 1176 drivers/gpu/drm/i915/gt/intel_lrc.c spin_unlock(&ve->base.active.lock); ve 1183 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(rq != ve->request); ve 1184 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(rq->engine != &ve->base); ve 1185 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(rq->hw_context != &ve->context); ve 1188 drivers/gpu/drm/i915/gt/intel_lrc.c if (!virtual_matches(ve, rq, engine)) { ve 1189 drivers/gpu/drm/i915/gt/intel_lrc.c spin_unlock(&ve->base.active.lock); ve 1195 drivers/gpu/drm/i915/gt/intel_lrc.c spin_unlock(&ve->base.active.lock); ve 1206 drivers/gpu/drm/i915/gt/intel_lrc.c yesno(engine != ve->siblings[0])); ve 1208 drivers/gpu/drm/i915/gt/intel_lrc.c ve->request = NULL; ve 1209 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.execlists.queue_priority_hint = INT_MIN; ve 1216 drivers/gpu/drm/i915/gt/intel_lrc.c if (engine != ve->siblings[0]) { ve 1217 drivers/gpu/drm/i915/gt/intel_lrc.c u32 *regs = ve->context.lrc_reg_state; ve 1220 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(READ_ONCE(ve->context.inflight)); ve 1223 drivers/gpu/drm/i915/gt/intel_lrc.c if (!list_empty(&ve->context.signals)) ve 1224 drivers/gpu/drm/i915/gt/intel_lrc.c virtual_xfer_breadcrumbs(ve, engine); ve 1233 drivers/gpu/drm/i915/gt/intel_lrc.c for (n = 1; n < ve->num_siblings; n++) { ve 1234 drivers/gpu/drm/i915/gt/intel_lrc.c if (ve->siblings[n] == engine) { ve 1235 drivers/gpu/drm/i915/gt/intel_lrc.c swap(ve->siblings[n], ve 1236 drivers/gpu/drm/i915/gt/intel_lrc.c ve->siblings[0]); ve 1241 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(ve->siblings[0] != engine); ve 1258 drivers/gpu/drm/i915/gt/intel_lrc.c spin_unlock(&ve->base.active.lock); ve 1264 drivers/gpu/drm/i915/gt/intel_lrc.c spin_unlock(&ve->base.active.lock); ve 2614 drivers/gpu/drm/i915/gt/intel_lrc.c struct virtual_engine *ve = ve 2615 drivers/gpu/drm/i915/gt/intel_lrc.c rb_entry(rb, typeof(*ve), nodes[engine->id].rb); ve 2620 drivers/gpu/drm/i915/gt/intel_lrc.c spin_lock(&ve->base.active.lock); ve 2621 drivers/gpu/drm/i915/gt/intel_lrc.c rq = fetch_and_zero(&ve->request); ve 2629 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.execlists.queue_priority_hint = INT_MIN; ve 2631 drivers/gpu/drm/i915/gt/intel_lrc.c spin_unlock(&ve->base.active.lock); ve 3413 drivers/gpu/drm/i915/gt/intel_lrc.c static struct list_head *virtual_queue(struct virtual_engine *ve) ve 3415 drivers/gpu/drm/i915/gt/intel_lrc.c return &ve->base.execlists.default_priolist.requests[0]; ve 3420 drivers/gpu/drm/i915/gt/intel_lrc.c struct virtual_engine *ve = ve 3421 drivers/gpu/drm/i915/gt/intel_lrc.c container_of(kref, typeof(*ve), context.ref); ve 3424 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!list_empty(virtual_queue(ve))); ve 3425 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(ve->request); ve 3426 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(ve->context.inflight); ve 3428 drivers/gpu/drm/i915/gt/intel_lrc.c for (n = 0; n < ve->num_siblings; n++) { ve 3429 drivers/gpu/drm/i915/gt/intel_lrc.c struct intel_engine_cs *sibling = ve->siblings[n]; ve 3430 drivers/gpu/drm/i915/gt/intel_lrc.c struct rb_node *node = &ve->nodes[sibling->id].rb; ve 3443 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(__tasklet_is_scheduled(&ve->base.execlists.tasklet)); ve 3445 drivers/gpu/drm/i915/gt/intel_lrc.c if (ve->context.state) ve 3446 drivers/gpu/drm/i915/gt/intel_lrc.c __execlists_context_fini(&ve->context); ve 3447 drivers/gpu/drm/i915/gt/intel_lrc.c intel_context_fini(&ve->context); ve 3449 drivers/gpu/drm/i915/gt/intel_lrc.c kfree(ve->bonds); ve 3450 drivers/gpu/drm/i915/gt/intel_lrc.c kfree(ve); ve 3453 drivers/gpu/drm/i915/gt/intel_lrc.c static void virtual_engine_initial_hint(struct virtual_engine *ve) ve 3470 drivers/gpu/drm/i915/gt/intel_lrc.c swp = prandom_u32_max(ve->num_siblings); ve 3474 drivers/gpu/drm/i915/gt/intel_lrc.c swap(ve->siblings[swp], ve->siblings[0]); ve 3475 drivers/gpu/drm/i915/gt/intel_lrc.c virtual_update_register_offsets(ve->context.lrc_reg_state, ve 3476 drivers/gpu/drm/i915/gt/intel_lrc.c ve->siblings[0]); ve 3481 drivers/gpu/drm/i915/gt/intel_lrc.c struct virtual_engine *ve = container_of(ce, typeof(*ve), context); ve 3485 drivers/gpu/drm/i915/gt/intel_lrc.c err = __execlists_context_pin(ce, ve->siblings[0]); ve 3489 drivers/gpu/drm/i915/gt/intel_lrc.c virtual_engine_initial_hint(ve); ve 3495 drivers/gpu/drm/i915/gt/intel_lrc.c struct virtual_engine *ve = container_of(ce, typeof(*ve), context); ve 3498 drivers/gpu/drm/i915/gt/intel_lrc.c for (n = 0; n < ve->num_siblings; n++) ve 3499 drivers/gpu/drm/i915/gt/intel_lrc.c intel_engine_pm_get(ve->siblings[n]); ve 3506 drivers/gpu/drm/i915/gt/intel_lrc.c struct virtual_engine *ve = container_of(ce, typeof(*ve), context); ve 3511 drivers/gpu/drm/i915/gt/intel_lrc.c for (n = 0; n < ve->num_siblings; n++) ve 3512 drivers/gpu/drm/i915/gt/intel_lrc.c intel_engine_pm_put(ve->siblings[n]); ve 3525 drivers/gpu/drm/i915/gt/intel_lrc.c static intel_engine_mask_t virtual_submission_mask(struct virtual_engine *ve) ve 3530 drivers/gpu/drm/i915/gt/intel_lrc.c rq = READ_ONCE(ve->request); ve 3539 drivers/gpu/drm/i915/gt/intel_lrc.c mask = ve->siblings[0]->mask; ve 3543 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.name, ve 3545 drivers/gpu/drm/i915/gt/intel_lrc.c mask, ve->base.execlists.queue_priority_hint); ve 3552 drivers/gpu/drm/i915/gt/intel_lrc.c struct virtual_engine * const ve = (struct virtual_engine *)data; ve 3553 drivers/gpu/drm/i915/gt/intel_lrc.c const int prio = ve->base.execlists.queue_priority_hint; ve 3558 drivers/gpu/drm/i915/gt/intel_lrc.c mask = virtual_submission_mask(ve); ve 3564 drivers/gpu/drm/i915/gt/intel_lrc.c for (n = 0; READ_ONCE(ve->request) && n < ve->num_siblings; n++) { ve 3565 drivers/gpu/drm/i915/gt/intel_lrc.c struct intel_engine_cs *sibling = ve->siblings[n]; ve 3566 drivers/gpu/drm/i915/gt/intel_lrc.c struct ve_node * const node = &ve->nodes[sibling->id]; ve 3632 drivers/gpu/drm/i915/gt/intel_lrc.c struct virtual_engine *ve = to_virtual_engine(rq->engine); ve 3637 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.name, ve 3641 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(ve->base.submit_request != virtual_submit_request); ve 3643 drivers/gpu/drm/i915/gt/intel_lrc.c spin_lock_irqsave(&ve->base.active.lock, flags); ve 3645 drivers/gpu/drm/i915/gt/intel_lrc.c old = ve->request; ve 3655 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.execlists.queue_priority_hint = INT_MIN; ve 3656 drivers/gpu/drm/i915/gt/intel_lrc.c ve->request = NULL; ve 3658 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.execlists.queue_priority_hint = rq_prio(rq); ve 3659 drivers/gpu/drm/i915/gt/intel_lrc.c ve->request = i915_request_get(rq); ve 3661 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!list_empty(virtual_queue(ve))); ve 3662 drivers/gpu/drm/i915/gt/intel_lrc.c list_move_tail(&rq->sched.link, virtual_queue(ve)); ve 3664 drivers/gpu/drm/i915/gt/intel_lrc.c tasklet_schedule(&ve->base.execlists.tasklet); ve 3667 drivers/gpu/drm/i915/gt/intel_lrc.c spin_unlock_irqrestore(&ve->base.active.lock, flags); ve 3671 drivers/gpu/drm/i915/gt/intel_lrc.c virtual_find_bond(struct virtual_engine *ve, ve 3676 drivers/gpu/drm/i915/gt/intel_lrc.c for (i = 0; i < ve->num_bonds; i++) { ve 3677 drivers/gpu/drm/i915/gt/intel_lrc.c if (ve->bonds[i].master == master) ve 3678 drivers/gpu/drm/i915/gt/intel_lrc.c return &ve->bonds[i]; ve 3687 drivers/gpu/drm/i915/gt/intel_lrc.c struct virtual_engine *ve = to_virtual_engine(rq->engine); ve 3693 drivers/gpu/drm/i915/gt/intel_lrc.c bond = virtual_find_bond(ve, to_request(signal)->engine); ve 3711 drivers/gpu/drm/i915/gt/intel_lrc.c struct virtual_engine *ve; ve 3721 drivers/gpu/drm/i915/gt/intel_lrc.c ve = kzalloc(struct_size(ve, siblings, count), GFP_KERNEL); ve 3722 drivers/gpu/drm/i915/gt/intel_lrc.c if (!ve) ve 3725 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.i915 = ctx->i915; ve 3726 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.gt = siblings[0]->gt; ve 3727 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.id = -1; ve 3729 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.class = OTHER_CLASS; ve 3730 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.uabi_class = I915_ENGINE_CLASS_INVALID; ve 3731 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.instance = I915_ENGINE_CLASS_INVALID_VIRTUAL; ve 3732 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.uabi_instance = I915_ENGINE_CLASS_INVALID_VIRTUAL; ve 3747 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.saturated = ALL_ENGINES; ve 3749 drivers/gpu/drm/i915/gt/intel_lrc.c snprintf(ve->base.name, sizeof(ve->base.name), "virtual"); ve 3751 drivers/gpu/drm/i915/gt/intel_lrc.c intel_engine_init_active(&ve->base, ENGINE_VIRTUAL); ve 3753 drivers/gpu/drm/i915/gt/intel_lrc.c intel_engine_init_execlists(&ve->base); ve 3755 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.cops = &virtual_context_ops; ve 3756 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.request_alloc = execlists_request_alloc; ve 3758 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.schedule = i915_schedule; ve 3759 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.submit_request = virtual_submit_request; ve 3760 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.bond_execute = virtual_bond_execute; ve 3762 drivers/gpu/drm/i915/gt/intel_lrc.c INIT_LIST_HEAD(virtual_queue(ve)); ve 3763 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.execlists.queue_priority_hint = INT_MIN; ve 3764 drivers/gpu/drm/i915/gt/intel_lrc.c tasklet_init(&ve->base.execlists.tasklet, ve 3766 drivers/gpu/drm/i915/gt/intel_lrc.c (unsigned long)ve); ve 3768 drivers/gpu/drm/i915/gt/intel_lrc.c intel_context_init(&ve->context, ctx, &ve->base); ve 3774 drivers/gpu/drm/i915/gt/intel_lrc.c if (sibling->mask & ve->base.mask) { ve 3794 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(RB_EMPTY_NODE(&ve->nodes[sibling->id].rb)); ve 3795 drivers/gpu/drm/i915/gt/intel_lrc.c RB_CLEAR_NODE(&ve->nodes[sibling->id].rb); ve 3797 drivers/gpu/drm/i915/gt/intel_lrc.c ve->siblings[ve->num_siblings++] = sibling; ve 3798 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.mask |= sibling->mask; ve 3807 drivers/gpu/drm/i915/gt/intel_lrc.c if (ve->base.class != OTHER_CLASS) { ve 3808 drivers/gpu/drm/i915/gt/intel_lrc.c if (ve->base.class != sibling->class) { ve 3810 drivers/gpu/drm/i915/gt/intel_lrc.c sibling->class, ve->base.class); ve 3817 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.class = sibling->class; ve 3818 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.uabi_class = sibling->uabi_class; ve 3819 drivers/gpu/drm/i915/gt/intel_lrc.c snprintf(ve->base.name, sizeof(ve->base.name), ve 3820 drivers/gpu/drm/i915/gt/intel_lrc.c "v%dx%d", ve->base.class, count); ve 3821 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.context_size = sibling->context_size; ve 3823 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.emit_bb_start = sibling->emit_bb_start; ve 3824 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.emit_flush = sibling->emit_flush; ve 3825 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.emit_init_breadcrumb = sibling->emit_init_breadcrumb; ve 3826 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.emit_fini_breadcrumb = sibling->emit_fini_breadcrumb; ve 3827 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.emit_fini_breadcrumb_dw = ve 3830 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.flags = sibling->flags; ve 3833 drivers/gpu/drm/i915/gt/intel_lrc.c ve->base.flags |= I915_ENGINE_IS_VIRTUAL; ve 3835 drivers/gpu/drm/i915/gt/intel_lrc.c err = __execlists_context_alloc(&ve->context, siblings[0]); ve 3839 drivers/gpu/drm/i915/gt/intel_lrc.c __set_bit(CONTEXT_ALLOC_BIT, &ve->context.flags); ve 3841 drivers/gpu/drm/i915/gt/intel_lrc.c return &ve->context; ve 3844 drivers/gpu/drm/i915/gt/intel_lrc.c intel_context_put(&ve->context); ve 3882 drivers/gpu/drm/i915/gt/intel_lrc.c struct virtual_engine *ve = to_virtual_engine(engine); ve 3887 drivers/gpu/drm/i915/gt/intel_lrc.c for (n = 0; n < ve->num_siblings; n++) ve 3888 drivers/gpu/drm/i915/gt/intel_lrc.c if (sibling == ve->siblings[n]) ve 3890 drivers/gpu/drm/i915/gt/intel_lrc.c if (n == ve->num_siblings) ve 3893 drivers/gpu/drm/i915/gt/intel_lrc.c bond = virtual_find_bond(ve, master); ve 3899 drivers/gpu/drm/i915/gt/intel_lrc.c bond = krealloc(ve->bonds, ve 3900 drivers/gpu/drm/i915/gt/intel_lrc.c sizeof(*bond) * (ve->num_bonds + 1), ve 3905 drivers/gpu/drm/i915/gt/intel_lrc.c bond[ve->num_bonds].master = master; ve 3906 drivers/gpu/drm/i915/gt/intel_lrc.c bond[ve->num_bonds].sibling_mask = sibling->mask; ve 3908 drivers/gpu/drm/i915/gt/intel_lrc.c ve->bonds = bond; ve 3909 drivers/gpu/drm/i915/gt/intel_lrc.c ve->num_bonds++; ve 3974 drivers/gpu/drm/i915/gt/intel_lrc.c struct virtual_engine *ve = ve 3975 drivers/gpu/drm/i915/gt/intel_lrc.c rb_entry(rb, typeof(*ve), nodes[engine->id].rb); ve 3976 drivers/gpu/drm/i915/gt/intel_lrc.c struct i915_request *rq = READ_ONCE(ve->request); ve 1681 drivers/gpu/drm/i915/gt/selftest_lrc.c struct intel_context *ve[16]; ve 1697 drivers/gpu/drm/i915/gt/selftest_lrc.c ve[n] = intel_execlists_create_virtual(ctx[n], ve 1699 drivers/gpu/drm/i915/gt/selftest_lrc.c if (IS_ERR(ve[n])) { ve 1701 drivers/gpu/drm/i915/gt/selftest_lrc.c err = PTR_ERR(ve[n]); ve 1706 drivers/gpu/drm/i915/gt/selftest_lrc.c err = intel_context_pin(ve[n]); ve 1708 drivers/gpu/drm/i915/gt/selftest_lrc.c intel_context_put(ve[n]); ve 1715 drivers/gpu/drm/i915/gt/selftest_lrc.c err = igt_live_test_begin(&t, i915, __func__, ve[0]->engine->name); ve 1726 drivers/gpu/drm/i915/gt/selftest_lrc.c i915_request_create(ve[nc]); ve 1739 drivers/gpu/drm/i915/gt/selftest_lrc.c i915_request_create(ve[nc]); ve 1753 drivers/gpu/drm/i915/gt/selftest_lrc.c __func__, ve[0]->engine->name, ve 1758 drivers/gpu/drm/i915/gt/selftest_lrc.c __func__, ve[0]->engine->name, ve 1780 drivers/gpu/drm/i915/gt/selftest_lrc.c nctx, ve[0]->engine->name, ktime_to_ns(times[0]), ve 1788 drivers/gpu/drm/i915/gt/selftest_lrc.c intel_context_unpin(ve[nc]); ve 1789 drivers/gpu/drm/i915/gt/selftest_lrc.c intel_context_put(ve[nc]); ve 1855 drivers/gpu/drm/i915/gt/selftest_lrc.c struct intel_context *ve; ve 1869 drivers/gpu/drm/i915/gt/selftest_lrc.c ve = intel_execlists_create_virtual(ctx, siblings, nsibling); ve 1870 drivers/gpu/drm/i915/gt/selftest_lrc.c if (IS_ERR(ve)) { ve 1871 drivers/gpu/drm/i915/gt/selftest_lrc.c err = PTR_ERR(ve); ve 1875 drivers/gpu/drm/i915/gt/selftest_lrc.c err = intel_context_pin(ve); ve 1879 drivers/gpu/drm/i915/gt/selftest_lrc.c err = igt_live_test_begin(&t, i915, __func__, ve->engine->name); ve 1884 drivers/gpu/drm/i915/gt/selftest_lrc.c request[n] = i915_request_create(ve); ve 1901 drivers/gpu/drm/i915/gt/selftest_lrc.c __func__, ve->engine->name, ve 1906 drivers/gpu/drm/i915/gt/selftest_lrc.c __func__, ve->engine->name, ve 1936 drivers/gpu/drm/i915/gt/selftest_lrc.c intel_context_unpin(ve); ve 1938 drivers/gpu/drm/i915/gt/selftest_lrc.c intel_context_put(ve); ve 2028 drivers/gpu/drm/i915/gt/selftest_lrc.c struct intel_context *ve; ve 2030 drivers/gpu/drm/i915/gt/selftest_lrc.c ve = intel_execlists_create_virtual(ctx, ve 2033 drivers/gpu/drm/i915/gt/selftest_lrc.c if (IS_ERR(ve)) { ve 2034 drivers/gpu/drm/i915/gt/selftest_lrc.c err = PTR_ERR(ve); ve 2039 drivers/gpu/drm/i915/gt/selftest_lrc.c err = intel_virtual_engine_attach_bond(ve->engine, ve 2043 drivers/gpu/drm/i915/gt/selftest_lrc.c intel_context_put(ve); ve 2048 drivers/gpu/drm/i915/gt/selftest_lrc.c err = intel_context_pin(ve); ve 2049 drivers/gpu/drm/i915/gt/selftest_lrc.c intel_context_put(ve); ve 2055 drivers/gpu/drm/i915/gt/selftest_lrc.c rq[n + 1] = i915_request_create(ve); ve 2056 drivers/gpu/drm/i915/gt/selftest_lrc.c intel_context_unpin(ve); ve 2066 drivers/gpu/drm/i915/gt/selftest_lrc.c ve->engine->bond_execute); ve 120 drivers/media/platform/exynos4-is/fimc-capture.c return fimc_pipeline_call(&cap->ve, set_stream, 0); ve 180 drivers/media/platform/exynos4-is/fimc-capture.c struct fimc_pipeline *p = to_fimc_pipeline(cap->ve.pipe); ve 283 drivers/media/platform/exynos4-is/fimc-capture.c return fimc_pipeline_call(&vid_cap->ve, set_stream, 1); ve 307 drivers/media/platform/exynos4-is/fimc-capture.c return fimc_pipeline_call(&fimc->vid_cap.ve, close); ve 315 drivers/media/platform/exynos4-is/fimc-capture.c struct exynos_video_entity *ve = &vid_cap->ve; ve 324 drivers/media/platform/exynos4-is/fimc-capture.c fimc_pipeline_call(ve, open, &ve->vdev.entity, false); ve 388 drivers/media/platform/exynos4-is/fimc-capture.c v4l2_err(&ctx->fimc_dev->vid_cap.ve.vdev, ve 407 drivers/media/platform/exynos4-is/fimc-capture.c struct exynos_video_entity *ve = &vid_cap->ve; ve 445 drivers/media/platform/exynos4-is/fimc-capture.c ret = fimc_pipeline_call(ve, set_stream, 1); ve 447 drivers/media/platform/exynos4-is/fimc-capture.c v4l2_err(&ve->vdev, "stream on failed: %d\n", ret); ve 469 drivers/media/platform/exynos4-is/fimc-capture.c struct exynos_video_entity *ve = &vc->ve; ve 491 drivers/media/platform/exynos4-is/fimc-capture.c fimc_md_graph_lock(ve); ve 493 drivers/media/platform/exynos4-is/fimc-capture.c ret = fimc_pipeline_call(ve, open, &ve->vdev.entity, true); ve 507 drivers/media/platform/exynos4-is/fimc-capture.c ve->vdev.entity.use_count++; ve 509 drivers/media/platform/exynos4-is/fimc-capture.c fimc_md_graph_unlock(ve); ve 537 drivers/media/platform/exynos4-is/fimc-capture.c media_pipeline_stop(&vc->ve.vdev.entity); ve 545 drivers/media/platform/exynos4-is/fimc-capture.c fimc_pipeline_call(&vc->ve, close); ve 548 drivers/media/platform/exynos4-is/fimc-capture.c fimc_md_graph_lock(&vc->ve); ve 549 drivers/media/platform/exynos4-is/fimc-capture.c vc->ve.vdev.entity.use_count--; ve 550 drivers/media/platform/exynos4-is/fimc-capture.c fimc_md_graph_unlock(&vc->ve); ve 774 drivers/media/platform/exynos4-is/fimc-capture.c struct fimc_pipeline *p = to_fimc_pipeline(fimc->vid_cap.ve.pipe); ve 920 drivers/media/platform/exynos4-is/fimc-capture.c struct exynos_video_entity *ve = &vc->ve; ve 963 drivers/media/platform/exynos4-is/fimc-capture.c fimc_md_graph_lock(ve); ve 965 drivers/media/platform/exynos4-is/fimc-capture.c fimc_md_graph_unlock(ve); ve 979 drivers/media/platform/exynos4-is/fimc-capture.c fimc_md_graph_lock(ve); ve 981 drivers/media/platform/exynos4-is/fimc-capture.c sensor = __fimc_md_get_subdev(ve->pipe, IDX_SENSOR); ve 988 drivers/media/platform/exynos4-is/fimc-capture.c fimc_md_graph_unlock(ve); ve 1071 drivers/media/platform/exynos4-is/fimc-capture.c struct exynos_video_entity *ve = &fimc->vid_cap.ve; ve 1078 drivers/media/platform/exynos4-is/fimc-capture.c fimc_md_graph_lock(ve); ve 1079 drivers/media/platform/exynos4-is/fimc-capture.c sd = __fimc_md_get_subdev(ve->pipe, IDX_SENSOR); ve 1080 drivers/media/platform/exynos4-is/fimc-capture.c fimc_md_graph_unlock(ve); ve 1111 drivers/media/platform/exynos4-is/fimc-capture.c struct fimc_pipeline *p = to_fimc_pipeline(vc->ve.pipe); ve 1189 drivers/media/platform/exynos4-is/fimc-capture.c struct media_entity *entity = &vc->ve.vdev.entity; ve 1197 drivers/media/platform/exynos4-is/fimc-capture.c ret = media_pipeline_start(entity, &vc->ve.pipe->mp); ve 1201 drivers/media/platform/exynos4-is/fimc-capture.c sd = __fimc_md_get_subdev(vc->ve.pipe, IDX_SENSOR); ve 1246 drivers/media/platform/exynos4-is/fimc-capture.c media_pipeline_stop(&vc->ve.vdev.entity); ve 1733 drivers/media/platform/exynos4-is/fimc-capture.c struct video_device *vfd = &fimc->vid_cap.ve.vdev; ve 1842 drivers/media/platform/exynos4-is/fimc-capture.c fimc->vid_cap.ve.pipe = v4l2_get_subdev_hostdata(sd); ve 1847 drivers/media/platform/exynos4-is/fimc-capture.c fimc->vid_cap.ve.pipe = NULL; ve 1864 drivers/media/platform/exynos4-is/fimc-capture.c vdev = &fimc->vid_cap.ve.vdev; ve 1870 drivers/media/platform/exynos4-is/fimc-capture.c fimc->vid_cap.ve.pipe = NULL; ve 308 drivers/media/platform/exynos4-is/fimc-core.h struct exynos_video_entity ve; ve 97 drivers/media/platform/exynos4-is/fimc-isp-video.c isp_dbg(2, &video->ve.vdev, ve 111 drivers/media/platform/exynos4-is/fimc-isp-video.c ret = fimc_pipeline_call(&video->ve, set_stream, 1); ve 126 drivers/media/platform/exynos4-is/fimc-isp-video.c ret = fimc_pipeline_call(&isp->video_capture.ve, set_stream, 0); ve 164 drivers/media/platform/exynos4-is/fimc-isp-video.c v4l2_err(&video->ve.vdev, ve 213 drivers/media/platform/exynos4-is/fimc-isp-video.c isp_dbg(2, &video->ve.vdev, ve 267 drivers/media/platform/exynos4-is/fimc-isp-video.c struct exynos_video_entity *ve = &isp->video_capture.ve; ve 268 drivers/media/platform/exynos4-is/fimc-isp-video.c struct media_entity *me = &ve->vdev.entity; ve 285 drivers/media/platform/exynos4-is/fimc-isp-video.c ret = fimc_pipeline_call(ve, open, me, true); ve 306 drivers/media/platform/exynos4-is/fimc-isp-video.c struct media_entity *entity = &ivc->ve.vdev.entity; ve 319 drivers/media/platform/exynos4-is/fimc-isp-video.c fimc_pipeline_call(&ivc->ve, close); ve 489 drivers/media/platform/exynos4-is/fimc-isp-video.c struct exynos_video_entity *ve = &isp->video_capture.ve; ve 490 drivers/media/platform/exynos4-is/fimc-isp-video.c struct media_entity *me = &ve->vdev.entity; ve 493 drivers/media/platform/exynos4-is/fimc-isp-video.c ret = media_pipeline_start(me, &ve->pipe->mp); ve 523 drivers/media/platform/exynos4-is/fimc-isp-video.c media_pipeline_stop(&video->ve.vdev.entity); ve 603 drivers/media/platform/exynos4-is/fimc-isp-video.c vdev = &iv->ve.vdev; ve 637 drivers/media/platform/exynos4-is/fimc-isp-video.c struct exynos_video_entity *ve; ve 640 drivers/media/platform/exynos4-is/fimc-isp-video.c ve = &isp->video_capture.ve; ve 646 drivers/media/platform/exynos4-is/fimc-isp-video.c if (video_is_registered(&ve->vdev)) { ve 647 drivers/media/platform/exynos4-is/fimc-isp-video.c video_unregister_device(&ve->vdev); ve 648 drivers/media/platform/exynos4-is/fimc-isp-video.c media_entity_cleanup(&ve->vdev.entity); ve 649 drivers/media/platform/exynos4-is/fimc-isp-video.c ve->pipe = NULL; ve 392 drivers/media/platform/exynos4-is/fimc-isp.c isp->video_capture.ve.pipe = v4l2_get_subdev_hostdata(sd); ve 397 drivers/media/platform/exynos4-is/fimc-isp.c isp->video_capture.ve.pipe = NULL; ve 125 drivers/media/platform/exynos4-is/fimc-isp.h struct exynos_video_entity ve; ve 139 drivers/media/platform/exynos4-is/fimc-lite-reg.c v4l2_err(&dev->ve.vdev, ve 211 drivers/media/platform/exynos4-is/fimc-lite.c return fimc_pipeline_call(&fimc->ve, set_stream, 0); ve 330 drivers/media/platform/exynos4-is/fimc-lite.c fimc_pipeline_call(&fimc->ve, set_stream, 1); ve 391 drivers/media/platform/exynos4-is/fimc-lite.c v4l2_err(&fimc->ve.vdev, ve 433 drivers/media/platform/exynos4-is/fimc-lite.c fimc_pipeline_call(&fimc->ve, set_stream, 1); ve 461 drivers/media/platform/exynos4-is/fimc-lite.c struct media_entity *me = &fimc->ve.vdev.entity; ve 485 drivers/media/platform/exynos4-is/fimc-lite.c ret = fimc_pipeline_call(&fimc->ve, open, me, true); ve 510 drivers/media/platform/exynos4-is/fimc-lite.c struct media_entity *entity = &fimc->ve.vdev.entity; ve 521 drivers/media/platform/exynos4-is/fimc-lite.c fimc_pipeline_call(&fimc->ve, close); ve 815 drivers/media/platform/exynos4-is/fimc-lite.c struct media_entity *entity = &fimc->ve.vdev.entity; ve 821 drivers/media/platform/exynos4-is/fimc-lite.c ret = media_pipeline_start(entity, &fimc->ve.pipe->mp); ve 852 drivers/media/platform/exynos4-is/fimc-lite.c media_pipeline_stop(&fimc->ve.vdev.entity); ve 1256 drivers/media/platform/exynos4-is/fimc-lite.c struct video_device *vfd = &fimc->ve.vdev; ve 1298 drivers/media/platform/exynos4-is/fimc-lite.c fimc->ve.pipe = v4l2_get_subdev_hostdata(sd); ve 1303 drivers/media/platform/exynos4-is/fimc-lite.c fimc->ve.pipe = NULL; ve 1321 drivers/media/platform/exynos4-is/fimc-lite.c if (video_is_registered(&fimc->ve.vdev)) { ve 1322 drivers/media/platform/exynos4-is/fimc-lite.c video_unregister_device(&fimc->ve.vdev); ve 1323 drivers/media/platform/exynos4-is/fimc-lite.c media_entity_cleanup(&fimc->ve.vdev.entity); ve 1324 drivers/media/platform/exynos4-is/fimc-lite.c fimc->ve.pipe = NULL; ve 1581 drivers/media/platform/exynos4-is/fimc-lite.c fimc_pipeline_call(&fimc->ve, open, ve 1582 drivers/media/platform/exynos4-is/fimc-lite.c &fimc->ve.vdev.entity, false); ve 1608 drivers/media/platform/exynos4-is/fimc-lite.c return fimc_pipeline_call(&fimc->ve, close); ve 144 drivers/media/platform/exynos4-is/fimc-lite.h struct exynos_video_entity ve; ve 618 drivers/media/platform/exynos4-is/fimc-reg.c v4l2_err(&vc->ve.vdev, ve 698 drivers/media/platform/exynos4-is/fimc-reg.c v4l2_err(&vid_cap->ve.vdev, ve 721 drivers/media/platform/exynos4-is/fimc-reg.c v4l2_err(&vid_cap->ve.vdev, ve 757 drivers/media/platform/exynos4-is/media-dev.c dev->vid_cap.ve.pipe = NULL; ve 765 drivers/media/platform/exynos4-is/media-dev.c dev->ve.pipe = NULL; ve 869 drivers/media/platform/exynos4-is/media-dev.c sink = &fimc->ve.vdev.entity; ve 908 drivers/media/platform/exynos4-is/media-dev.c sink = &isp->video_capture.ve.vdev.entity; ve 1015 drivers/media/platform/exynos4-is/media-dev.c sink = &fmd->fimc[i]->vid_cap.ve.vdev.entity; ve 1107 drivers/media/platform/exynos4-is/media-dev.c struct exynos_video_entity *ve; ve 1116 drivers/media/platform/exynos4-is/media-dev.c ve = vdev_to_exynos_video_entity(vdev); ve 1117 drivers/media/platform/exynos4-is/media-dev.c p = to_fimc_pipeline(ve->pipe); ve 1126 drivers/media/platform/exynos4-is/media-dev.c ret = __fimc_pipeline_open(ve->pipe, entity, true); ve 1128 drivers/media/platform/exynos4-is/media-dev.c ret = __fimc_pipeline_close(ve->pipe); ve 173 drivers/media/platform/exynos4-is/media-dev.h static inline void fimc_md_graph_lock(struct exynos_video_entity *ve) ve 175 drivers/media/platform/exynos4-is/media-dev.h mutex_lock(&ve->vdev.entity.graph_obj.mdev->graph_mutex); ve 178 drivers/media/platform/exynos4-is/media-dev.h static inline void fimc_md_graph_unlock(struct exynos_video_entity *ve) ve 180 drivers/media/platform/exynos4-is/media-dev.h mutex_unlock(&ve->vdev.entity.graph_obj.mdev->graph_mutex); ve 121 drivers/tty/vt/vt_ioctl.c struct vt_event_wait *ve = list_entry(pos, ve 123 drivers/tty/vt/vt_ioctl.c if (!(ve->event.event & event)) ve 125 drivers/tty/vt/vt_ioctl.c ve->event.event = event; ve 128 drivers/tty/vt/vt_ioctl.c ve->event.oldev = old + 1; ve 129 drivers/tty/vt/vt_ioctl.c ve->event.newev = new + 1; ve 131 drivers/tty/vt/vt_ioctl.c ve->done = 1; ve 2052 drivers/video/fbdev/amifb.c u_short hs, vs, ve; ve 2071 drivers/video/fbdev/amifb.c ve = vs + (par->crsr.height << par->line_shift); ve 2077 drivers/video/fbdev/amifb.c lofsprite[1 << par->crsr.fmode] = spr2hw_ctl(vs, hs, ve); ve 2078 drivers/video/fbdev/amifb.c shfsprite[1 << par->crsr.fmode] = spr2hw_ctl(vs + 1, hs, ve + 1); ve 2081 drivers/video/fbdev/amifb.c lofsprite[1 << par->crsr.fmode] = spr2hw_ctl(vs, hs, ve + 1); ve 2082 drivers/video/fbdev/amifb.c shfsprite[1 << par->crsr.fmode] = spr2hw_ctl(vs + 1, hs, ve); ve 2086 drivers/video/fbdev/amifb.c lofsprite[1 << par->crsr.fmode] = spr2hw_ctl(vs, hs, ve); ve 182 drivers/video/fbdev/asiliantfb.c unsigned ve = p->var.yres + p->var.lower_margin + p->var.vsync_len; ve 192 drivers/video/fbdev/asiliantfb.c write_cr(0x11, (ve - 1) & 0x0f); ve 207 drivers/video/fbdev/asiliantfb.c write_cr(0x11, ((ve - 1) & 0x0f) | 0x80); ve 193 drivers/video/fbdev/matrox/matroxfb_misc.c unsigned int vd, vs, ve, vt, lc; ve 270 drivers/video/fbdev/matrox/matroxfb_misc.c ve = m->VSyncEnd - 1; ve 327 drivers/video/fbdev/matrox/matroxfb_misc.c hw->CRTC[17] = (ve & 0x0F) | 0x20; ve 552 drivers/video/fbdev/tdfxfb.c u32 vd, vs, ve, vt, vbs, vbe; ve 591 drivers/video/fbdev/tdfxfb.c ve = vs + (info->var.vsync_len << 1); ve 592 drivers/video/fbdev/tdfxfb.c vt = ve + (info->var.upper_margin << 1) - 1; ve 599 drivers/video/fbdev/tdfxfb.c ve = vs + info->var.vsync_len; ve 600 drivers/video/fbdev/tdfxfb.c vt = ve + info->var.upper_margin - 1; ve 659 drivers/video/fbdev/tdfxfb.c reg.crt[0x11] = (ve & 0x0f) | 0x20; ve 2104 kernel/trace/trace_events_filter.c #define DATA_REC(m, va, vb, vc, vd, ve, vf, vg, vh, nvisit) \ ve 2108 kernel/trace/trace_events_filter.c .e = ve, .f = vf, .g = vg, .h = vh }, \