Searched refs:vpe (Results 1 - 25 of 30) sorted by relevance

12

/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vpe.h35 uint32_t (*get_reg_offset)(struct amdgpu_vpe *vpe, uint32_t inst, uint32_t offset);
36 int (*set_regs)(struct amdgpu_vpe *vpe);
37 int (*irq_init)(struct amdgpu_vpe *vpe);
38 int (*init_microcode)(struct amdgpu_vpe *vpe);
39 int (*load_microcode)(struct amdgpu_vpe *vpe);
40 int (*ring_init)(struct amdgpu_vpe *vpe);
41 int (*ring_start)(struct amdgpu_vpe *vpe);
42 int (*ring_stop)(struct amdgpu_vpe *vpe);
43 int (*ring_fini)(struct amdgpu_vpe *vpe);
85 int amdgpu_vpe_init_microcode(struct amdgpu_vpe *vpe);
[all...]
H A Dvpe_v6_1.h27 void vpe_v6_1_set_funcs(struct amdgpu_vpe *vpe);
H A Dvpe_v6_1.c31 #include "ivsrcid/vpe/irqsrcs_vpe_6_1.h"
32 #include "vpe/vpe_6_1_0_offset.h"
33 #include "vpe/vpe_6_1_0_sh_mask.h"
63 static uint32_t vpe_v6_1_get_reg_offset(struct amdgpu_vpe *vpe, uint32_t inst, uint32_t offset) argument
67 base = vpe->ring.adev->reg_offset[VPE_HWIP][inst][0];
72 static void vpe_v6_1_halt(struct amdgpu_vpe *vpe, bool halt) argument
74 struct amdgpu_device *adev = vpe->ring.adev;
77 for (i = 0; i < vpe->num_instances; i++) {
78 f32_cntl = RREG32(vpe_get_reg_offset(vpe, i, regVPEC_F32_CNTL));
81 WREG32(vpe_get_reg_offset(vpe,
85 vpe_v6_1_irq_init(struct amdgpu_vpe *vpe) argument
99 vpe_v6_1_set_collaborate_mode(struct amdgpu_vpe *vpe, bool enable) argument
122 vpe_v6_1_load_microcode(struct amdgpu_vpe *vpe) argument
205 vpe_v6_1_ring_start(struct amdgpu_vpe *vpe) argument
275 vpe_v_6_1_ring_stop(struct amdgpu_vpe *vpe) argument
313 struct amdgpu_vpe *vpe = &adev->vpe; local
350 vpe_v6_1_set_regs(struct amdgpu_vpe *vpe) argument
393 vpe_v6_1_set_funcs(struct amdgpu_vpe *vpe) argument
[all...]
H A Damdgpu_vpe.c121 int amdgpu_vpe_configure_dpm(struct amdgpu_vpe *vpe) argument
123 struct amdgpu_device *adev = vpe->ring.adev;
134 dpm_ctl = RREG32(vpe_get_reg_offset(vpe, 0, vpe->regs.dpm_enable));
136 WREG32(vpe_get_reg_offset(vpe, 0, vpe->regs.dpm_enable), dpm_ctl);
147 /* vpe dpm only cares 4 levels. */
190 WREG32(vpe_get_reg_offset(vpe, 0, vpe->regs.dpm_pratio), pratio_ctl); /* PRatio */
191 WREG32(vpe_get_reg_offset(vpe,
222 amdgpu_vpe_init_microcode(struct amdgpu_vpe *vpe) argument
264 amdgpu_vpe_ring_init(struct amdgpu_vpe *vpe) argument
284 amdgpu_vpe_ring_fini(struct amdgpu_vpe *vpe) argument
294 struct amdgpu_vpe *vpe = &adev->vpe; local
330 vpe_common_init(struct amdgpu_vpe *vpe) argument
354 struct amdgpu_vpe *vpe = &adev->vpe; local
379 struct amdgpu_vpe *vpe = &adev->vpe; local
396 struct amdgpu_vpe *vpe = &adev->vpe; local
419 struct amdgpu_vpe *vpe = &adev->vpe; local
597 struct amdgpu_vpe *vpe = &adev->vpe; local
645 struct amdgpu_vpe *vpe = &adev->vpe; local
665 struct amdgpu_vpe *vpe = &adev->vpe; local
684 struct amdgpu_vpe *vpe = &adev->vpe; local
703 struct amdgpu_vpe *vpe = &adev->vpe; local
833 struct amdgpu_vpe *vpe = &adev->vpe; local
[all...]
H A Dumsch_mm_v4_0.c277 adev->vpe.collaborate_mode ? 0x3 : 0x0;
353 add_queue.collaboration_mode = adev->vpe.collaborate_mode ? 1 : 0;
H A Damdgpu_umsch_mm.c192 if (adev->vpe.collaborate_mode)
293 if (adev->vpe.collaborate_mode)
304 dev_err(adev->dev, "vpe queue submission timeout\n");
/linux-master/arch/mips/include/asm/
H A Dvpe.h17 #define VPE_MODULE_NAME "vpe"
49 struct vpe { struct
52 /* (device) minor associated with this vpe */
63 /* tc's associated with this vpe */
66 /* The list of vpe's */
82 struct vpe *pvpe; /* parent VPE */
88 void (*start)(int vpe);
89 void (*stop)(int vpe);
108 struct vpe *get_vpe(int minor);
110 struct vpe *alloc_vp
[all...]
H A Dsmp-cps.h30 extern void mips_cps_boot_vpes(struct core_boot_config *cfg, unsigned vpe);
H A Drtlx.h30 void rtlx_starting(int vpe);
31 void rtlx_stopping(int vpe);
H A Dcpu-info.h179 extern void cpu_set_vpe_id(struct cpuinfo_mips *cpuinfo, unsigned int vpe);
/linux-master/drivers/irqchip/
H A Dirq-gic-v4.c119 static int its_alloc_vcpu_sgis(struct its_vpe *vpe, int idx) argument
131 vpe->fwnode = irq_domain_alloc_named_id_fwnode(name, idx);
132 if (!vpe->fwnode)
138 vpe->sgi_domain = irq_domain_create_linear(vpe->fwnode, 16,
139 sgi_domain_ops, vpe);
140 if (!vpe->sgi_domain)
143 sgi_base = irq_domain_alloc_irqs(vpe->sgi_domain, 16, NUMA_NO_NODE, vpe);
150 if (vpe
229 its_send_vpe_cmd(struct its_vpe *vpe, struct its_cmd_info *info) argument
234 its_make_vpe_non_resident(struct its_vpe *vpe, bool db) argument
261 its_make_vpe_resident(struct its_vpe *vpe, bool g0en, bool g1en) argument
284 its_commit_vpe(struct its_vpe *vpe) argument
301 its_invall_vpe(struct its_vpe *vpe) argument
[all...]
H A Dirq-gic-v3-its.c266 static int vpe_to_cpuid_lock(struct its_vpe *vpe, unsigned long *flags) argument
268 raw_spin_lock_irqsave(&vpe->vpe_lock, *flags);
269 return vpe->col_idx;
272 static void vpe_to_cpuid_unlock(struct its_vpe *vpe, unsigned long flags) argument
274 raw_spin_unlock_irqrestore(&vpe->vpe_lock, flags);
281 struct its_vpe *vpe = NULL; local
285 vpe = irq_data_get_irq_chip_data(d);
289 vpe = map->vpe;
292 if (vpe) {
307 struct its_vpe *vpe = NULL; local
329 valid_vpe(struct its_node *its, struct its_vpe *vpe) argument
390 struct its_vpe *vpe; member in struct:its_cmd_desc::__anon14::__anon24
394 struct its_vpe *vpe; member in struct:its_cmd_desc::__anon14::__anon25
400 struct its_vpe *vpe; member in struct:its_cmd_desc::__anon14::__anon26
408 struct its_vpe *vpe; member in struct:its_cmd_desc::__anon14::__anon27
415 struct its_vpe *vpe; member in struct:its_cmd_desc::__anon14::__anon28
422 struct its_vpe *vpe; member in struct:its_cmd_desc::__anon14::__anon29
426 struct its_vpe *vpe; member in struct:its_cmd_desc::__anon14::__anon30
789 struct its_vpe *vpe = valid_vpe(its, desc->its_vmapp_cmd.vpe); local
1304 its_send_vmapp(struct its_node *its, struct its_vpe *vpe, bool valid) argument
1316 its_send_vmovp(struct its_vpe *vpe) argument
1360 its_send_vinvall(struct its_node *its, struct its_vpe *vpe) argument
1410 its_send_invdb(struct its_node *its, struct its_vpe *vpe) argument
1811 struct its_vpe *vpe = vm->vpes[i]; local
3736 its_vpe_db_proxy_unmap_locked(struct its_vpe *vpe) argument
3762 its_vpe_db_proxy_unmap(struct its_vpe *vpe) argument
3777 its_vpe_db_proxy_map_locked(struct its_vpe *vpe) argument
3800 its_vpe_db_proxy_move(struct its_vpe *vpe, int from, int to) argument
3834 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); local
3893 its_vpe_schedule(struct its_vpe *vpe) argument
3929 its_vpe_deschedule(struct its_vpe *vpe) argument
3940 its_vpe_invall(struct its_vpe *vpe) argument
3962 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); local
3987 its_vpe_send_cmd(struct its_vpe *vpe, void (*cmd)(struct its_device *, u32)) argument
4002 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); local
4033 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); local
4093 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); local
4118 its_vpe_4_1_schedule(struct its_vpe *vpe, struct its_cmd_info *info) argument
4133 its_vpe_4_1_deschedule(struct its_vpe *vpe, struct its_cmd_info *info) argument
4170 its_vpe_4_1_invall(struct its_vpe *vpe) argument
4193 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); local
4229 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); local
4249 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); local
4257 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); local
4284 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); local
4301 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); local
4353 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); local
4382 struct its_vpe *vpe = args; local
4419 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); local
4453 its_vpe_init(struct its_vpe *vpe) argument
4487 its_vpe_teardown(struct its_vpe *vpe) argument
4506 struct its_vpe *vpe = irq_data_get_irq_chip_data(data); local
4579 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); local
4609 struct its_vpe *vpe = irq_data_get_irq_chip_data(d); local
[all...]
/linux-master/arch/mips/lantiq/
H A Dirq.c50 #define ltq_icu_w32(vpe, m, x, y) \
51 ltq_w32((x), ltq_icu_membase[vpe] + m*LTQ_ICU_IM_SIZE + (y))
53 #define ltq_icu_r32(vpe, m, x) \
54 ltq_r32(ltq_icu_membase[vpe] + m*LTQ_ICU_IM_SIZE + (x))
83 int vpe; local
88 for_each_present_cpu(vpe) {
89 ltq_icu_w32(vpe, im,
90 ltq_icu_r32(vpe, im, LTQ_ICU_IER) & ~BIT(offset),
101 int vpe; local
106 for_each_present_cpu(vpe) {
120 int vpe; local
136 int vpe; local
291 int vpe = smp_processor_id(); local
342 int i, ret, vpe; local
[all...]
/linux-master/drivers/media/platform/ti/vpe/
H A DMakefile2 obj-$(CONFIG_VIDEO_TI_VPE) += ti-vpe.o
7 ti-vpe-y := vpe.o
/linux-master/arch/mips/kernel/
H A Dvpe-mt.c18 #include <asm/vpe.h>
26 int vpe_run(struct vpe *v)
176 /* give me a vpe */
180 struct vpe *v;
182 /* find a vpe */
195 int vpe_start(void *vpe, unsigned long start) argument
197 struct vpe *v = vpe;
205 int vpe_stop(void *vpe) argument
207 struct vpe *
226 vpe_free(void *vpe) argument
263 struct vpe *vpe = get_vpe(aprp_cpu_index()); local
281 struct vpe *vpe = get_vpe(aprp_cpu_index()); local
289 struct vpe *vpe = get_vpe(aprp_cpu_index()); local
311 ATTRIBUTE_GROUPS(vpe); variable
[all...]
H A Dvpe.c36 #include <asm/vpe.h>
52 /* get the vpe associated with this minor */
53 struct vpe *get_vpe(int minor)
55 struct vpe *res, *v;
73 /* get the vpe associated with this minor */
91 /* allocate a vpe and associate it with this minor (or index) */
92 struct vpe *alloc_vpe(int minor)
94 struct vpe *v;
96 v = kzalloc(sizeof(struct vpe), GFP_KERNEL);
133 void release_vpe(struct vpe *
[all...]
H A Drtlx.c22 #include <asm/vpe.h>
68 void rtlx_starting(int vpe) argument
81 void rtlx_stopping(int vpe) argument
H A Drtlx-mt.c18 #include <asm/vpe.h>
H A DMakefile65 obj-$(CONFIG_MIPS_VPE_LOADER) += vpe.o
66 obj-$(CONFIG_MIPS_VPE_LOADER_MT) += vpe-mt.o
H A Dcpu-probe.c2033 void cpu_set_vpe_id(struct cpuinfo_mips *cpuinfo, unsigned int vpe) argument
2036 WARN_ON(vpe > (MIPS_GLOBALNUMBER_VP >> MIPS_GLOBALNUMBER_VP_SHF));
2039 WARN_ON(vpe && !IS_ENABLED(CONFIG_MIPS_MT_SMP) &&
2043 cpuinfo->globalnumber |= vpe << MIPS_GLOBALNUMBER_VP_SHF;
/linux-master/drivers/media/platform/ti/
H A DMakefile4 obj-y += vpe/
/linux-master/include/linux/irqchip/
H A Darm-gic-v4.h67 * vPE and vLPI operations using vpe->col_idx.
89 * @vpe: Pointer to the GICv4 notion of a virtual CPU (VPE)
96 struct its_vpe *vpe; member in struct:its_vlpi_map
133 int its_make_vpe_resident(struct its_vpe *vpe, bool g0en, bool g1en);
134 int its_make_vpe_non_resident(struct its_vpe *vpe, bool db);
135 int its_commit_vpe(struct its_vpe *vpe);
136 int its_invall_vpe(struct its_vpe *vpe);
/linux-master/arch/arm64/kvm/vgic/
H A Dvgic-v4.c108 static void vgic_v4_sync_sgi_config(struct its_vpe *vpe, struct vgic_irq *irq) argument
110 vpe->sgi_config[irq->intid].enabled = irq->enabled;
111 vpe->sgi_config[irq->intid].group = irq->group;
112 vpe->sgi_config[irq->intid].priority = irq->priority;
117 struct its_vpe *vpe = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; local
137 irq->host_irq = irq_find_mapping(vpe->sgi_domain, i);
140 vgic_v4_sync_sgi_config(vpe, irq);
215 struct its_vpe *vpe = &irq->target_vcpu->arch.vgic_cpu.vgic_v3.its_vpe; local
220 va = page_address(vpe->vpt_page);
341 struct its_vpe *vpe local
351 struct its_vpe *vpe = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; local
387 struct its_vpe *vpe = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; local
[all...]
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_virtchnl.c1482 * @vpe: virtchnl_pf_event structure
1488 struct virtchnl_pf_event *vpe)
1491 return vpe->event_data.link_event_adv.link_status;
1493 return vpe->event_data.link_event.link_status;
1499 * @vpe: virtchnl_pf_event structure that contains the link speed we are setting
1505 struct virtchnl_pf_event *vpe)
1509 vpe->event_data.link_event_adv.link_speed;
1511 adapter->link_speed = vpe->event_data.link_event.link_speed;
1998 struct virtchnl_pf_event *vpe = local
2000 bool link_up = iavf_get_vpe_link_status(adapter, vpe);
1487 iavf_get_vpe_link_status(struct iavf_adapter *adapter, struct virtchnl_pf_event *vpe) argument
1504 iavf_set_adapter_link_speed_from_vpe(struct iavf_adapter *adapter, struct virtchnl_pf_event *vpe) argument
[all...]
/linux-master/drivers/gpu/drm/ingenic/
H A Dingenic-drm-drv.c284 unsigned int vpe, vds, vde, vt, hpe, hds, hde, ht; local
286 vpe = mode->crtc_vsync_end - mode->crtc_vsync_start;
298 vpe << JZ_LCD_VSYNC_VPE_OFFSET);
332 (ht * vpe / 3) << JZ_LCD_IPUR_IPUR_LSB);

Completed in 238 milliseconds

12