Home
last modified time | relevance | path

Searched refs:counters (Results 1 – 18 of 18) sorted by relevance

/arch/mips/kernel/
Dperf_event_mipsxx.c144 static unsigned int counters_total_to_per_cpu(unsigned int counters) in counters_total_to_per_cpu() argument
146 return counters >> vpe_shift(); in counters_total_to_per_cpu()
815 int counters; in n_counters() local
819 counters = 2; in n_counters()
825 counters = 4; in n_counters()
829 counters = __n_counters(); in n_counters()
832 return counters; in n_counters()
837 int counters = (int)(long)arg; in loongson3_reset_counters() local
839 switch (counters) { in loongson3_reset_counters()
909 int counters = (int)(long)arg; in reset_counters() local
[all …]
/arch/loongarch/kernel/
Dperf_event.c664 int counters = loongarch_pmu.num_counters; in reset_counters() local
666 for (n = 0; n < counters; n++) { in reset_counters()
859 int counters; in init_hw_perf_events() local
865 counters = ((read_cpucfg(LOONGARCH_CPUCFG6) & CPUCFG6_PMNUM) >> 4) + 1; in init_hw_perf_events()
867 loongarch_pmu.num_counters = counters; in init_hw_perf_events()
881 loongarch_pmu.name, counters, 64); in init_hw_perf_events()
/arch/mips/kvm/
DKconfig35 bool "Maintain counters for COP0 accesses"
/arch/x86/kvm/vmx/
Dpmu_intel.c144 struct kvm_pmc *counters; in intel_rdpmc_ecx_to_pmc() local
149 counters = pmu->fixed_counters; in intel_rdpmc_ecx_to_pmc()
152 counters = pmu->gp_counters; in intel_rdpmc_ecx_to_pmc()
158 return &counters[array_index_nospec(idx, num_counters)]; in intel_rdpmc_ecx_to_pmc()
/arch/x86/include/asm/xen/
Dinterface.h263 uint32_t counters; member
/arch/powerpc/boot/dts/
Da4m072.dts35 fsl,init-fd-counters = <0x3333>;
/arch/x86/xen/
Dpmu.c284 counter_regs = field_offset(ctxt, counters); in xen_amd_pmu_emulate()
366 counter_regs = field_offset(ctxt, counters); in xen_amd_read_pmc()
/arch/powerpc/platforms/pseries/
DKconfig136 Enable access to hypervisor supplied counters in perf. Currently,
138 interfaces to retrieve counters. GPCI exists on Power 6 and later
/arch/mips/include/asm/mach-cavium-octeon/
Dkernel-entry-init.h41 # counters interrupt to IRQ 6
/arch/s390/kvm/
Dinterrupt.c1059 fi->counters[FIRQ_CNTR_PFAULT] -= 1; in __deliver_pfault_done()
1109 fi->counters[FIRQ_CNTR_VIRTIO] -= 1; in __deliver_virtio()
1197 fi->counters[FIRQ_CNTR_IO] -= 1; in __deliver_io()
1724 fi->counters[FIRQ_CNTR_IO] -= 1; in get_io_int()
1857 if (fi->counters[FIRQ_CNTR_VIRTIO] >= KVM_S390_MAX_VIRTIO_IRQS) { in __inject_virtio()
1861 fi->counters[FIRQ_CNTR_VIRTIO] += 1; in __inject_virtio()
1875 if (fi->counters[FIRQ_CNTR_PFAULT] >= in __inject_pfault_done()
1880 fi->counters[FIRQ_CNTR_PFAULT] += 1; in __inject_pfault_done()
1928 if (fi->counters[FIRQ_CNTR_IO] >= KVM_S390_MAX_FLOAT_IRQS) { in __inject_io()
1932 fi->counters[FIRQ_CNTR_IO] += 1; in __inject_io()
[all …]
/arch/arm/mach-at91/
DKconfig163 On platforms with 16-bit counters, two timer channels are combined
/arch/m68k/fpsp040/
Dskeleton.S48 | The following counters are used for standalone testing
/arch/s390/kernel/
Dperf_cpum_cf.c539 static void cfdiag_diffctrset(u64 *pstart, u64 *pstop, int counters) in cfdiag_diffctrset() argument
541 for (; --counters >= 0; ++pstart, ++pstop) in cfdiag_diffctrset()
/arch/powerpc/crypto/
Dchacha-p10le-8x.S612 # create (0, 1, 2, 3) counters
/arch/parisc/kernel/
Dperf_asm.S28 ; Enable the performance counters
/arch/s390/include/asm/
Dkvm_host.h683 int counters[FIRQ_MAX_COUNT]; member
/arch/x86/
DKconfig1092 performance counters), and the NMI watchdog which detects hard
2504 Enable call/ret counters for imbalance detection and build in
/arch/arm64/
DKconfig1024 is the same to firmware disabling affected counters.