Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/char/
Dhpet.c58 #define read_counter(MC) readq(MC) macro
61 #define read_counter(MC) readl(MC) macro
73 return (u64)read_counter((void __iomem *)hpet_mctr); in read_hpet()
149 read_counter(&devp->hd_timer->hpet_compare); in hpet_interrupt()
150 mc = read_counter(&hpet->hpet_mc); in hpet_interrupt()
480 write_counter(read_counter(&hpet->hpet_mc), in hpet_ioctl_ieon()
525 m = read_counter(&hpet->hpet_mc); in hpet_ioctl_ieon()
534 m = read_counter(&hpet->hpet_mc); in hpet_ioctl_ieon()
761 t = read_counter(&timer->hpet_compare); in __hpet_calibrate()
768 start = read_counter(&hpet->hpet_mc); in __hpet_calibrate()
[all …]
/linux-6.1.9/arch/ia64/include/asm/
Dspinlock_types.h16 volatile unsigned int read_counter : 31; member
Dspinlock.h261 ++new.lock.read_counter; in arch_read_trylock()
/linux-6.1.9/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.1.9/arch/x86/events/intel/
Duncore_snb.c278 .read_counter = uncore_msr_read_counter,
362 .read_counter = uncore_msr_read_counter,
400 .read_counter = uncore_msr_read_counter,
531 .read_counter = uncore_msr_read_counter,
879 .read_counter = snb_uncore_imc_read_counter,
1182 .read_counter = uncore_msr_read_counter,
1368 .read_counter = uncore_mmio_read_counter,
1461 .read_counter = uncore_mmio_read_counter,
1517 .read_counter = uncore_mmio_read_counter,
Duncore_snbep.c785 .read_counter = uncore_msr_read_counter
800 .read_counter = snbep_uncore_pci_read_counter
1531 .read_counter = uncore_msr_read_counter
1543 .read_counter = snbep_uncore_pci_read_counter,
1779 .read_counter = uncore_msr_read_counter,
1895 .read_counter = ivbep_uncore_irp_read_counter,
1915 .read_counter = snbep_uncore_pci_read_counter,
2200 .read_counter = uncore_msr_read_counter,
2292 .read_counter = snbep_uncore_pci_read_counter,
2763 .read_counter = uncore_msr_read_counter,
[all …]
Duncore_discovery.c385 .read_counter = uncore_msr_read_counter,
450 .read_counter = intel_generic_uncore_pci_read_counter,
534 .read_counter = uncore_mmio_read_counter,
Duncore.h112 u64 (*read_counter)(struct intel_uncore_box *, struct perf_event *); member
514 return box->pmu->type->ops->read_counter(box, event); in uncore_read_counter()
/linux-6.1.9/include/linux/platform_data/
Ddmtimer-omap.h41 unsigned int (*read_counter)(struct omap_dm_timer *timer); member
/linux-6.1.9/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()
520 counter = loongarch_pmu.read_counter(n); in pmu_handle_irq()
872 loongarch_pmu.read_counter = loongarch_pmu_read_counter; in init_hw_perf_events()
/linux-6.1.9/drivers/perf/hisilicon/
Dhisi_uncore_pmu.h51 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_pa_pmu.c358 .read_counter = hisi_pa_pmu_read_counter,
Dhisi_uncore_pmu.c298 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_hha_pmu.c459 .read_counter = hisi_hha_pmu_read_counter,
Dhisi_uncore_l3c_pmu.c493 .read_counter = hisi_l3c_pmu_read_counter,
/linux-6.1.9/include/linux/perf/
Darm_pmu.h97 u64 (*read_counter)(struct perf_event *event); member
/linux-6.1.9/arch/arm/kernel/
Dperf_event_v6.c497 cpu_pmu->read_counter = armv6pmu_read_counter; in armv6pmu_init()
548 cpu_pmu->read_counter = armv6pmu_read_counter; in armv6mpcore_pmu_init()
Dperf_event_xscale.c376 cpu_pmu->read_counter = xscale1pmu_read_counter; in xscale1pmu_init()
745 cpu_pmu->read_counter = xscale2pmu_read_counter; in xscale2pmu_init()
/linux-6.1.9/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()
/linux-6.1.9/drivers/perf/
Dapple_m1_cpu_pmu.c533 cpu_pmu->read_counter = m1_pmu_read_counter; in m1_pmu_init()
Dxgene_pmu.c106 u64 (*read_counter)(struct xgene_pmu_dev *pmu, int idx); member
996 new_raw_count = xgene_pmu->ops->read_counter(pmu_dev, GET_CNTR(event)); in xgene_perf_event_update()
1737 .read_counter = xgene_pmu_read_counter32,
1754 .read_counter = xgene_pmu_read_counter64,
Darm_pmu.c249 new_raw_count = armpmu->read_counter(event); in armpmu_event_update()

12