Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_perfmon.c18 void vc4_perfmon_get(struct vc4_perfmon *perfmon) in vc4_perfmon_get() argument
20 if (perfmon) in vc4_perfmon_get()
21 refcount_inc(&perfmon->refcnt); in vc4_perfmon_get()
24 void vc4_perfmon_put(struct vc4_perfmon *perfmon) in vc4_perfmon_put() argument
26 if (perfmon && refcount_dec_and_test(&perfmon->refcnt)) in vc4_perfmon_put()
27 kfree(perfmon); in vc4_perfmon_put()
30 void vc4_perfmon_start(struct vc4_dev *vc4, struct vc4_perfmon *perfmon) in vc4_perfmon_start() argument
35 if (WARN_ON_ONCE(!perfmon || vc4->active_perfmon)) in vc4_perfmon_start()
38 for (i = 0; i < perfmon->ncounters; i++) in vc4_perfmon_start()
39 V3D_WRITE(V3D_PCTRS(i), perfmon->events[i]); in vc4_perfmon_start()
[all …]
Dvc4_irq.c129 if (next && next->perfmon == exec->perfmon) in vc4_irq_finish_bin_job()
143 if (exec->perfmon) in vc4_cancel_bin_job()
144 vc4_perfmon_stop(vc4, exec->perfmon, false); in vc4_cancel_bin_job()
169 if (exec->perfmon && !nextrender && in vc4_irq_finish_render_job()
170 (!nextbin || nextbin->perfmon != exec->perfmon)) in vc4_irq_finish_render_job()
171 vc4_perfmon_stop(vc4, exec->perfmon, true); in vc4_irq_finish_render_job()
182 else if (nextbin && nextbin->perfmon != exec->perfmon) in vc4_irq_finish_render_job()
Dvc4_drv.h665 struct vc4_perfmon *perfmon; member
680 } perfmon; member
974 void vc4_perfmon_get(struct vc4_perfmon *perfmon);
975 void vc4_perfmon_put(struct vc4_perfmon *perfmon);
976 void vc4_perfmon_start(struct vc4_dev *vc4, struct vc4_perfmon *perfmon);
977 void vc4_perfmon_stop(struct vc4_dev *vc4, struct vc4_perfmon *perfmon,
Dvc4_gem.c481 if (exec->perfmon && vc4->active_perfmon != exec->perfmon) in vc4_submit_next_bin_job()
482 vc4_perfmon_start(vc4, exec->perfmon); in vc4_submit_next_bin_job()
500 if (next && next->perfmon == exec->perfmon) in vc4_submit_next_bin_job()
705 (!renderjob || renderjob->perfmon == exec->perfmon)) { in vc4_queue_submit()
982 vc4_perfmon_put(exec->perfmon); in vc4_complete_exec()
1177 exec->perfmon = vc4_perfmon_find(vc4file, in vc4_submit_cl_ioctl()
1179 if (!exec->perfmon) { in vc4_submit_cl_ioctl()
/kernel/linux/linux-5.10/drivers/crypto/caam/
Ddebugfs.c47 struct caam_perfmon *perfmon; in caam_debugfs_init() local
54 perfmon = (struct caam_perfmon __force *)&ctrlpriv->ctrl->perfmon; in caam_debugfs_init()
59 &perfmon->req_dequeued, &caam_fops_u64_ro); in caam_debugfs_init()
61 &perfmon->ob_enc_req, &caam_fops_u64_ro); in caam_debugfs_init()
63 &perfmon->ib_dec_req, &caam_fops_u64_ro); in caam_debugfs_init()
65 &perfmon->ob_enc_bytes, &caam_fops_u64_ro); in caam_debugfs_init()
67 &perfmon->ob_prot_bytes, &caam_fops_u64_ro); in caam_debugfs_init()
69 &perfmon->ib_dec_bytes, &caam_fops_u64_ro); in caam_debugfs_init()
71 &perfmon->ib_valid_bytes, &caam_fops_u64_ro); in caam_debugfs_init()
75 &perfmon->faultaddr, &caam_fops_u32_ro); in caam_debugfs_init()
[all …]
Dctrl.c424 ccbvid = rd_reg32(&ctrl->perfmon.ccb_id); in caam_get_era_from_hw()
429 id_ms = rd_reg32(&ctrl->perfmon.caam_id_ms); in caam_get_era_from_hw()
661 caam_little_end = !(bool)(rd_reg32(&ctrl->perfmon.status) & in caam_probe()
663 comp_params = rd_reg32(&ctrl->perfmon.comp_parms_ms); in caam_probe()
824 rng_vid = (rd_reg32(&ctrl->perfmon.cha_id_ls) & in caam_probe()
897 caam_id = (u64)rd_reg32(&ctrl->perfmon.caam_id_ms) << 32 | in caam_probe()
898 (u64)rd_reg32(&ctrl->perfmon.caam_id_ls); in caam_probe()
Dcaamrng.c227 rng_inst = (rd_reg32(&priv->ctrl->perfmon.cha_num_ls) & in caam_rng_init()
Dregs.h607 struct caam_perfmon perfmon; member
700 struct caam_perfmon perfmon; member
Dcaamalg.c3525 cha_vid = rd_reg32(&priv->ctrl->perfmon.cha_id_ls); in caam_algapi_init()
3529 cha_inst = rd_reg32(&priv->ctrl->perfmon.cha_num_ls); in caam_algapi_init()
3537 aes_rn = rd_reg32(&priv->ctrl->perfmon.cha_rev_ls) & in caam_algapi_init()
Dcaamhash.c1949 md_vid = (rd_reg32(&priv->ctrl->perfmon.cha_id_ls) & in caam_algapi_hash_init()
1951 md_inst = (rd_reg32(&priv->ctrl->perfmon.cha_num_ls) & in caam_algapi_hash_init()
Dcaamalg_qi.c2623 cha_vid = rd_reg32(&priv->ctrl->perfmon.cha_id_ls); in caam_qi_algapi_init()
2627 cha_inst = rd_reg32(&priv->ctrl->perfmon.cha_num_ls); in caam_qi_algapi_init()
Dcaampkc.c1161 pk_inst = (rd_reg32(&priv->ctrl->perfmon.cha_num_ls) & in caam_pkc_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/pm/
Dbase.c214 struct nvkm_pm *pm = dom->perfmon->pm; in nvkm_perfdom_init()
244 struct nvkm_pm *pm = dom->perfmon->pm; in nvkm_perfdom_sample()
268 struct nvkm_pm *pm = dom->perfmon->pm; in nvkm_perfdom_read()
313 struct nvkm_pm *pm = dom->perfmon->pm; in nvkm_perfdom_dtor()
366 nvkm_perfdom_new_(struct nvkm_perfmon *perfmon, in nvkm_perfdom_new_() argument
373 struct nvkm_pm *pm = perfmon->pm; in nvkm_perfdom_new_()
419 dom->perfmon = perfmon; in nvkm_perfdom_new_()
434 nvkm_perfmon_mthd_query_domain(struct nvkm_perfmon *perfmon, in nvkm_perfmon_mthd_query_domain() argument
440 struct nvkm_object *object = &perfmon->object; in nvkm_perfmon_mthd_query_domain()
441 struct nvkm_pm *pm = perfmon->pm; in nvkm_perfmon_mthd_query_domain()
[all …]
Dpriv.h75 struct nvkm_perfmon *perfmon; member
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/engine/
Dpm.h10 struct nvkm_object *perfmon; member
/kernel/linux/linux-5.10/tools/perf/Documentation/
Dsecurity.txt27 # patch -p1 < selinux-policy-perf-events-perfmon.patch
30 # cat selinux-policy-perf-events-perfmon.patch
38 + perfmon
/kernel/linux/linux-5.10/usr/include/
DMakefile69 no-header-test += asm/perfmon.h
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0016_linux_drivers_crypto.patch313 + struct caam_perfmon __iomem *perfmon = &priv->jr[0]->perfmon;
316 - cha_vid = rd_reg32(&priv->ctrl->perfmon.cha_id_ls);
317 + cha_vid = rd_reg32(&perfmon->cha_id_ls);
321 - cha_inst = rd_reg32(&priv->ctrl->perfmon.cha_num_ls);
322 + cha_inst = rd_reg32(&perfmon->cha_num_ls);
330 - aes_rn = rd_reg32(&priv->ctrl->perfmon.cha_rev_ls) &
332 + aes_rn = rd_reg32(&perfmon->cha_rev_ls) & CHA_ID_LS_AES_MASK;
2073 - md_vid = (rd_reg32(&priv->ctrl->perfmon.cha_id_ls) &
2074 + struct caam_perfmon __iomem *perfmon = &priv->jr[0]->perfmon;
2076 + md_vid = (rd_reg32(&perfmon->cha_id_ls) &
[all …]
/kernel/linux/linux-5.10/drivers/dma/idxd/
Dregisters.h99 u64 perfmon:16; member
Dinit.c214 idxd->perfmon_offset = offsets.perfmon * 0x100; in idxd_read_table_offsets()
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dperf_asm.S40 ldi 0x20,%r25 ; load up perfmon bit
66 ldi 0x20,%r25 ; load up perfmon bit
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dimx28.dtsi97 perfmon: perfmon@80006000 { label
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/powerpc/fsl/
Ddcsr.txt85 Interrupt numbers are listed in order (perfmon, event0, event1).
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dexceptions-64e.S548 EXCEPTION_STUB(0x260, perfmon)
874 START_EXCEPTION(perfmon);
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dkernel-parameters.txt3511 perfmon on Intel CPUs instead of the