/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
D | base.c | 32 struct nvkm_pmu *pmu = device->pmu; in nvkm_pmu_fan_controlled() local 48 nvkm_pmu_pgob(struct nvkm_pmu *pmu, bool enable) in nvkm_pmu_pgob() 57 struct nvkm_pmu *pmu = container_of(work, typeof(*pmu), recv.work); in nvkm_pmu_recv() local 62 nvkm_pmu_send(struct nvkm_pmu *pmu, u32 reply[2], in nvkm_pmu_send() 73 struct nvkm_pmu *pmu = nvkm_pmu(subdev); in nvkm_pmu_intr() local 82 struct nvkm_pmu *pmu = nvkm_pmu(subdev); in nvkm_pmu_fini() local 98 nvkm_pmu_reset(struct nvkm_pmu *pmu) in nvkm_pmu_reset() 119 struct nvkm_pmu *pmu = nvkm_pmu(subdev); in nvkm_pmu_preinit() local 127 struct nvkm_pmu *pmu = nvkm_pmu(subdev); in nvkm_pmu_init() local 150 struct nvkm_pmu *pmu = nvkm_pmu(subdev); in nvkm_pmu_dtor() local [all …]
|
D | gt215.c | 30 gt215_pmu_send(struct nvkm_pmu *pmu, u32 reply[2], in gt215_pmu_send() 87 gt215_pmu_recv(struct nvkm_pmu *pmu) in gt215_pmu_recv() 139 gt215_pmu_intr(struct nvkm_pmu *pmu) in gt215_pmu_intr() 178 gt215_pmu_fini(struct nvkm_pmu *pmu) in gt215_pmu_fini() 184 gt215_pmu_reset(struct nvkm_pmu *pmu) in gt215_pmu_reset() 193 gt215_pmu_enabled(struct nvkm_pmu *pmu) in gt215_pmu_enabled() 199 gt215_pmu_init(struct nvkm_pmu *pmu) in gt215_pmu_init()
|
D | gk20a.c | 51 gk20a_pmu_dvfs_target(struct gk20a_pmu *pmu, int *state) in gk20a_pmu_dvfs_target() 59 gk20a_pmu_dvfs_get_cur_state(struct gk20a_pmu *pmu, int *state) in gk20a_pmu_dvfs_get_cur_state() 67 gk20a_pmu_dvfs_get_target_state(struct gk20a_pmu *pmu, in gk20a_pmu_dvfs_get_target_state() 95 gk20a_pmu_dvfs_get_dev_status(struct gk20a_pmu *pmu, in gk20a_pmu_dvfs_get_dev_status() 105 gk20a_pmu_dvfs_reset_dev_status(struct gk20a_pmu *pmu) in gk20a_pmu_dvfs_reset_dev_status() 116 struct gk20a_pmu *pmu = in gk20a_pmu_dvfs_work() local 158 gk20a_pmu_fini(struct nvkm_pmu *pmu) in gk20a_pmu_fini() 167 gk20a_pmu_init(struct nvkm_pmu *pmu) in gk20a_pmu_init() 215 struct gk20a_pmu *pmu; in gk20a_pmu_new() local
|
D | gm20b.c | 42 struct nvkm_pmu *pmu = container_of(falcon, typeof(*pmu), falcon); in gm20b_pmu_acr_bootstrap_falcon() local 140 struct nvkm_pmu *pmu = priv; in gm20b_pmu_acr_init_wpr_callback() local 155 gm20b_pmu_acr_init_wpr(struct nvkm_pmu *pmu) in gm20b_pmu_acr_init_wpr() 170 gm20b_pmu_initmsg(struct nvkm_pmu *pmu) in gm20b_pmu_initmsg() 196 gm20b_pmu_recv(struct nvkm_pmu *pmu) in gm20b_pmu_recv() 229 gm20b_pmu_load(struct nvkm_pmu *pmu, int ver, const struct nvkm_pmu_fwif *fwif) in gm20b_pmu_load()
|
D | gf100.c | 30 gf100_pmu_reset(struct nvkm_pmu *pmu) in gf100_pmu_reset() 38 gf100_pmu_enabled(struct nvkm_pmu *pmu) in gf100_pmu_enabled() 60 gf100_pmu_nofw(struct nvkm_pmu *pmu, int ver, const struct nvkm_pmu_fwif *fwif) in gf100_pmu_nofw()
|
D | gp102.c | 27 gp102_pmu_reset(struct nvkm_pmu *pmu) in gp102_pmu_reset() 35 gp102_pmu_enabled(struct nvkm_pmu *pmu) in gp102_pmu_enabled()
|
D | gm200.c | 29 struct nvkm_pmu *pmu = container_of(falcon, typeof(*pmu), falcon); in gm200_pmu_flcn_reset() local 64 gm200_pmu_nofw(struct nvkm_pmu *pmu, int ver, const struct nvkm_pmu_fwif *fwif) in gm200_pmu_nofw()
|
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/ |
D | pmu_intel.c | 38 static void reprogram_fixed_counters(struct kvm_pmu *pmu, u64 data) in reprogram_fixed_counters() 60 static void global_ctrl_changed(struct kvm_pmu *pmu, u64 data) in global_ctrl_changed() 73 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in intel_pmc_perf_hw_id() local 105 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in intel_pmc_is_enabled() local 113 static struct kvm_pmc *intel_pmc_idx_to_pmc(struct kvm_pmu *pmu, int pmc_idx) in intel_pmc_idx_to_pmc() 128 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_is_valid_rdpmc_ecx() local 140 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_rdpmc_ecx_to_pmc() local 172 static inline struct kvm_pmc *get_fw_gp_pmc(struct kvm_pmu *pmu, u32 msr) in get_fw_gp_pmc() 182 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_is_valid_msr() local 204 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_msr_idx_to_pmc() local [all …]
|
/kernel/linux/linux-5.10/drivers/perf/ |
D | fsl_imx8_ddr_perf.c | 74 struct pmu pmu; member 93 static u32 ddr_perf_filter_cap_get(struct ddr_pmu *pmu, int cap) in ddr_perf_filter_cap_get() 114 struct ddr_pmu *pmu = dev_get_drvdata(dev); in ddr_perf_filter_cap_show() local 145 struct ddr_pmu *pmu = dev_get_drvdata(dev); in ddr_perf_cpumask_show() local 266 struct ddr_pmu *pmu = to_ddr_pmu(event->pmu); in ddr_perf_is_enhanced_filtered() local 273 static u32 ddr_perf_alloc_counter(struct ddr_pmu *pmu, int event) in ddr_perf_alloc_counter() 297 static void ddr_perf_free_counter(struct ddr_pmu *pmu, int counter) in ddr_perf_free_counter() 302 static u32 ddr_perf_read_counter(struct ddr_pmu *pmu, int counter) in ddr_perf_read_counter() 319 struct ddr_pmu *pmu = to_ddr_pmu(event->pmu); in ddr_perf_event_init() local 367 struct ddr_pmu *pmu = to_ddr_pmu(event->pmu); in ddr_perf_event_update() local [all …]
|
D | arm_pmu_platform.c | 26 static int probe_current_pmu(struct arm_pmu *pmu, in probe_current_pmu() 46 static int pmu_parse_percpu_irq(struct arm_pmu *pmu, int irq) in pmu_parse_percpu_irq() 97 static int pmu_parse_irqs(struct arm_pmu *pmu) in pmu_parse_irqs() 196 struct arm_pmu *pmu; in arm_pmu_device_probe() local
|
D | arm_pmu_acpi.c | 191 struct arm_pmu *pmu; in arm_pmu_acpi_find_alloc_pmu() local 218 static bool pmu_irq_matches(struct arm_pmu *pmu, int irq) in pmu_irq_matches() 254 struct arm_pmu *pmu; in arm_pmu_acpi_cpu_starting() local 306 struct arm_pmu *pmu = per_cpu(probed_pmus, cpu); in arm_pmu_acpi_probe() local
|
D | arm_pmu.c | 360 validate_event(struct pmu *pmu, struct pmu_hw_events *hw_events, in validate_event() 521 static void armpmu_enable(struct pmu *pmu) in armpmu_enable() 535 static void armpmu_disable(struct pmu *pmu) in armpmu_disable() 721 static int armpmu_get_cpu_irq(struct arm_pmu *pmu, int cpu) in armpmu_get_cpu_irq() 735 struct arm_pmu *pmu = hlist_entry_safe(node, struct arm_pmu, node); in arm_perf_starting_cpu() local 754 struct arm_pmu *pmu = hlist_entry_safe(node, struct arm_pmu, node); in arm_perf_teardown_cpu() local 893 struct arm_pmu *pmu; in __armpmu_alloc() local 959 void armpmu_free(struct arm_pmu *pmu) in armpmu_free() 965 int armpmu_register(struct arm_pmu *pmu) in armpmu_register()
|
/kernel/linux/linux-5.10/arch/x86/kvm/svm/ |
D | pmu.c | 63 static unsigned int get_msr_base(struct kvm_pmu *pmu, enum pmu_type type) in get_msr_base() 114 static inline struct kvm_pmc *get_gp_pmc_amd(struct kvm_pmu *pmu, u32 msr, in get_gp_pmc_amd() 182 static struct kvm_pmc *amd_pmc_idx_to_pmc(struct kvm_pmu *pmu, int pmc_idx) in amd_pmc_idx_to_pmc() 201 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_is_valid_rdpmc_ecx() local 212 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_rdpmc_ecx_to_pmc() local 231 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_msr_idx_to_pmc() local 242 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_get_msr() local 264 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_set_msr() local 289 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_refresh() local 309 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_init() local [all …]
|
/kernel/linux/linux-5.10/drivers/soc/dove/ |
D | pmu.c | 50 struct pmu_data *pmu = rcdev_to_pmu(rc); in pmu_reset_reset() local 65 struct pmu_data *pmu = rcdev_to_pmu(rc); in pmu_reset_assert() local 79 struct pmu_data *pmu = rcdev_to_pmu(rc); in pmu_reset_deassert() local 103 static void __init pmu_reset_init(struct pmu_data *pmu) in pmu_reset_init() 115 static void __init pmu_reset_init(struct pmu_data *pmu) in pmu_reset_init() 121 struct pmu_data *pmu; member 146 struct pmu_data *pmu = pmu_dom->pmu; in pmu_domain_power_off() local 180 struct pmu_data *pmu = pmu_dom->pmu; in pmu_domain_power_on() local 228 struct pmu_data *pmu = irq_desc_get_handler_data(desc); in pmu_irq_handler() local 266 static int __init dove_init_pmu_irq(struct pmu_data *pmu, int irq) in dove_init_pmu_irq() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | i915_pmu.c | 82 static bool pmu_needs_timer(struct i915_pmu *pmu, bool gpu_active) in pmu_needs_timer() 150 struct i915_pmu *pmu = &i915->pmu; in get_rc6() local 187 static void init_rc6(struct i915_pmu *pmu) in init_rc6() 202 struct i915_pmu *pmu = &i915->pmu; in park_rc6() local 215 static void init_rc6(struct i915_pmu *pmu) { } in init_rc6() 220 static void __i915_pmu_maybe_start_timer(struct i915_pmu *pmu) in __i915_pmu_maybe_start_timer() 233 struct i915_pmu *pmu = &i915->pmu; in i915_pmu_gt_parked() local 253 struct i915_pmu *pmu = &i915->pmu; in i915_pmu_gt_unparked() local 286 struct intel_engine_pmu *pmu = &engine->pmu; in engine_sample() local 355 static bool frequency_sampling_enabled(struct i915_pmu *pmu) in frequency_sampling_enabled() [all …]
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | pmu.c | 54 struct kvm_pmu *pmu = container_of(irq_work, struct kvm_pmu, irq_work); in kvm_pmi_trigger_fn() local 65 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in kvm_perf_overflow() local 78 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in kvm_perf_overflow_intr() local 187 struct kvm_pmu *pmu = vcpu_to_pmu(pmc->vcpu); in reprogram_gp_counter() local 277 void reprogram_counter(struct kvm_pmu *pmu, int pmc_idx) in reprogram_counter() 297 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_handle_event() local 363 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_rdpmc() local 400 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_mark_pmc_in_use() local 429 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_reset() local 437 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_init() local [all …]
|
D | pmu.h | 8 #define pmu_to_vcpu(pmu) (container_of((pmu), struct kvm_vcpu, arch.pmu)) argument 45 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_bitmask() local 95 static inline bool kvm_valid_perf_global_ctrl(struct kvm_pmu *pmu, in kvm_valid_perf_global_ctrl() 105 static inline struct kvm_pmc *get_gp_pmc(struct kvm_pmu *pmu, u32 msr, in get_gp_pmc() 119 static inline struct kvm_pmc *get_fixed_pmc(struct kvm_pmu *pmu, u32 msr) in get_fixed_pmc()
|
/kernel/linux/linux-5.10/arch/arm64/kvm/ |
D | pmu-emul.c | 51 struct kvm_pmu *pmu; in kvm_pmc_to_vcpu() local 166 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_get_counter_value() local 252 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_vcpu_init() local 266 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_vcpu_reset() local 283 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_vcpu_destroy() local 311 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_enable_counter_mask() local 346 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_disable_counter_mask() local 384 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_update_state() local 405 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_should_notify_user() local 460 struct kvm_pmu *pmu; in kvm_pmu_perf_overflow_notify_vcpu() local [all …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | pmu.c | 657 static char *perf_pmu__getcpuid(struct perf_pmu *pmu) in perf_pmu__getcpuid() 677 struct pmu_events_map *perf_pmu__find_map(struct perf_pmu *pmu) in perf_pmu__find_map() 749 void pmu_add_cpu_aliases_map(struct list_head *head, struct perf_pmu *pmu, in pmu_add_cpu_aliases_map() 788 static void pmu_add_cpu_aliases(struct list_head *head, struct perf_pmu *pmu) in pmu_add_cpu_aliases() 820 struct perf_pmu *pmu; in pmu_lookup() local 865 void perf_pmu__warn_invalid_formats(struct perf_pmu *pmu) in perf_pmu__warn_invalid_formats() 884 struct perf_pmu *pmu; in pmu_find() local 895 struct perf_pmu *pmu; in perf_pmu__find_by_type() local 904 struct perf_pmu *perf_pmu__scan(struct perf_pmu *pmu) in perf_pmu__scan() 921 struct perf_pmu *pmu = NULL; in evsel__find_pmu() local [all …]
|
/kernel/linux/linux-5.10/arch/x86/events/ |
D | rapl.c | 110 struct pmu *pmu; member 116 struct pmu pmu; member 210 static void rapl_start_hrtimer(struct rapl_pmu *pmu) in rapl_start_hrtimer() 218 struct rapl_pmu *pmu = container_of(hrtimer, struct rapl_pmu, hrtimer); in rapl_hrtimer_handle() local 237 static void rapl_hrtimer_init(struct rapl_pmu *pmu) in rapl_hrtimer_init() 245 static void __rapl_pmu_event_start(struct rapl_pmu *pmu, in __rapl_pmu_event_start() 264 struct rapl_pmu *pmu = event->pmu_private; in rapl_pmu_event_start() local 274 struct rapl_pmu *pmu = event->pmu_private; in rapl_pmu_event_stop() local 308 struct rapl_pmu *pmu = event->pmu_private; in rapl_pmu_event_add() local 333 struct rapl_pmu *pmu; in rapl_pmu_event_init() local [all …]
|
/kernel/linux/linux-5.10/arch/x86/events/intel/ |
D | uncore.c | 105 struct intel_uncore_box *uncore_pmu_to_box(struct intel_uncore_pmu *pmu, int cpu) in uncore_pmu_to_box() 662 static int uncore_validate_group(struct intel_uncore_pmu *pmu, in uncore_validate_group() 703 struct intel_uncore_pmu *pmu; in uncore_pmu_event_init() local 782 static void uncore_pmu_enable(struct pmu *pmu) in uncore_pmu_enable() 799 static void uncore_pmu_disable(struct pmu *pmu) in uncore_pmu_disable() 833 static int uncore_pmu_register(struct intel_uncore_pmu *pmu) in uncore_pmu_register() 875 static void uncore_pmu_unregister(struct intel_uncore_pmu *pmu) in uncore_pmu_unregister() 883 static void uncore_free_boxes(struct intel_uncore_pmu *pmu) in uncore_free_boxes() 894 struct intel_uncore_pmu *pmu = type->pmus; in uncore_type_exit() local 1022 struct intel_uncore_pmu *pmu = NULL; in uncore_pci_find_dev_pmu() local [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
D | gm200.c | 32 pmu_code(struct nv50_devinit *init, u32 pmu, u32 img, u32 len, bool sec) in pmu_code() 52 pmu_data(struct nv50_devinit *init, u32 pmu, u32 img, u32 len) in pmu_data() 87 struct nvbios_pmuR pmu; in pmu_load() local 143 u32 pmu = pmu_args(init, args + 0x08, 0x08); in gm200_devinit_post() local 151 u32 pmu = pmu_args(init, args + 0x08, 0x10); in gm200_devinit_post() local
|
/kernel/linux/linux-5.10/include/linux/ |
D | perf_event.h | 278 struct pmu { struct 289 * various common per-pmu feature flags argument 293 int __percpu *pmu_disable_count; argument 294 struct perf_cpu_context __percpu *pmu_cpu_context; argument 306 void (*pmu_enable) (struct pmu *pmu); /* optional */ argument 307 void (*pmu_disable) (struct pmu *pmu); /* optional */ argument 325 int (*event_init) (struct perf_event *event); 331 void (*event_mapped) (struct perf_event *event, struct mm_struct *mm); /* optional */ 332 void (*event_unmapped) (struct perf_event *event, struct mm_struct *mm); /* optional */ 360 int (*add) (struct perf_event *event, int flags); [all …]
|
/kernel/linux/linux-5.10/drivers/soc/rockchip/ |
D | pm_domains.c | 69 struct rockchip_pmu *pmu; member 136 struct rockchip_pmu *pmu = pd->pmu; in rockchip_pmu_domain_is_idle() local 144 static unsigned int rockchip_pmu_read_ack(struct rockchip_pmu *pmu) in rockchip_pmu_read_ack() 157 struct rockchip_pmu *pmu = pd->pmu; in rockchip_pmu_set_idle_request() local 250 struct rockchip_pmu *pmu = pd->pmu; in rockchip_pmu_domain_is_on() local 266 struct rockchip_pmu *pmu = pd->pmu; in rockchip_do_pmu_set_power_domain() local 293 struct rockchip_pmu *pmu = pd->pmu; in rockchip_pd_power() local 381 static int rockchip_pm_add_one_domain(struct rockchip_pmu *pmu, in rockchip_pm_add_one_domain() 537 static void rockchip_pm_domain_cleanup(struct rockchip_pmu *pmu) in rockchip_pm_domain_cleanup() 554 static void rockchip_configure_pd_cnt(struct rockchip_pmu *pmu, in rockchip_configure_pd_cnt() [all …]
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | perf_cpum_cf.c | 121 static void cpumf_pmu_enable(struct pmu *pmu) in cpumf_pmu_enable() 144 static void cpumf_pmu_disable(struct pmu *pmu) in cpumf_pmu_disable() 486 static void cpumf_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in cpumf_pmu_start_txn() 505 static void cpumf_pmu_cancel_txn(struct pmu *pmu) in cpumf_pmu_cancel_txn() 527 static int cpumf_pmu_commit_txn(struct pmu *pmu) in cpumf_pmu_commit_txn()
|