/kernel/linux/linux-5.10/drivers/char/ |
H A D | hpet.c | 35 #include <linux/hpet.h> 76 .name = "hpet", 85 /* A lock for concurrent access by app and isr hpet activity. */ 92 struct hpet __iomem *hd_hpet; 106 struct hpet __iomem *hp_hpet; 160 struct hpet __iomem *hpet = devp->hd_hpet; in hpet_interrupt() local 165 mc = read_counter(&hpet->hpet_mc); in hpet_interrupt() 174 * where t is the interval in hpet ticks for the given freq, in hpet_interrupt() 456 struct hpet __iome in hpet_ioctl_ieon() local 784 struct hpet __iomem *hpet; __hpet_calibrate() local 841 struct hpet __iomem *hpet; hpet_alloc() local [all...] |
/kernel/linux/linux-6.6/drivers/char/ |
H A D | hpet.c | 36 #include <linux/hpet.h> 77 .name = "hpet", 86 /* A lock for concurrent access by app and isr hpet activity. */ 93 struct hpet __iomem *hd_hpet; 107 struct hpet __iomem *hp_hpet; 145 struct hpet __iomem *hpet = devp->hd_hpet; in hpet_interrupt() local 150 mc = read_counter(&hpet->hpet_mc); in hpet_interrupt() 159 * where t is the interval in hpet ticks for the given freq, in hpet_interrupt() 441 struct hpet __iome in hpet_ioctl_ieon() local 749 struct hpet __iomem *hpet; __hpet_calibrate() local 806 struct hpet __iomem *hpet; hpet_alloc() local [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | tsc.c | 19 #include <asm/hpet.h> 353 static u64 tsc_read_refs(u64 *p, int hpet) in tsc_read_refs() argument 361 if (hpet) in tsc_read_refs() 750 * calibrate cpu using pit, hpet, and ptimer methods. They are available 758 int hpet = is_hpet_enabled(), i, loopmin; in pit_hpet_ptimer_calibrate_cpu() local 795 * hpet/pmtimer when available. Then do the PIT in pit_hpet_ptimer_calibrate_cpu() 800 tsc1 = tsc_read_refs(&ref1, hpet); in pit_hpet_ptimer_calibrate_cpu() 802 tsc2 = tsc_read_refs(&ref2, hpet); in pit_hpet_ptimer_calibrate_cpu() 808 /* hpet or pmtimer available ? */ in pit_hpet_ptimer_calibrate_cpu() 817 if (hpet) in pit_hpet_ptimer_calibrate_cpu() 1375 static int hpet; tsc_refine_calibration_work() local [all...] |
H A D | hpet.c | 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 */ in hpet_select_device_channel() 424 strscpy(hc->name, "hpet", sizeof(hc->name)); in hpet_legacy_clockevent_register() 731 sprintf(hc->name, "hpet%d", i); in hpet_select_clockevents() 790 static union hpet_lock hpet __cacheline_aligned = { 810 old.lockval = READ_ONCE(hpet in read_hpet() [all...] |
H A D | i8253.c | 12 #include <asm/hpet.h>
|
H A D | time.c | 25 #include <asm/hpet.h>
|
H A D | x86_init.c | 22 #include <asm/hpet.h>
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | tsc.c | 18 #include <asm/hpet.h> 316 static u64 tsc_read_refs(u64 *p, int hpet) in tsc_read_refs() argument 324 if (hpet) in tsc_read_refs() 713 * calibrate cpu using pit, hpet, and ptimer methods. They are available 721 int hpet = is_hpet_enabled(), i, loopmin; in pit_hpet_ptimer_calibrate_cpu() local 758 * hpet/pmtimer when available. Then do the PIT in pit_hpet_ptimer_calibrate_cpu() 763 tsc1 = tsc_read_refs(&ref1, hpet); in pit_hpet_ptimer_calibrate_cpu() 765 tsc2 = tsc_read_refs(&ref2, hpet); in pit_hpet_ptimer_calibrate_cpu() 771 /* hpet or pmtimer available ? */ in pit_hpet_ptimer_calibrate_cpu() 780 if (hpet) in pit_hpet_ptimer_calibrate_cpu() 1333 static int hpet; tsc_refine_calibration_work() local [all...] |
H A D | hpet.c | 6 #include <linux/hpet.h> 10 #include <asm/hpet.h> 15 #define pr_fmt(fmt) "hpet: " fmt 117 __setup("hpet=", hpet_setup); 182 * When the HPET driver (/dev/hpet) is enabled, we need to reserve 233 /* Associate the first unused channel to /dev/hpet */ in hpet_select_device_channel() 423 strncpy(hc->name, "hpet", sizeof(hc->name)); in hpet_legacy_clockevent_register() 621 sprintf(hc->name, "hpet%d", i); in hpet_select_clockevents() 680 static union hpet_lock hpet __cacheline_aligned = { 700 old.lockval = READ_ONCE(hpet in read_hpet() [all...] |
H A D | i8253.c | 12 #include <asm/hpet.h>
|
H A D | time.c | 25 #include <asm/hpet.h>
|
H A D | x86_init.c | 22 #include <asm/hpet.h>
|
H A D | devicetree.c | 21 #include <asm/hpet.h> 124 dn = of_find_compatible_node(NULL, NULL, "intel,ce4100-hpet"); in dtb_setup_hpet()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | hpet.h | 5 #include <uapi/linux/hpet.h> 12 struct hpet { struct
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | hpet.h | 5 #include <uapi/linux/hpet.h> 12 struct hpet { struct
|
/kernel/linux/linux-5.10/arch/mips/loongson64/ |
H A D | time.c | 11 #include <asm/hpet.h>
|
H A D | hpet.c | 9 #include <asm/hpet.h> 191 * hpet address assignation and irq setting should be done in bios. 207 /* set hpet base address */ in hpet_setup() 228 cd->name = "hpet"; in setup_hpet_timer() 245 if (request_irq(HPET_T0_IRQ, hpet_irq_handler, flags, "hpet", NULL)) in setup_hpet_timer() 246 pr_err("Failed to request irq %d (hpet)\n", HPET_T0_IRQ); in setup_hpet_timer() 247 pr_info("hpet clock event device register\n"); in setup_hpet_timer() 266 .name = "hpet", 267 /* mips clocksource rating is less than 300, so hpet is better. */
|
/kernel/linux/linux-5.10/arch/mips/loongson2ef/common/ |
H A D | time.c | 11 #include <asm/hpet.h>
|
/kernel/linux/linux-6.6/arch/mips/loongson2ef/common/ |
H A D | time.c | 11 #include <asm/hpet.h>
|
/kernel/linux/linux-6.6/arch/mips/loongson64/ |
H A D | time.c | 11 #include <asm/hpet.h>
|
H A D | hpet.c | 9 #include <asm/hpet.h> 191 * hpet address assignation and irq setting should be done in bios. 207 /* set hpet base address */ in hpet_setup() 228 cd->name = "hpet"; in setup_hpet_timer() 245 if (request_irq(HPET_T0_IRQ, hpet_irq_handler, flags, "hpet", NULL)) in setup_hpet_timer() 246 pr_err("Failed to request irq %d (hpet)\n", HPET_T0_IRQ); in setup_hpet_timer() 247 pr_info("hpet clock event device register\n"); in setup_hpet_timer() 266 .name = "hpet", 267 /* mips clocksource rating is less than 300, so hpet is better. */
|
/kernel/linux/linux-6.6/arch/x86/kernel/apic/ |
H A D | msi.c | 15 #include <linux/hpet.h> 18 #include <asm/hpet.h>
|
/kernel/linux/linux-5.10/arch/x86/kernel/apic/ |
H A D | msi.c | 15 #include <linux/hpet.h> 19 #include <asm/hpet.h>
|
/kernel/linux/linux-5.10/drivers/iommu/ |
H A D | irq_remapping.c | 16 #include <asm/hpet.h>
|
/kernel/linux/linux-6.6/drivers/iommu/ |
H A D | irq_remapping.c | 16 #include <asm/hpet.h>
|