Home
last modified time | relevance | path

Searched refs:vpe (Results 1 – 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/arch/mips/lantiq/
Dirq.c49 #define ltq_icu_w32(vpe, m, x, y) \ argument
50 ltq_w32((x), ltq_icu_membase[vpe] + m*LTQ_ICU_IM_SIZE + (y))
52 #define ltq_icu_r32(vpe, m, x) \ argument
53 ltq_r32(ltq_icu_membase[vpe] + m*LTQ_ICU_IM_SIZE + (x))
82 int vpe; in ltq_disable_irq() local
87 for_each_present_cpu(vpe) { in ltq_disable_irq()
88 ltq_icu_w32(vpe, im, in ltq_disable_irq()
89 ltq_icu_r32(vpe, im, LTQ_ICU_IER) & ~BIT(offset), in ltq_disable_irq()
100 int vpe; in ltq_mask_and_ack_irq() local
105 for_each_present_cpu(vpe) { in ltq_mask_and_ack_irq()
[all …]
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-gic-v4.c95 static int its_alloc_vcpu_sgis(struct its_vpe *vpe, int idx) in its_alloc_vcpu_sgis() argument
107 vpe->fwnode = irq_domain_alloc_named_id_fwnode(name, idx); in its_alloc_vcpu_sgis()
108 if (!vpe->fwnode) in its_alloc_vcpu_sgis()
114 vpe->sgi_domain = irq_domain_create_linear(vpe->fwnode, 16, in its_alloc_vcpu_sgis()
115 sgi_domain_ops, vpe); in its_alloc_vcpu_sgis()
116 if (!vpe->sgi_domain) in its_alloc_vcpu_sgis()
119 sgi_base = __irq_domain_alloc_irqs(vpe->sgi_domain, -1, 16, in its_alloc_vcpu_sgis()
120 NUMA_NO_NODE, vpe, in its_alloc_vcpu_sgis()
128 if (vpe->sgi_domain) in its_alloc_vcpu_sgis()
129 irq_domain_remove(vpe->sgi_domain); in its_alloc_vcpu_sgis()
[all …]
Dirq-gic-v3-its.c259 static int vpe_to_cpuid_lock(struct its_vpe *vpe, unsigned long *flags) in vpe_to_cpuid_lock() argument
261 raw_spin_lock_irqsave(&vpe->vpe_lock, *flags); in vpe_to_cpuid_lock()
262 return vpe->col_idx; in vpe_to_cpuid_lock()
265 static void vpe_to_cpuid_unlock(struct its_vpe *vpe, unsigned long flags) in vpe_to_cpuid_unlock() argument
267 raw_spin_unlock_irqrestore(&vpe->vpe_lock, flags); in vpe_to_cpuid_unlock()
276 cpu = vpe_to_cpuid_lock(map->vpe, flags); in irq_to_cpuid_lock()
293 vpe_to_cpuid_unlock(map->vpe, flags); in irq_to_cpuid_unlock()
304 static struct its_vpe *valid_vpe(struct its_node *its, struct its_vpe *vpe) in valid_vpe() argument
306 if (valid_col(its->collections + vpe->col_idx)) in valid_vpe()
307 return vpe; in valid_vpe()
[all …]
/kernel/linux/linux-5.10/arch/mips/kernel/
Dvpe-mt.c26 int vpe_run(struct vpe *v) in vpe_run()
181 struct vpe *v; in vpe_alloc()
196 int vpe_start(void *vpe, unsigned long start) in vpe_start() argument
198 struct vpe *v = vpe; in vpe_start()
206 int vpe_stop(void *vpe) in vpe_stop() argument
208 struct vpe *v = vpe; in vpe_stop()
227 int vpe_free(void *vpe) in vpe_free() argument
229 struct vpe *v = vpe; in vpe_free()
264 struct vpe *vpe = get_vpe(aprp_cpu_index()); in store_kill() local
267 list_for_each_entry(notifier, &vpe->notify, list) in store_kill()
[all …]
Dvpe-cmp.c27 struct vpe *vpe = get_vpe(aprp_cpu_index()); in store_kill() local
30 list_for_each_entry(notifier, &vpe->notify, list) in store_kill()
33 release_progmem(vpe->load_addr); in store_kill()
34 vpe->state = VPE_STATE_UNUSED; in store_kill()
43 struct vpe *vpe = get_vpe(aprp_cpu_index()); in ntcs_show() local
45 return sprintf(buf, "%d\n", vpe->ntcs); in ntcs_show()
51 struct vpe *vpe = get_vpe(aprp_cpu_index()); in ntcs_store() local
63 vpe->ntcs = new; in ntcs_store()
74 ATTRIBUTE_GROUPS(vpe);
92 struct vpe *v = NULL; in vpe_module_init()
[all …]
Dvpe.c53 struct vpe *get_vpe(int minor) in get_vpe()
55 struct vpe *res, *v; in get_vpe()
92 struct vpe *alloc_vpe(int minor) in alloc_vpe()
94 struct vpe *v; in alloc_vpe()
96 v = kzalloc(sizeof(struct vpe), GFP_KERNEL); in alloc_vpe()
133 void release_vpe(struct vpe *v) in release_vpe()
550 static int find_vpe_symbols(struct vpe *v, Elf_Shdr *sechdrs, in find_vpe_symbols()
576 static int vpe_elfload(struct vpe *v) in vpe_elfload()
769 struct vpe *v; in vpe_open()
821 struct vpe *v; in vpe_release()
[all …]
DMakefile67 obj-$(CONFIG_MIPS_VPE_LOADER) += vpe.o
68 obj-$(CONFIG_MIPS_VPE_LOADER_CMP) += vpe-cmp.o
69 obj-$(CONFIG_MIPS_VPE_LOADER_MT) += vpe-mt.o
Drtlx.c68 void rtlx_starting(int vpe) in rtlx_starting() argument
81 void rtlx_stopping(int vpe) in rtlx_stopping() argument
Dcpu-probe.c2162 void cpu_set_vpe_id(struct cpuinfo_mips *cpuinfo, unsigned int vpe) in cpu_set_vpe_id() argument
2165 WARN_ON(vpe > (MIPS_GLOBALNUMBER_VP >> MIPS_GLOBALNUMBER_VP_SHF)); in cpu_set_vpe_id()
2168 WARN_ON(vpe && !IS_ENABLED(CONFIG_MIPS_MT_SMP) && in cpu_set_vpe_id()
2172 cpuinfo->globalnumber |= vpe << MIPS_GLOBALNUMBER_VP_SHF; in cpu_set_vpe_id()
Dperf_event_mipsxx.c98 #define M_PERFCTL_VPEID(vpe) ((vpe) << MIPS_PERFCTRL_VPEID_S) argument
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dvpe.h54 struct vpe { struct
88 struct vpe *pvpe; /* parent VPE */ argument
94 void (*start)(int vpe);
95 void (*stop)(int vpe);
116 struct vpe *get_vpe(int minor);
118 struct vpe *alloc_vpe(int minor);
120 void release_vpe(struct vpe *v);
125 int vpe_run(struct vpe *v);
Drtlx.h30 void rtlx_starting(int vpe);
31 void rtlx_stopping(int vpe);
Dsmp-cps.h28 extern void mips_cps_boot_vpes(struct core_boot_config *cfg, unsigned vpe);
Dcpu-info.h179 extern void cpu_set_vpe_id(struct cpuinfo_mips *cpuinfo, unsigned int vpe);
/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/
Dvgic-v4.c108 static void vgic_v4_sync_sgi_config(struct its_vpe *vpe, struct vgic_irq *irq) in vgic_v4_sync_sgi_config() argument
110 vpe->sgi_config[irq->intid].enabled = irq->enabled; in vgic_v4_sync_sgi_config()
111 vpe->sgi_config[irq->intid].group = irq->group; in vgic_v4_sync_sgi_config()
112 vpe->sgi_config[irq->intid].priority = irq->priority; in vgic_v4_sync_sgi_config()
117 struct its_vpe *vpe = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_enable_vsgis() local
137 irq->host_irq = irq_find_mapping(vpe->sgi_domain, i); in vgic_v4_enable_vsgis()
140 vgic_v4_sync_sgi_config(vpe, irq); in vgic_v4_enable_vsgis()
315 struct its_vpe *vpe = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_put() local
317 if (!vgic_supports_direct_msis(vcpu->kvm) || !vpe->resident) in vgic_v4_put()
320 return its_make_vpe_non_resident(vpe, need_db); in vgic_v4_put()
[all …]
Dvgic-its.c370 if (map.vpe) in update_affinity()
371 atomic_dec(&map.vpe->vlpi_count); in update_affinity()
372 map.vpe = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in update_affinity()
373 atomic_inc(&map.vpe->vlpi_count); in update_affinity()
/kernel/linux/linux-5.10/include/linux/irqchip/
Darm-gic-v4.h94 struct its_vpe *vpe; member
130 int its_make_vpe_resident(struct its_vpe *vpe, bool g0en, bool g1en);
131 int its_make_vpe_non_resident(struct its_vpe *vpe, bool db);
132 int its_invall_vpe(struct its_vpe *vpe);
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/
DMakefile2 obj-$(CONFIG_VIDEO_TI_VPE) += ti-vpe.o
7 ti-vpe-y := vpe.o
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c1022 struct virtchnl_pf_event *vpe) in iavf_get_vpe_link_status() argument
1025 return vpe->event_data.link_event_adv.link_status; in iavf_get_vpe_link_status()
1027 return vpe->event_data.link_event.link_status; in iavf_get_vpe_link_status()
1039 struct virtchnl_pf_event *vpe) in iavf_set_adapter_link_speed_from_vpe() argument
1043 vpe->event_data.link_event_adv.link_speed; in iavf_set_adapter_link_speed_from_vpe()
1045 adapter->link_speed = vpe->event_data.link_event.link_speed; in iavf_set_adapter_link_speed_from_vpe()
1273 struct virtchnl_pf_event *vpe = in iavf_virtchnl_completion() local
1275 bool link_up = iavf_get_vpe_link_status(adapter, vpe); in iavf_virtchnl_completion()
1277 switch (vpe->event) { in iavf_virtchnl_completion()
1279 iavf_set_adapter_link_speed_from_vpe(adapter, vpe); in iavf_virtchnl_completion()
[all …]
/kernel/linux/linux-5.10/arch/mips/mti-malta/
Dmalta-amon.c76 int vpe_run(struct vpe *v) in vpe_run()
/kernel/linux/linux-5.10/arch/mips/oprofile/
Dop_model_mipsxx.c20 #define M_PERFCTL_VPEID(vpe) ((vpe) << MIPS_PERFCTRL_VPEID_S) argument
/kernel/linux/linux-5.10/drivers/media/platform/
DMakefile17 obj-y += ti-vpe/
/kernel/linux/linux-5.10/drivers/gpu/drm/ingenic/
Dingenic-drm-drv.c147 unsigned int vpe, vds, vde, vt, hpe, hds, hde, ht; in ingenic_drm_crtc_update_timings() local
149 vpe = mode->vsync_end - mode->vsync_start; in ingenic_drm_crtc_update_timings()
161 vpe << JZ_LCD_VSYNC_VPE_OFFSET); in ingenic_drm_crtc_update_timings()
194 (ht * vpe / 3) << JZ_LCD_IPUR_IPUR_LSB); in ingenic_drm_crtc_update_timings()
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
Dplatform-cardlist.rst69 ti-vpe TI VPE (Video Processing Engine)
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Ddra7xx-clocks.dtsi1598 vpe_cm: vpe-cm@760 {
1605 vpe_clkctrl: vpe-clkctrl@0 {

12