Home
last modified time | relevance | path

Searched defs:counter (Results 1 – 25 of 38) sorted by relevance

12

/arch/arm64/include/asm/
Darm_dsu_pmu.h53 static inline void __dsu_pmu_select_counter(int counter) in __dsu_pmu_select_counter()
59 static inline u64 __dsu_pmu_read_counter(int counter) in __dsu_pmu_read_counter()
65 static inline void __dsu_pmu_write_counter(int counter, u64 val) in __dsu_pmu_write_counter()
72 static inline void __dsu_pmu_set_event(int counter, u32 event) in __dsu_pmu_set_event()
90 static inline void __dsu_pmu_disable_counter(int counter) in __dsu_pmu_disable_counter()
96 static inline void __dsu_pmu_enable_counter(int counter) in __dsu_pmu_enable_counter()
102 static inline void __dsu_pmu_counter_interrupt_enable(int counter) in __dsu_pmu_counter_interrupt_enable()
108 static inline void __dsu_pmu_counter_interrupt_disable(int counter) in __dsu_pmu_counter_interrupt_disable()
/arch/x86/kernel/cpu/
Dperfctr-watchdog.c110 unsigned int counter; in reserve_perfctr_nmi() local
125 unsigned int counter; in release_perfctr_nmi() local
138 unsigned int counter; in reserve_evntsel_nmi() local
153 unsigned int counter; in release_evntsel_nmi() local
/arch/mips/cavium-octeon/executive/
Dcvmx-l2c.c169 void cvmx_l2c_config_perf(uint32_t counter, enum cvmx_l2c_event event, in cvmx_l2c_config_perf()
233 uint64_t cvmx_l2c_read_perf(uint32_t counter) in cvmx_l2c_read_perf()
240 uint64_t counter = 0; in cvmx_l2c_read_perf() local
251 uint64_t counter = 0; in cvmx_l2c_read_perf() local
262 uint64_t counter = 0; in cvmx_l2c_read_perf() local
274 uint64_t counter = 0; in cvmx_l2c_read_perf() local
/arch/arm64/kvm/
Dpmu.c146 u32 counter; in kvm_vcpu_pmu_enable_el0() local
161 u32 counter; in kvm_vcpu_pmu_disable_el0() local
Dpmu-emul.c142 u64 counter, counter_high, reg, enabled, running; in kvm_pmu_get_pair_counter_value() local
176 u64 counter; in kvm_pmu_get_counter_value() local
237 u64 counter, reg, val; in kvm_pmu_stop_counter() local
632 u64 eventsel, counter, reg, data; in kvm_pmu_create_perf_event() local
/arch/parisc/include/asm/
Dspinlock_types.h18 volatile unsigned int counter; member
/arch/arc/include/asm/
Dspinlock_types.h25 volatile unsigned int counter; member
/arch/microblaze/include/asm/
Dmodule.h26 typedef struct { volatile int counter; } module_t; member
/arch/arm/kernel/
Dperf_event_xscale.c123 enum xscale_counters counter) in xscale1_pmnc_counter_has_overflowed()
328 int counter = hwc->idx; in xscale1pmu_read_counter() local
349 int counter = hwc->idx; in xscale1pmu_write_counter() local
469 enum xscale_counters counter) in xscale2_pmnc_counter_has_overflowed()
691 int counter = hwc->idx; in xscale2pmu_read_counter() local
718 int counter = hwc->idx; in xscale2pmu_write_counter() local
Dperf_event_v6.c220 enum armv6_counters counter) in armv6_pmcr_counter_has_overflowed()
239 int counter = hwc->idx; in armv6pmu_read_counter() local
257 int counter = hwc->idx; in armv6pmu_write_counter() local
Dperf_event_v7.c741 u32 counter = ARMV7_IDX_TO_COUNTER(idx); in armv7_pmnc_select_counter() local
792 u32 counter = ARMV7_IDX_TO_COUNTER(idx); in armv7_pmnc_enable_counter() local
798 u32 counter = ARMV7_IDX_TO_COUNTER(idx); in armv7_pmnc_disable_counter() local
804 u32 counter = ARMV7_IDX_TO_COUNTER(idx); in armv7_pmnc_enable_intens() local
810 u32 counter = ARMV7_IDX_TO_COUNTER(idx); in armv7_pmnc_disable_intens() local
/arch/sparc/include/asm/
Dcpudata_32.h18 unsigned int counter; member
/arch/arm64/kernel/
Dperf_event.c502 u32 counter = ARMV8_IDX_TO_COUNTER(idx); in armv8pmu_read_evcntr() local
571 u32 counter = ARMV8_IDX_TO_COUNTER(idx); in armv8pmu_write_evcntr() local
604 u32 counter = ARMV8_IDX_TO_COUNTER(idx); in armv8pmu_write_evtype() local
636 int counter = ARMV8_IDX_TO_COUNTER(event->hw.idx); in armv8pmu_event_cnten_mask() local
695 u32 counter = ARMV8_IDX_TO_COUNTER(event->hw.idx); in armv8pmu_enable_event_irq() local
710 u32 counter = ARMV8_IDX_TO_COUNTER(event->hw.idx); in armv8pmu_disable_event_irq() local
/arch/x86/xen/
Dpmu.c337 static unsigned long long xen_amd_read_pmc(int counter) in xen_amd_read_pmc()
357 static unsigned long long xen_intel_read_pmc(int counter) in xen_intel_read_pmc()
387 unsigned long long xen_read_pmc(int counter) in xen_read_pmc()
/arch/x86/lib/
Dmsr.c131 void do_trace_rdpmc(unsigned counter, u64 val, int failed) in do_trace_rdpmc()
/arch/m68k/include/asm/
Dintersil.h40 struct intersil_dt counter; member
/arch/s390/mm/
Dcmm.c62 static long cmm_alloc_pages(long nr, long *counter, in cmm_alloc_pages()
102 static long cmm_free_pages(long nr, long *counter, struct cmm_page_array **list) in cmm_free_pages()
/arch/s390/pci/
Dpci_debug.c73 atomic64_t *counter = &zdev->allocated_pages; in pci_sw_counter_show() local
/arch/x86/include/asm/
Dmsr.h234 static inline unsigned long long native_read_pmc(int counter) in native_read_pmc()
298 #define rdpmc(counter, low, high) \ argument
305 #define rdpmcl(counter, val) ((val) = native_read_pmc(counter)) argument
/arch/um/drivers/
Dvector_transports.c52 uint32_t counter; member
70 uint32_t *counter; in l2tpv3_form_header() local
/arch/x86/crypto/
Daesni-intel_glue.c835 __be32 counter = cpu_to_be32(1); in helper_rfc4106_encrypt() local
856 __be32 counter = cpu_to_be32(1); in helper_rfc4106_decrypt() local
1165 __be32 counter = cpu_to_be32(1); in generic_gcmaes_encrypt() local
1176 __be32 counter = cpu_to_be32(1); in generic_gcmaes_decrypt() local
/arch/s390/kernel/
Ddiag.c20 unsigned int counter[NR_DIAG_STAT]; member
/arch/hexagon/kernel/
Dtraps.c184 int counter; in die() member
/arch/powerpc/platforms/pseries/
Dmobility.c499 atomic_t counter; member
506 atomic_t *counter = &info->counter; in do_join() local
/arch/x86/kvm/
Dpmu.h54 u64 counter, enabled, running; in pmc_read_counter() local

12