Home
last modified time | relevance | path

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

12

/linux-6.12.1/tools/testing/selftests/kvm/riscv/
Dsbi_pmu_test.c217 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/
Dhpet.c58 #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/
Duncore_snb.c318 .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 …]
Duncore_snbep.c790 .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 …]
Duncore_discovery.c479 .read_counter = uncore_msr_read_counter,
581 .read_counter = intel_generic_uncore_pci_read_counter,
661 .read_counter = uncore_mmio_read_counter,
Duncore.h117 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/
Ddfl-fme-perf.c173 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/
Dperf_event.c136 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/
Ddmtimer-omap.h41 unsigned int (*read_counter)(struct omap_dm_timer *timer); member
/linux-6.12.1/drivers/perf/hisilicon/
Dhisi_uncore_pmu.h57 u64 (*read_counter)(struct hisi_pmu *, struct hw_perf_event *); member
Dhisi_uncore_ddrc_pmu.c434 .read_counter = hisi_ddrc_pmu_v1_read_counter,
449 .read_counter = hisi_ddrc_pmu_v2_read_counter,
Dhisi_uncore_cpa_pmu.c271 .read_counter = hisi_cpa_pmu_read_counter,
Dhisi_uncore_pmu.c286 new_raw_count = hisi_pmu->ops->read_counter(hisi_pmu, hwc); in hisi_uncore_pmu_event_update()
Dhisi_uncore_sllc_pmu.c391 .read_counter = hisi_sllc_pmu_read_counter,
Dhisi_uncore_pa_pmu.c446 .read_counter = hisi_pa_pmu_read_counter,
Dhisi_uncore_hha_pmu.c459 .read_counter = hisi_hha_pmu_read_counter,
Dhisi_uncore_uc_pmu.c484 .read_counter = hisi_uc_pmu_read_counter,
Dhisi_uncore_l3c_pmu.c493 .read_counter = hisi_l3c_pmu_read_counter,
/linux-6.12.1/include/linux/perf/
Darm_pmu.h97 u64 (*read_counter)(struct perf_event *event); member
/linux-6.12.1/drivers/perf/
Darm_xscale_pmu.c362 cpu_pmu->read_counter = xscale1pmu_read_counter; in xscale1pmu_init()
718 cpu_pmu->read_counter = xscale2pmu_read_counter; in xscale2pmu_init()
Darm_v6_pmu.c388 cpu_pmu->read_counter = armv6pmu_read_counter; in armv6pmu_init()
Dxgene_pmu.c104 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,
Dapple_m1_cpu_pmu.c578 cpu_pmu->read_counter = m1_pmu_read_counter; in m1_pmu_init()
Darm_pmu.c251 new_raw_count = armpmu->read_counter(event); in armpmu_event_update()
/linux-6.12.1/arch/mips/kernel/
Dperf_event_mipsxx.c82 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()

12