Lines Matching refs:hpet
6 #include <linux/hpet.h>
11 #include <asm/hpet.h>
16 #define pr_fmt(fmt) "hpet: " fmt
118 __setup("hpet=", hpet_setup);
183 * When the HPET driver (/dev/hpet) is enabled, we need to reserve
234 /* Associate the first unused channel to /dev/hpet */
424 strscpy(hc->name, "hpet", sizeof(hc->name));
731 sprintf(hc->name, "hpet%d", i);
790 static union hpet_lock hpet __cacheline_aligned = {
810 old.lockval = READ_ONCE(hpet.lockval);
816 if (arch_spin_trylock(&hpet.lock)) {
821 WRITE_ONCE(hpet.value, new.value);
822 arch_spin_unlock(&hpet.lock);
843 new.lockval = READ_ONCE(hpet.lockval);
859 .name = "hpet",
1125 * 1) Reserve one channel for /dev/hpet if CONFIG_HPET=y
1127 * 3) Setup /dev/hpet if CONFIG_HPET=y
1153 ret = cpuhp_setup_state(CPUHP_AP_X86_HPET_ONLINE, "x86/hpet:online",
1157 ret = cpuhp_setup_state(CPUHP_X86_HPET_DEAD, "x86/hpet:dead", NULL,