Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
H A Dvpe_v6_1.c64 static uint32_t vpe_v6_1_get_reg_offset(struct amdgpu_vpe *vpe, uint32_t inst, uint32_t offset) in vpe_v6_1_get_reg_offset() argument
68 base = vpe->ring.adev->reg_offset[VPE_HWIP][inst][0]; in vpe_v6_1_get_reg_offset()
73 static void vpe_v6_1_halt(struct amdgpu_vpe *vpe, bool halt) in vpe_v6_1_halt() argument
75 struct amdgpu_device *adev = vpe->ring.adev; in vpe_v6_1_halt()
78 for (i = 0; i < vpe->num_instances; i++) { in vpe_v6_1_halt()
79 f32_cntl = RREG32(vpe_get_reg_offset(vpe, i, regVPEC_F32_CNTL)); in vpe_v6_1_halt()
82 WREG32(vpe_get_reg_offset(vpe, i, regVPEC_F32_CNTL), f32_cntl); in vpe_v6_1_halt()
86 static int vpe_v6_1_irq_init(struct amdgpu_vpe *vpe) in vpe_v6_1_irq_init() argument
88 struct amdgpu_device *adev = container_of(vpe, struct amdgpu_device, vpe); in vpe_v6_1_irq_init()
93 &adev->vpe.trap_irq); in vpe_v6_1_irq_init()
[all …]
H A Damdgpu_vpe.c122 int amdgpu_vpe_configure_dpm(struct amdgpu_vpe *vpe) in amdgpu_vpe_configure_dpm()
124 struct amdgpu_device *adev = vpe->ring.adev; in amdgpu_vpe_configure_dpm()
136 dpm_ctl = RREG32(vpe_get_reg_offset(vpe, 0, vpe->regs.dpm_enable)); in amdgpu_vpe_configure_dpm()
138 WREG32(vpe_get_reg_offset(vpe, 0, vpe->regs.dpm_enable), dpm_ctl); in amdgpu_vpe_configure_dpm()
149 /* Comfirm enabled vpe clk num in amdgpu_vpe_configure_dpm()
157 /* vpe dpm only cares 4 levels. */ in amdgpu_vpe_configure_dpm()
200 WREG32(vpe_get_reg_offset(vpe, 0, vpe in amdgpu_vpe_configure_dpm()
121 amdgpu_vpe_configure_dpm(struct amdgpu_vpe * vpe) amdgpu_vpe_configure_dpm() argument
231 amdgpu_vpe_init_microcode(struct amdgpu_vpe * vpe) amdgpu_vpe_init_microcode() argument
272 amdgpu_vpe_ring_init(struct amdgpu_vpe * vpe) amdgpu_vpe_ring_init() argument
292 amdgpu_vpe_ring_fini(struct amdgpu_vpe * vpe) amdgpu_vpe_ring_fini() argument
302 struct amdgpu_vpe *vpe = &adev->vpe; vpe_early_init() local
337 struct amdgpu_vpe *vpe = &adev->vpe; vpe_get_dpm_level() local
365 vpe_common_init(struct amdgpu_vpe * vpe) vpe_common_init() argument
389 struct amdgpu_vpe *vpe = &adev->vpe; vpe_sw_init() local
422 struct amdgpu_vpe *vpe = &adev->vpe; vpe_sw_fini() local
440 struct amdgpu_vpe *vpe = &adev->vpe; vpe_hw_init() local
463 struct amdgpu_vpe *vpe = &adev->vpe; vpe_hw_fini() local
642 struct amdgpu_vpe *vpe = &adev->vpe; vpe_ring_preempt_ib() local
690 struct amdgpu_vpe *vpe = &adev->vpe; vpe_set_powergating_state() local
710 struct amdgpu_vpe *vpe = &adev->vpe; vpe_ring_get_rptr() local
729 struct amdgpu_vpe *vpe = &adev->vpe; vpe_ring_get_wptr() local
748 struct amdgpu_vpe *vpe = &adev->vpe; vpe_ring_set_wptr() local
878 struct amdgpu_vpe *vpe = &adev->vpe; vpe_ring_begin_use() local
[all...]
H A Dvpe_v6_1.h27 void vpe_v6_1_set_funcs(struct amdgpu_vpe *vpe);
H A Dumsch_mm_v4_0.c282 adev->vpe.collaborate_mode ? 0x3 : 0x0; in umsch_mm_v4_0_set_hw_resources()
358 add_queue.collaboration_mode = adev->vpe.collaborate_mode ? 1 : 0; in umsch_mm_v4_0_add_queue()
H A Damdgpu_dev_coredump.c196 adev->vpe.feature_version, adev->vpe.fw_version); in amdgpu_devcoredump_fw_info()
H A Damdgpu_kms.c368 fw_info->ver = adev->vpe.fw_version; in amdgpu_firmware_info()
369 fw_info->feature = adev->vpe.feature_version; in amdgpu_firmware_info()
574 if (adev->vpe.ring.sched.ready && in amdgpu_hw_ip_info()
575 !adev->vpe.ring.no_user_submission) in amdgpu_hw_ip_info()
764 count = adev->vpe.num_instances; in amdgpu_info_ioctl()
H A Damdgpu_discovery.c1595 if (adev->vpe.num_instances < AMDGPU_MAX_VPE_INSTANCES) in amdgpu_discovery_reg_base_init()
1596 adev->vpe.num_instances++; in amdgpu_discovery_reg_base_init()
1599 adev->vpe.num_instances + 1, in amdgpu_discovery_reg_base_init()
H A Damdgpu.h974 /* vpe */
975 struct amdgpu_vpe vpe;
1011 struct amdgpu_vpe vpe; global() member
/linux/drivers/irqchip/
H A Dirq-gic-v4.c119 static int its_alloc_vcpu_sgis(struct its_vpe *vpe, int idx) in its_alloc_vcpu_sgis() argument
131 vpe->fwnode = irq_domain_alloc_named_id_fwnode(name, idx); in its_alloc_vcpu_sgis()
132 if (!vpe->fwnode) in its_alloc_vcpu_sgis()
138 vpe->sgi_domain = irq_domain_create_linear(vpe->fwnode, 16, in its_alloc_vcpu_sgis()
139 sgi_domain_ops, vpe); in its_alloc_vcpu_sgis()
140 if (!vpe->sgi_domain) in its_alloc_vcpu_sgis()
143 sgi_base = irq_domain_alloc_irqs(vpe->sgi_domain, 16, NUMA_NO_NODE, vpe); in its_alloc_vcpu_sgis()
150 if (vpe->sgi_domain) in its_alloc_vcpu_sgis()
151 irq_domain_remove(vpe->sgi_domain); in its_alloc_vcpu_sgis()
152 if (vpe->fwnode) in its_alloc_vcpu_sgis()
[all …]
H A Dirq-gic-v3-its.c359 static int vpe_to_cpuid_lock(struct its_vpe *vpe, unsigned long *flags) in vpe_to_cpuid_lock() argument
361 raw_spin_lock_irqsave(&vpe->vpe_lock, *flags); in vpe_to_cpuid_lock()
362 return vpe->col_idx; in vpe_to_cpuid_lock()
365 static void vpe_to_cpuid_unlock(struct its_vpe *vpe, unsigned long flags) in vpe_to_cpuid_unlock() argument
367 raw_spin_unlock_irqrestore(&vpe->vpe_lock, flags); in vpe_to_cpuid_unlock()
374 struct its_vpe *vpe = NULL; in irq_to_cpuid_lock() local
378 vpe = irq_data_get_irq_chip_data(d); in irq_to_cpuid_lock()
382 vpe = map->vpe; in irq_to_cpuid_lock()
385 if (vpe) { in irq_to_cpuid_lock()
400 struct its_vpe *vpe = NULL; irq_to_cpuid_unlock() local
422 valid_vpe(struct its_node * its,struct its_vpe * vpe) valid_vpe() argument
483 struct its_vpe *vpe; global() member
487 struct its_vpe *vpe; global() member
493 struct its_vpe *vpe; global() member
501 struct its_vpe *vpe; global() member
508 struct its_vpe *vpe; global() member
515 struct its_vpe *vpe; global() member
519 struct its_vpe *vpe; global() member
881 struct its_vpe *vpe = valid_vpe(its, desc->its_vmapp_cmd.vpe); its_build_vmapp_cmd() local
1397 its_send_vmapp(struct its_node * its,struct its_vpe * vpe,bool valid) its_send_vmapp() argument
1408 its_send_vmovp(struct its_vpe * vpe) its_send_vmovp() argument
1448 its_send_vinvall(struct its_node * its,struct its_vpe * vpe) its_send_vinvall() argument
1498 its_send_invdb(struct its_node * its,struct its_vpe * vpe) its_send_invdb() argument
1890 struct its_vpe *vpe = vm->vpes[i]; its_map_vm() local
3801 its_vpe_db_proxy_unmap_locked(struct its_vpe * vpe) its_vpe_db_proxy_unmap_locked() argument
3827 its_vpe_db_proxy_unmap(struct its_vpe * vpe) its_vpe_db_proxy_unmap() argument
3842 its_vpe_db_proxy_map_locked(struct its_vpe * vpe) its_vpe_db_proxy_map_locked() argument
3865 its_vpe_db_proxy_move(struct its_vpe * vpe,int from,int to) its_vpe_db_proxy_move() argument
3895 its_vpe_4_1_invall_locked(int cpu,struct its_vpe * vpe) its_vpe_4_1_invall_locked() argument
3913 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_vpe_set_affinity() local
4010 its_vpe_schedule(struct its_vpe * vpe) its_vpe_schedule() argument
4046 its_vpe_deschedule(struct its_vpe * vpe) its_vpe_deschedule() argument
4057 its_vpe_invall(struct its_vpe * vpe) its_vpe_invall() argument
4081 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_vpe_set_vcpu_affinity() local
4106 its_vpe_send_cmd(struct its_vpe * vpe,void (* cmd)(struct its_device *,u32)) its_vpe_send_cmd() argument
4121 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_vpe_send_inv() local
4152 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_vpe_set_irqchip_state() local
4212 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_vpe_4_1_send_inv() local
4237 its_vpe_4_1_schedule(struct its_vpe * vpe,struct its_cmd_info * info) its_vpe_4_1_schedule() argument
4252 its_vpe_4_1_deschedule(struct its_vpe * vpe,struct its_cmd_info * info) its_vpe_4_1_deschedule() argument
4289 its_vpe_4_1_invall(struct its_vpe * vpe) its_vpe_4_1_invall() argument
4302 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_vpe_4_1_set_vcpu_affinity() local
4338 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_configure_sgi() local
4358 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_sgi_mask_irq() local
4366 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_sgi_unmask_irq() local
4393 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_sgi_set_irqchip_state() local
4410 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_sgi_get_irqchip_state() local
4462 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_sgi_set_vcpu_affinity() local
4491 struct its_vpe *vpe = args; its_sgi_irq_domain_alloc() local
4528 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_sgi_irq_domain_deactivate() local
4562 its_vpe_init(struct its_vpe * vpe) its_vpe_init() argument
4595 its_vpe_teardown(struct its_vpe * vpe) its_vpe_teardown() argument
4614 struct its_vpe *vpe = irq_data_get_irq_chip_data(data); its_vpe_irq_domain_free() local
4686 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_vpe_irq_domain_activate() local
4715 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); its_vpe_irq_domain_deactivate() local
[all...]
/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.c54 struct vpe *get_vpe(int minor) in get_vpe()
56 struct vpe *res, *v; in get_vpe()
93 struct vpe *alloc_vpe(int minor) in alloc_vpe()
95 struct vpe *v; in alloc_vpe()
97 v = kzalloc_obj(struct vpe); in alloc_vpe()
134 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()
754 struct vpe *v; in vpe_open()
799 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.c2042 void cpu_set_vpe_id(struct cpuinfo_mips *cpuinfo, unsigned int vpe) in cpu_set_vpe_id() argument
2045 WARN_ON(vpe > (MIPS_GLOBALNUMBER_VP >> MIPS_GLOBALNUMBER_VP_SHF)); in cpu_set_vpe_id()
2048 WARN_ON(vpe && !IS_ENABLED(CONFIG_MIPS_MT_SMP) && in cpu_set_vpe_id()
2052 cpuinfo->globalnumber |= vpe << MIPS_GLOBALNUMBER_VP_SHF; in cpu_set_vpe_id()
/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()
218 struct its_vpe *vpe = &irq->target_vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_get_vlpi_state() local
223 va = page_address(vpe->vpt_page); in vgic_v4_get_vlpi_state()
360 struct its_vpe *vpe = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_put() local
[all …]
H A Dvgic-its.c328 if (map.vpe) in update_affinity()
329 atomic_dec(&map.vpe->vlpi_count); in update_affinity()
331 map.vpe = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in update_affinity()
332 atomic_inc(&map.vpe->vlpi_count); in update_affinity()
/linux/include/linux/irqchip/
H A Darm-gic-v4.h106 struct its_vpe *vpe; member
143 int its_make_vpe_resident(struct its_vpe *vpe, bool g0en, bool g1en);
144 int its_make_vpe_non_resident(struct its_vpe *vpe, bool db);
145 int its_commit_vpe(struct its_vpe *vpe);
146 int its_invall_vpe(struct its_vpe *vpe);
/linux/arch/mips/include/asm/
H A Drtlx.h30 void rtlx_starting(int vpe);
31 void rtlx_stopping(int vpe);
H A Dsmp-cps.h36 extern void mips_cps_boot_vpes(struct core_boot_config *cfg, unsigned vpe);
H A Dcpu-info.h178 extern void cpu_set_vpe_id(struct cpuinfo_mips *cpuinfo, unsigned int vpe);
/linux/drivers/media/platform/ti/
H A DMakefile4 obj-y += vpe/
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_virtchnl.c85 struct virtchnl_pf_event *vpe = in iavf_poll_virtchnl_msg() local
88 if (vpe->event != VIRTCHNL_EVENT_RESET_IMPENDING) in iavf_poll_virtchnl_msg()
1628 * @vpe: virtchnl_pf_event structure
1634 struct virtchnl_pf_event *vpe) in iavf_get_vpe_link_status() argument
1637 return vpe->event_data.link_event_adv.link_status; in iavf_get_vpe_link_status()
1639 return vpe->event_data.link_event.link_status; in iavf_get_vpe_link_status()
1645 * @vpe: virtchnl_pf_event structure that contains the link speed we are setting
1651 struct virtchnl_pf_event *vpe) in iavf_set_adapter_link_speed_from_vpe() argument
1655 vpe->event_data.link_event_adv.link_speed; in iavf_set_adapter_link_speed_from_vpe()
1657 adapter->link_speed = vpe in iavf_set_adapter_link_speed_from_vpe()
2299 struct virtchnl_pf_event *vpe = iavf_virtchnl_completion() local
[all...]
/linux/
H A DMAINTAINERS27187 F: Documentation/devicetree/bindings/media/ti,vpe.yaml
27189 F: drivers/media/platform/ti/vpe/