/linux-6.12.1/tools/testing/selftests/kvm/riscv/ |
D | sbi_pmu_test.c | 217 static unsigned long read_counter(int idx, union sbi_pmu_ctr_info ctrinfo) in read_counter() function 264 counter_value_pre = read_counter(counter, ctrinfo_arr[counter]); in test_pmu_event() 271 counter_value_post = read_counter(counter, ctrinfo_arr[counter]); in test_pmu_event() 283 counter_value_pre = read_counter(counter, ctrinfo_arr[counter]); in test_pmu_event() 287 counter_value_post = read_counter(counter, ctrinfo_arr[counter]); in test_pmu_event() 297 counter_value_post = read_counter(counter, ctrinfo_arr[counter]); in test_pmu_event() 313 counter_value_pre = read_counter(counter, ctrinfo_arr[counter]); in test_pmu_event_snapshot()
|
/linux-6.12.1/drivers/char/ |
D | hpet.c | 58 #define read_counter(MC) readq(MC) macro 61 #define read_counter(MC) readl(MC) macro 129 read_counter(&devp->hd_timer->hpet_compare); in hpet_interrupt() 130 mc = read_counter(&hpet->hpet_mc); in hpet_interrupt() 472 write_counter(read_counter(&hpet->hpet_mc), in hpet_ioctl_ieon() 517 m = read_counter(&hpet->hpet_mc); in hpet_ioctl_ieon() 526 m = read_counter(&hpet->hpet_mc); in hpet_ioctl_ieon() 763 t = read_counter(&timer->hpet_compare); in __hpet_calibrate() 770 start = read_counter(&hpet->hpet_mc); in __hpet_calibrate() 773 m = read_counter(&hpet->hpet_mc); in __hpet_calibrate()
|
/linux-6.12.1/arch/x86/events/intel/ |
D | uncore_snb.c | 318 .read_counter = uncore_msr_read_counter, 402 .read_counter = uncore_msr_read_counter, 440 .read_counter = uncore_msr_read_counter, 571 .read_counter = uncore_msr_read_counter, 701 .read_counter = uncore_msr_read_counter, 768 .read_counter = uncore_msr_read_counter, 1056 .read_counter = snb_uncore_imc_read_counter, 1359 .read_counter = uncore_msr_read_counter, 1572 .read_counter = uncore_mmio_read_counter, 1664 .read_counter = uncore_mmio_read_counter, [all …]
|
D | uncore_snbep.c | 790 .read_counter = uncore_msr_read_counter 805 .read_counter = snbep_uncore_pci_read_counter 1551 .read_counter = uncore_msr_read_counter 1563 .read_counter = snbep_uncore_pci_read_counter, 1799 .read_counter = uncore_msr_read_counter, 1915 .read_counter = ivbep_uncore_irp_read_counter, 1935 .read_counter = snbep_uncore_pci_read_counter, 2220 .read_counter = uncore_msr_read_counter, 2312 .read_counter = snbep_uncore_pci_read_counter, 2783 .read_counter = uncore_msr_read_counter, [all …]
|
D | uncore_discovery.c | 479 .read_counter = uncore_msr_read_counter, 581 .read_counter = intel_generic_uncore_pci_read_counter, 661 .read_counter = uncore_mmio_read_counter,
|
D | uncore.h | 117 u64 (*read_counter)(struct intel_uncore_box *, struct perf_event *); member 536 return box->pmu->type->ops->read_counter(box, event); in uncore_read_counter()
|
/linux-6.12.1/drivers/fpga/ |
D | dfl-fme-perf.c | 173 u64 (*read_counter)(struct fme_perf_priv *priv, u32 event, u32 portid); member 510 .read_counter = basic_read_event_counter,}, 512 .read_counter = cache_read_event_counter,}, 515 .read_counter = fabric_read_event_counter,}, 517 .read_counter = vtd_read_event_counter,}, 519 .read_counter = vtd_sip_read_event_counter,}, 849 now = ops->read_counter(priv, (u32)hwc->idx, hwc->config_base); in fme_perf_event_update() 863 count = ops->read_counter(priv, (u32)hwc->idx, hwc->config_base); in fme_perf_event_start()
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | perf_event.c | 136 u64 (*read_counter)(unsigned int idx); member 344 new_raw_count = loongarch_pmu.read_counter(idx); in loongarch_pmu_event_update() 510 counter = loongarch_pmu.read_counter(n); in pmu_handle_irq() 862 loongarch_pmu.read_counter = loongarch_pmu_read_counter; in init_hw_perf_events()
|
/linux-6.12.1/include/linux/platform_data/ |
D | dmtimer-omap.h | 41 unsigned int (*read_counter)(struct omap_dm_timer *timer); member
|
/linux-6.12.1/drivers/perf/hisilicon/ |
D | hisi_uncore_pmu.h | 57 u64 (*read_counter)(struct hisi_pmu *, struct hw_perf_event *); member
|
D | hisi_uncore_ddrc_pmu.c | 434 .read_counter = hisi_ddrc_pmu_v1_read_counter, 449 .read_counter = hisi_ddrc_pmu_v2_read_counter,
|
D | hisi_uncore_cpa_pmu.c | 271 .read_counter = hisi_cpa_pmu_read_counter,
|
D | hisi_uncore_pmu.c | 286 new_raw_count = hisi_pmu->ops->read_counter(hisi_pmu, hwc); in hisi_uncore_pmu_event_update()
|
D | hisi_uncore_sllc_pmu.c | 391 .read_counter = hisi_sllc_pmu_read_counter,
|
D | hisi_uncore_pa_pmu.c | 446 .read_counter = hisi_pa_pmu_read_counter,
|
D | hisi_uncore_hha_pmu.c | 459 .read_counter = hisi_hha_pmu_read_counter,
|
D | hisi_uncore_uc_pmu.c | 484 .read_counter = hisi_uc_pmu_read_counter,
|
D | hisi_uncore_l3c_pmu.c | 493 .read_counter = hisi_l3c_pmu_read_counter,
|
/linux-6.12.1/include/linux/perf/ |
D | arm_pmu.h | 97 u64 (*read_counter)(struct perf_event *event); member
|
/linux-6.12.1/drivers/perf/ |
D | arm_xscale_pmu.c | 362 cpu_pmu->read_counter = xscale1pmu_read_counter; in xscale1pmu_init() 718 cpu_pmu->read_counter = xscale2pmu_read_counter; in xscale2pmu_init()
|
D | arm_v6_pmu.c | 388 cpu_pmu->read_counter = armv6pmu_read_counter; in armv6pmu_init()
|
D | xgene_pmu.c | 104 u64 (*read_counter)(struct xgene_pmu_dev *pmu, int idx); member 985 new_raw_count = xgene_pmu->ops->read_counter(pmu_dev, GET_CNTR(event)); in xgene_perf_event_update() 1733 .read_counter = xgene_pmu_read_counter32, 1750 .read_counter = xgene_pmu_read_counter64,
|
D | apple_m1_cpu_pmu.c | 578 cpu_pmu->read_counter = m1_pmu_read_counter; in m1_pmu_init()
|
D | arm_pmu.c | 251 new_raw_count = armpmu->read_counter(event); in armpmu_event_update()
|
/linux-6.12.1/arch/mips/kernel/ |
D | perf_event_mipsxx.c | 82 u64 (*read_counter)(unsigned int idx); member 458 new_raw_count = mipspmu.read_counter(idx); in mipspmu_event_update() 1604 counter = mipspmu.read_counter(n); in mipsxx_pmu_handle_shared_irq() 2035 mipspmu.read_counter = mipsxx_pmu_read_counter_64; in init_hw_perf_events() 2042 mipspmu.read_counter = mipsxx_pmu_read_counter; in init_hw_perf_events()
|