/linux/drivers/gpu/drm/v3d/ |
A D | v3d_perfmon.c | 14 if (perfmon) in v3d_perfmon_get() 20 if (perfmon && refcount_dec_and_test(&perfmon->refcnt)) in v3d_perfmon_put() 21 kfree(perfmon); in v3d_perfmon_put() 87 perfmon = idr_find(&v3d_priv->perfmon.idr, id); in v3d_perfmon_find() 91 return perfmon; in v3d_perfmon_find() 137 perfmon = kzalloc(struct_size(perfmon, values, req->ncounters), in v3d_perfmon_create_ioctl() 139 if (!perfmon) in v3d_perfmon_create_ioctl() 173 perfmon = idr_remove(&v3d_priv->perfmon.idr, req->id); in v3d_perfmon_destroy_ioctl() 176 if (!perfmon) in v3d_perfmon_destroy_ioctl() 197 perfmon = idr_find(&v3d_priv->perfmon.idr, req->id); in v3d_perfmon_get_values_ioctl() [all …]
|
A D | v3d_drv.h | 167 } perfmon; member 239 struct v3d_perfmon *perfmon; member 407 void v3d_perfmon_get(struct v3d_perfmon *perfmon); 408 void v3d_perfmon_put(struct v3d_perfmon *perfmon); 409 void v3d_perfmon_start(struct v3d_dev *v3d, struct v3d_perfmon *perfmon); 410 void v3d_perfmon_stop(struct v3d_dev *v3d, struct v3d_perfmon *perfmon,
|
A D | v3d_gem.c | 373 if (job->perfmon) in v3d_job_free() 374 v3d_perfmon_put(job->perfmon); in v3d_job_free() 796 render->base.perfmon = v3d_perfmon_find(v3d_priv, in v3d_submit_cl_ioctl() 799 if (!render->base.perfmon) { in v3d_submit_cl_ioctl() 807 bin->base.perfmon = render->base.perfmon; in v3d_submit_cl_ioctl() 808 v3d_perfmon_get(bin->base.perfmon); in v3d_submit_cl_ioctl() 826 clean_job->perfmon = render->base.perfmon; in v3d_submit_cl_ioctl() 827 v3d_perfmon_get(clean_job->perfmon); in v3d_submit_cl_ioctl() 1026 job->base.perfmon = v3d_perfmon_find(v3d_priv, in v3d_submit_csd_ioctl() 1028 if (!job->base.perfmon) { in v3d_submit_csd_ioctl()
|
A D | v3d_sched.c | 68 if (job->perfmon != v3d->active_perfmon) in v3d_switch_perfmon() 71 if (job->perfmon && v3d->active_perfmon != job->perfmon) in v3d_switch_perfmon() 72 v3d_perfmon_start(v3d, job->perfmon); in v3d_switch_perfmon()
|
/linux/drivers/gpu/drm/vc4/ |
A D | vc4_perfmon.c | 20 if (perfmon) in vc4_perfmon_get() 26 if (perfmon && refcount_dec_and_test(&perfmon->refcnt)) in vc4_perfmon_put() 27 kfree(perfmon); in vc4_perfmon_put() 70 perfmon = idr_find(&vc4file->perfmon.idr, id); in vc4_perfmon_find() 74 return perfmon; in vc4_perfmon_find() 128 if (!perfmon) in vc4_perfmon_create_ioctl() 144 kfree(perfmon); in vc4_perfmon_create_ioctl() 166 perfmon = idr_remove(&vc4file->perfmon.idr, req->id); in vc4_perfmon_destroy_ioctl() 169 if (!perfmon) in vc4_perfmon_destroy_ioctl() 191 perfmon = idr_find(&vc4file->perfmon.idr, req->id); in vc4_perfmon_get_values_ioctl() [all …]
|
A D | vc4_irq.c | 133 if (next && next->perfmon == exec->perfmon) in vc4_irq_finish_bin_job() 147 if (exec->perfmon) in vc4_cancel_bin_job() 148 vc4_perfmon_stop(vc4, exec->perfmon, false); in vc4_cancel_bin_job() 173 if (exec->perfmon && !nextrender && in vc4_irq_finish_render_job() 174 (!nextbin || nextbin->perfmon != exec->perfmon)) in vc4_irq_finish_render_job() 175 vc4_perfmon_stop(vc4, exec->perfmon, true); in vc4_irq_finish_render_job() 186 else if (nextbin && nextbin->perfmon != exec->perfmon) in vc4_irq_finish_render_job()
|
A D | vc4_drv.h | 664 struct vc4_perfmon *perfmon; member 679 } perfmon; member 964 void vc4_perfmon_get(struct vc4_perfmon *perfmon); 965 void vc4_perfmon_put(struct vc4_perfmon *perfmon); 966 void vc4_perfmon_start(struct vc4_dev *vc4, struct vc4_perfmon *perfmon); 967 void vc4_perfmon_stop(struct vc4_dev *vc4, struct vc4_perfmon *perfmon,
|
A D | vc4_gem.c | 481 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() 1176 exec->perfmon = vc4_perfmon_find(vc4file, in vc4_submit_cl_ioctl() 1178 if (!exec->perfmon) { in vc4_submit_cl_ioctl()
|
/linux/drivers/crypto/caam/ |
A D | debugfs.c | 47 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() 75 &perfmon->faultaddr, &caam_fops_u32_ro); in caam_debugfs_init() 77 &perfmon->faultdetail, &caam_fops_u32_ro); in caam_debugfs_init() [all …]
|
A D | ctrl.c | 424 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()
|
A D | caamrng.c | 227 rng_inst = (rd_reg32(&priv->ctrl->perfmon.cha_num_ls) & in caam_rng_init()
|
A D | regs.h | 607 struct caam_perfmon perfmon; member 700 struct caam_perfmon perfmon; member
|
A D | caamalg.c | 3525 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()
|
A D | caamhash.c | 1949 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()
|
A D | caamalg_qi.c | 2623 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()
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/pm/ |
A D | base.c | 373 struct nvkm_pm *pm = perfmon->pm; in nvkm_perfdom_new_() 419 dom->perfmon = perfmon; in nvkm_perfdom_new_() 441 struct nvkm_pm *pm = perfmon->pm; in nvkm_perfmon_mthd_query_domain() 489 struct nvkm_pm *pm = perfmon->pm; in nvkm_perfmon_mthd_query_signal() 543 struct nvkm_pm *pm = perfmon->pm; in nvkm_perfmon_mthd_query_source() 630 struct nvkm_pm *pm = perfmon->pm; in nvkm_perfmon_dtor() 635 return perfmon; in nvkm_perfmon_dtor() 649 struct nvkm_perfmon *perfmon; in nvkm_perfmon_new() local 651 if (!(perfmon = kzalloc(sizeof(*perfmon), GFP_KERNEL))) in nvkm_perfmon_new() 654 perfmon->pm = pm; in nvkm_perfmon_new() [all …]
|
A D | priv.h | 75 struct nvkm_perfmon *perfmon; member
|
/linux/drivers/dma/idxd/ |
A D | Makefile | 6 idxd-$(CONFIG_INTEL_IDXD_PERFMON) += perfmon.o
|
A D | registers.h | 102 u64 perfmon:16; member
|
A D | init.c | 436 idxd->perfmon_offset = offsets.perfmon * IDXD_TABLE_MULT; in idxd_read_table_offsets()
|
/linux/tools/perf/Documentation/ |
A D | security.txt | 27 # patch -p1 < selinux-policy-perf-events-perfmon.patch 30 # cat selinux-policy-perf-events-perfmon.patch 38 + perfmon
|
/linux/arch/parisc/kernel/ |
A D | perf_asm.S | 40 ldi 0x20,%r25 ; load up perfmon bit 66 ldi 0x20,%r25 ; load up perfmon bit
|
/linux/arch/arm/boot/dts/ |
A D | imx28.dtsi | 97 perfmon: perfmon@80006000 { label
|
/linux/arch/powerpc/kernel/ |
A D | exceptions-64e.S | 508 EXCEPTION_STUB(0x260, perfmon) 830 START_EXCEPTION(perfmon);
|
/linux/Documentation/devicetree/bindings/powerpc/fsl/ |
A D | dcsr.txt | 85 Interrupt numbers are listed in order (perfmon, event0, event1).
|