Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/mips/lantiq/
H A Dirq.c50 #define ltq_icu_w32(vpe, m, x, y) \ argument
51 ltq_w32((x), ltq_icu_membase[vpe] + m*LTQ_ICU_IM_SIZE + (y))
53 #define ltq_icu_r32(vpe, m, x) \ argument
54 ltq_r32(ltq_icu_membase[vpe] + m*LTQ_ICU_IM_SIZE + (x))
83 int vpe; in ltq_disable_irq() local
88 for_each_present_cpu(vpe) { in ltq_disable_irq()
89 ltq_icu_w32(vpe, im, in ltq_disable_irq()
90 ltq_icu_r32(vpe, im, LTQ_ICU_IER) & ~BIT(offset), in ltq_disable_irq()
101 int vpe; in ltq_mask_and_ack_irq() local
106 for_each_present_cpu(vpe) { in ltq_mask_and_ack_irq()
[all …]
/openbmc/linux/drivers/irqchip/
H A Dirq-gic-v4.c118 static int its_alloc_vcpu_sgis(struct its_vpe *vpe, int idx) in its_alloc_vcpu_sgis() argument
130 vpe->fwnode = irq_domain_alloc_named_id_fwnode(name, idx); in its_alloc_vcpu_sgis()
131 if (!vpe->fwnode) in its_alloc_vcpu_sgis()
137 vpe->sgi_domain = irq_domain_create_linear(vpe->fwnode, 16, in its_alloc_vcpu_sgis()
138 sgi_domain_ops, vpe); in its_alloc_vcpu_sgis()
139 if (!vpe->sgi_domain) in its_alloc_vcpu_sgis()
142 sgi_base = irq_domain_alloc_irqs(vpe->sgi_domain, 16, NUMA_NO_NODE, vpe); in its_alloc_vcpu_sgis()
149 if (vpe->sgi_domain) in its_alloc_vcpu_sgis()
150 irq_domain_remove(vpe->sgi_domain); in its_alloc_vcpu_sgis()
151 if (vpe->fwnode) in its_alloc_vcpu_sgis()
[all …]
H A Dirq-gic-v3-its.c266 static int vpe_to_cpuid_lock(struct its_vpe *vpe, unsigned long *flags) in vpe_to_cpuid_lock() argument
268 raw_spin_lock_irqsave(&vpe->vpe_lock, *flags); in vpe_to_cpuid_lock()
269 return vpe->col_idx; in vpe_to_cpuid_lock()
272 static void vpe_to_cpuid_unlock(struct its_vpe *vpe, unsigned long flags) in vpe_to_cpuid_unlock() argument
274 raw_spin_unlock_irqrestore(&vpe->vpe_lock, flags); in vpe_to_cpuid_unlock()
281 struct its_vpe *vpe = NULL; in irq_to_cpuid_lock() local
285 vpe = irq_data_get_irq_chip_data(d); in irq_to_cpuid_lock()
289 vpe = map->vpe; in irq_to_cpuid_lock()
292 if (vpe) { in irq_to_cpuid_lock()
307 struct its_vpe *vpe = NULL; irq_to_cpuid_unlock() local
329 valid_vpe(struct its_node * its,struct its_vpe * vpe) valid_vpe() argument
390 struct its_vpe *vpe; global() member
394 struct its_vpe *vpe; global() member
400 struct its_vpe *vpe; global() member
408 struct its_vpe *vpe; global() member
415 struct its_vpe *vpe; global() member
422 struct its_vpe *vpe; global() member
426 struct its_vpe *vpe; global() member
789 struct its_vpe *vpe = valid_vpe(its, desc->its_vmapp_cmd.vpe); its_build_vmapp_cmd() local
1305 its_send_vmapp(struct its_node * its,struct its_vpe * vpe,bool valid) its_send_vmapp() argument
1316 its_send_vmovp(struct its_vpe * vpe) its_send_vmovp() argument
1360 its_send_vinvall(struct its_node * its,struct its_vpe * vpe) its_send_vinvall() argument
1410 its_send_invdb(struct its_node * its,struct its_vpe * vpe) its_send_invdb() argument
1811 struct its_vpe *vpe = vm->vpes[i]; its_map_vm() local
3716 its_vpe_db_proxy_unmap_locked(struct its_vpe * vpe) its_vpe_db_proxy_unmap_locked() argument
3742 its_vpe_db_proxy_unmap(struct its_vpe * vpe) its_vpe_db_proxy_unmap() argument
3757 its_vpe_db_proxy_map_locked(struct its_vpe * vpe) its_vpe_db_proxy_map_locked() argument
3780 its_vpe_db_proxy_move(struct its_vpe * vpe,int from,int to) its_vpe_db_proxy_move() argument
3814 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_vpe_set_affinity() local
3880 its_vpe_schedule(struct its_vpe * vpe) its_vpe_schedule() argument
3916 its_vpe_deschedule(struct its_vpe * vpe) its_vpe_deschedule() argument
3927 its_vpe_invall(struct its_vpe * vpe) its_vpe_invall() argument
3949 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_vpe_set_vcpu_affinity() local
3974 its_vpe_send_cmd(struct its_vpe * vpe,void (* cmd)(struct its_device *,u32)) its_vpe_send_cmd() argument
3989 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_vpe_send_inv() local
4020 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_vpe_set_irqchip_state() local
4080 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_vpe_4_1_send_inv() local
4105 its_vpe_4_1_schedule(struct its_vpe * vpe,struct its_cmd_info * info) its_vpe_4_1_schedule() argument
4120 its_vpe_4_1_deschedule(struct its_vpe * vpe,struct its_cmd_info * info) its_vpe_4_1_deschedule() argument
4157 its_vpe_4_1_invall(struct its_vpe * vpe) its_vpe_4_1_invall() argument
4180 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_vpe_4_1_set_vcpu_affinity() local
4216 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_configure_sgi() local
4236 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_sgi_mask_irq() local
4244 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_sgi_unmask_irq() local
4271 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_sgi_set_irqchip_state() local
4288 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_sgi_get_irqchip_state() local
4340 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_sgi_set_vcpu_affinity() local
4369 struct its_vpe *vpe = args; its_sgi_irq_domain_alloc() local
4406 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_sgi_irq_domain_deactivate() local
4440 its_vpe_init(struct its_vpe * vpe) its_vpe_init() argument
4473 its_vpe_teardown(struct its_vpe * vpe) its_vpe_teardown() argument
4492 struct its_vpe *vpe = irq_data_get_irq_chip_data(data); its_vpe_irq_domain_free() local
4563 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_vpe_irq_domain_activate() local
4593 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_vpe_irq_domain_deactivate() local
[all...]
/openbmc/linux/arch/mips/kernel/
H A Dvpe-mt.c26 int vpe_run(struct vpe *v) in vpe_run()
180 struct vpe *v; in vpe_alloc()
195 int vpe_start(void *vpe, unsigned long start) in vpe_start() argument
197 struct vpe *v = vpe; in vpe_start()
205 int vpe_stop(void *vpe) in vpe_stop() argument
207 struct vpe *v = vpe; in vpe_stop()
226 int vpe_free(void *vpe) in vpe_free() argument
228 struct vpe *v = vpe; in vpe_free()
263 struct vpe *vpe = get_vpe(aprp_cpu_index()); in store_kill() local
266 list_for_each_entry(notifier, &vpe->notify, list) in store_kill()
[all …]
H A 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()
549 static int find_vpe_symbols(struct vpe *v, Elf_Shdr *sechdrs, in find_vpe_symbols()
575 static int vpe_elfload(struct vpe *v) in vpe_elfload()
753 struct vpe *v; in vpe_open()
798 struct vpe *v; in vpe_release()
[all …]
H A DMakefile65 obj-$(CONFIG_MIPS_VPE_LOADER) += vpe.o
66 obj-$(CONFIG_MIPS_VPE_LOADER_MT) += vpe-mt.o
H A Drtlx.c68 void rtlx_starting(int vpe) in rtlx_starting() argument
81 void rtlx_stopping(int vpe) in rtlx_stopping() argument
H A Dcpu-probe.c2038 void cpu_set_vpe_id(struct cpuinfo_mips *cpuinfo, unsigned int vpe) in cpu_set_vpe_id() argument
2041 WARN_ON(vpe > (MIPS_GLOBALNUMBER_VP >> MIPS_GLOBALNUMBER_VP_SHF)); in cpu_set_vpe_id()
2044 WARN_ON(vpe && !IS_ENABLED(CONFIG_MIPS_MT_SMP) && in cpu_set_vpe_id()
2048 cpuinfo->globalnumber |= vpe << MIPS_GLOBALNUMBER_VP_SHF; in cpu_set_vpe_id()
H A Dperf_event_mipsxx.c98 #define M_PERFCTL_VPEID(vpe) ((vpe) << MIPS_PERFCTRL_VPEID_S) argument
/openbmc/linux/arch/arm64/kvm/vgic/
H A 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()
215 struct its_vpe *vpe = &irq->target_vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_get_vlpi_state() local
220 va = page_address(vpe->vpt_page); in vgic_v4_get_vlpi_state()
341 struct its_vpe *vpe = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_put() local
[all …]
H A 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()
/openbmc/linux/arch/mips/include/asm/
H A Dvpe.h49 struct vpe { struct
82 struct vpe *pvpe; /* parent VPE */ argument
88 void (*start)(int vpe);
89 void (*stop)(int vpe);
108 struct vpe *get_vpe(int minor);
110 struct vpe *alloc_vpe(int minor);
112 void release_vpe(struct vpe *v);
117 int vpe_run(struct vpe *v);
H A Drtlx.h30 void rtlx_starting(int vpe);
31 void rtlx_stopping(int vpe);
H A Dsmp-cps.h30 extern void mips_cps_boot_vpes(struct core_boot_config *cfg, unsigned vpe);
H A Dcpu-info.h179 extern void cpu_set_vpe_id(struct cpuinfo_mips *cpuinfo, unsigned int vpe);
/openbmc/linux/include/linux/irqchip/
H A Darm-gic-v4.h98 struct its_vpe *vpe; member
135 int its_make_vpe_resident(struct its_vpe *vpe, bool g0en, bool g1en);
136 int its_make_vpe_non_resident(struct its_vpe *vpe, bool db);
137 int its_commit_vpe(struct its_vpe *vpe);
138 int its_invall_vpe(struct its_vpe *vpe);
/openbmc/linux/drivers/media/platform/ti/vpe/
H A DMakefile2 obj-$(CONFIG_VIDEO_TI_VPE) += ti-vpe.o
7 ti-vpe-y := vpe.o
/openbmc/linux/drivers/media/platform/ti/
H A DMakefile4 obj-y += vpe/
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_virtchnl.c1463 struct virtchnl_pf_event *vpe) in iavf_get_vpe_link_status() argument
1466 return vpe->event_data.link_event_adv.link_status; in iavf_get_vpe_link_status()
1468 return vpe->event_data.link_event.link_status; in iavf_get_vpe_link_status()
1480 struct virtchnl_pf_event *vpe) in iavf_set_adapter_link_speed_from_vpe() argument
1484 vpe->event_data.link_event_adv.link_speed; in iavf_set_adapter_link_speed_from_vpe()
1486 adapter->link_speed = vpe->event_data.link_event.link_speed; in iavf_set_adapter_link_speed_from_vpe()
1973 struct virtchnl_pf_event *vpe = in iavf_virtchnl_completion() local
1975 bool link_up = iavf_get_vpe_link_status(adapter, vpe); in iavf_virtchnl_completion()
1977 switch (vpe->event) { in iavf_virtchnl_completion()
1979 iavf_set_adapter_link_speed_from_vpe(adapter, vpe); in iavf_virtchnl_completion()
[all …]
/openbmc/linux/Documentation/admin-guide/media/
H A Dplatform-cardlist.rst69 ti-vpe TI VPE (Video Processing Engine)
/openbmc/linux/drivers/gpu/drm/ingenic/
H A Dingenic-drm-drv.c284 unsigned int vpe, vds, vde, vt, hpe, hds, hde, ht; in ingenic_drm_crtc_update_timings() local
286 vpe = mode->crtc_vsync_end - mode->crtc_vsync_start; in ingenic_drm_crtc_update_timings()
298 vpe << JZ_LCD_VSYNC_VPE_OFFSET); in ingenic_drm_crtc_update_timings()
332 (ht * vpe / 3) << JZ_LCD_IPUR_IPUR_LSB); in ingenic_drm_crtc_update_timings()
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Ddra7-l4.dtsi4202 vpe: vpe@0 { label
4203 compatible = "ti,dra7-vpe";
/openbmc/linux/
H A DMAINTAINERS21701 F: Documentation/devicetree/bindings/media/ti,vpe.yaml
21703 F: drivers/media/platform/ti/vpe/
H A Dopengrok2.0.log[all...]
H A Dopengrok1.0.log[all...]

12