Home
last modified time | relevance | path

Searched full:cntfrq (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/u-boot/arch/arm/cpu/armv8/
H A Dgeneric_timer.c18 unsigned long cntfrq; in get_tbclk() local
19 asm volatile("mrs %0, cntfrq_el0" : "=r" (cntfrq)); in get_tbclk()
20 return cntfrq; in get_tbclk()
H A Dstart.S112 msr cntfrq_el0, x0 /* Initialize CNTFRQ */
/openbmc/qemu/hw/timer/
H A Dsse-timer.c53 REG32(CNTFRQ, 0x10)
229 r = s->cntfrq; in sse_timer_read()
289 s->cntfrq = value; in sse_timer_write()
379 s->cntfrq = 0; in sse_timer_reset()
433 VMSTATE_UINT32(cntfrq, SSETimer),
/openbmc/u-boot/arch/arm/mach-tegra/
H A Dpsci.S57 mrceq p15, 0, r7, c14, c0, 0 @ read CNTFRQ from CPU0
61 mcrne p15, 0, r7, c14, c0, 0 @ write CNTFRQ to CPU1..3
/openbmc/u-boot/arch/arm/cpu/armv7/
H A Dnonsec_virt.S186 /* The CNTFRQ register of the generic timer needs to be
197 mcreq p15, 0, r1, c14, c0, 0 @ write CNTFRQ
/openbmc/qemu/include/hw/timer/
H A Dsse-timer.h46 uint32_t cntfrq; member
/openbmc/u-boot/arch/arm/mach-mediatek/mt7629/
H A Dlowlevel_init.S24 * set CNTFRQ = 20Mhz, set CNTVOFF = 0
/openbmc/linux/Documentation/devicetree/bindings/timer/
H A Darm,arch_timer_mmio.yaml40 CNTFRQ on all CPUs to a uniform correct value. Use of this property is
H A Darm,arch_timer.yaml63 CNTFRQ on all CPUs to a uniform correct value. Use of this property is
/openbmc/linux/drivers/clocksource/
H A Darm_arch_timer.c50 #define CNTFRQ 0x10 macro
1476 rate = readl_relaxed(base + CNTFRQ); in arch_timer_mem_frame_get_cntfrq()
1667 pr_err(FW_BUG "CNTFRQ mismatch: frame @ %pa: (0x%08lx), CPU: (0x%08lx)\n", in arch_timer_mem_verify_cntfrq()
1705 pr_err("Disabling MMIO timers due to CNTFRQ mismatch\n"); in arch_timer_mem_acpi_init()
1754 * CNTFRQ value. This *must* be correct. in arch_timer_acpi_init()
/openbmc/linux/Documentation/translations/zh_TW/arch/arm64/
H A Dbooting.txt182 CNTFRQ 必須設定爲計時器的頻率,且 CNTVOFF 必須設定爲對所有 CPU
/openbmc/linux/Documentation/translations/zh_CN/arch/arm64/
H A Dbooting.txt178 CNTFRQ 必须设定为计时器的频率,且 CNTVOFF 必须设定为对所有 CPU
/openbmc/linux/drivers/irqchip/
H A Dirq-bcm2836.c296 * oscillator with some scaling. The firmware sets up CNTFRQ to
/openbmc/qemu/tests/qtest/
H A Dsse-timer-test.c42 #define CNTFRQ 0x10 macro
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/
H A Dplatform.S130 mcr p15, 0, r0, c14, c0, 0 @; update CNTFRQ
/openbmc/qemu/target/arm/hvf/
H A Dhvf.c1802 uint32_t cntfrq; in hvf_wfi() local
1826 cntfrq = gt_cntfrq_period_ns(arm_cpu); in hvf_wfi()
1827 seconds = muldiv64(ticks_to_sleep, cntfrq, NANOSECONDS_PER_SECOND); in hvf_wfi()
1828 ticks_to_sleep -= muldiv64(seconds, NANOSECONDS_PER_SECOND, cntfrq); in hvf_wfi()
1829 nanos = ticks_to_sleep * cntfrq; in hvf_wfi()
/openbmc/linux/arch/arm/mach-omap2/
H A Domap-smp.c162 * Configure the CNTFRQ register for the secondary cpu's which in omap4_secondary_init()
/openbmc/u-boot/board/sunxi/
H A Dboard.c229 debug("Setting CNTFRQ\n"); in board_init()
232 * CNTFRQ is a secure register, so we will crash if we try to in board_init()
/openbmc/qemu/include/hw/xen/interface/
H A Darch-arm.h311 * set correctly CNTFRQ which hold the timer frequency.
/openbmc/linux/Documentation/arch/arm64/
H A Dbooting.rst192 CNTFRQ must be programmed with the timer frequency and CNTVOFF must
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dcpu.c1145 unsigned long cntfrq = COUNTER_FREQUENCY_REAL; in timer_init() local
1149 asm volatile("msr cntfrq_el0, %0" : : "r" (cntfrq) : "memory"); in timer_init()
/openbmc/qemu/target/arm/
H A Dcpu.c1552 DEFINE_PROP_UINT64("cntfrq", ARMCPU, gt_cntfrq_hz, 0);
1636 * Finally, CNTFRQ is effectively capped at 1GHz to ensure our scale factor in gt_cntfrq_period_ns()
2643 /* True to default to the backward-compat old CNTFRQ rather than 1Ghz */
2644 DEFINE_PROP_BOOL("backcompat-cntfrq", ARMCPU, backcompat_cntfrq, false),
/openbmc/u-boot/arch/arm/mach-tegra/tegra114/
H A Dclock.c721 /* ARM CNTFRQ */ in arch_timer_init()
/openbmc/qemu/hw/arm/
H A Daspeed_ast27x0.c495 object_property_set_int(OBJECT(&a->cpu[i]), "cntfrq", 1125000000, in aspeed_soc_ast2700_realize()
H A Dsbsa-ref.c786 object_property_set_int(cpuobj, "cntfrq", SBSA_GTIMER_HZ, &error_abort); in sbsa_ref_init()

12