/openbmc/linux/drivers/char/ |
H A D | hpet.c | 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() 453 struct hpet __iomem *hpet; in hpet_ioctl_ieon() local 460 hpet = devp->hd_hpet; in hpet_ioctl_ieon() 492 write_counter(read_counter(&hpet->hpet_mc), in hpet_ioctl_ieon() 496 writel(isr, &hpet->hpet_isr); in hpet_ioctl_ieon() 537 m = read_counter(&hpet->hpet_mc); in hpet_ioctl_ieon() 546 m = read_counter(&hpet->hpet_mc); in hpet_ioctl_ieon() [all …]
|
H A D | Makefile | 22 obj-$(CONFIG_HPET) += hpet.o
|
H A D | Kconfig | 364 If you say Y here, you will have a miscdevice named "/dev/hpet/". Each
|
/openbmc/linux/arch/x86/kernel/ |
H A D | tsc.c | 353 static u64 tsc_read_refs(u64 *p, int hpet) in tsc_read_refs() argument 361 if (hpet) in tsc_read_refs() 758 int hpet = is_hpet_enabled(), i, loopmin; in pit_hpet_ptimer_calibrate_cpu() local 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() 817 if (hpet) in pit_hpet_ptimer_calibrate_cpu() 836 hpet ? "HPET" : "PMTIMER", i + 1); in pit_hpet_ptimer_calibrate_cpu() 861 if (!hpet && !ref1 && !ref2) { in pit_hpet_ptimer_calibrate_cpu() 874 hpet ? "HPET" : "PMTIMER"); in pit_hpet_ptimer_calibrate_cpu() 880 if (!hpet && !ref1 && !ref2) { in pit_hpet_ptimer_calibrate_cpu() [all …]
|
H A D | hpet.c | 790 static union hpet_lock hpet __cacheline_aligned = { 810 old.lockval = READ_ONCE(hpet.lockval); in read_hpet() 816 if (arch_spin_trylock(&hpet.lock)) { in read_hpet() 821 WRITE_ONCE(hpet.value, new.value); in read_hpet() 822 arch_spin_unlock(&hpet.lock); in read_hpet() 843 new.lockval = READ_ONCE(hpet.lockval); in read_hpet()
|
H A D | Makefile | 113 obj-$(CONFIG_HPET_TIMER) += hpet.o
|
/openbmc/linux/Documentation/devicetree/bindings/x86/ |
H A D | timer.txt | 6 compatible = "intel,ce4100-hpet";
|
/openbmc/qemu/hw/i386/ |
H A D | pc.c | 35 #include "hw/timer/hpet.h" 1146 DeviceState *hpet = NULL; in pc_basic_device_init() local 1166 hpet = qdev_try_new(TYPE_HPET); in pc_basic_device_init() 1167 if (!hpet) { in pc_basic_device_init() 1172 * For pc-piix-*, hpet's intcap is always IRQ2. For pc-q35-*, in pc_basic_device_init() 1176 uint8_t compat = object_property_get_uint(OBJECT(hpet), in pc_basic_device_init() 1179 qdev_prop_set_uint32(hpet, HPET_INTCAP, hpet_irqs); in pc_basic_device_init() 1181 sysbus_realize_and_unref(SYS_BUS_DEVICE(hpet), &error_fatal); in pc_basic_device_init() 1182 sysbus_mmio_map(SYS_BUS_DEVICE(hpet), 0, HPET_BASE); in pc_basic_device_init() 1185 sysbus_connect_irq(SYS_BUS_DEVICE(hpet), in pc_basic_device_init() [all...] |
/openbmc/linux/Documentation/timers/ |
H A D | index.rst | 11 hpet
|
H A D | hpet.rst | 26 arch/x86/kernel/hpet.c.
|
/openbmc/linux/arch/mips/loongson64/ |
H A D | Makefile | 10 obj-$(CONFIG_RS780_HPET) += hpet.o
|
H A D | Kconfig | 10 This option enables the hpet timer of AMD RS780/SBX00.
|
/openbmc/qemu/include/hw/timer/ |
H A D | hpet.h | 74 struct hpet_fw_entry hpet[8]; member
|
/openbmc/linux/include/linux/ |
H A D | hpet.h | 12 struct hpet { struct
|
/openbmc/qemu/hw/timer/ |
H A D | hpet.c | 281 hpet_cfg.hpet[s->hpet_id].event_timer_block_id = (uint32_t)s->capability; in hpet_post_load() 668 hpet_cfg.hpet[s->hpet_id].event_timer_block_id = (uint32_t)s->capability; in hpet_reset() 669 hpet_cfg.hpet[s->hpet_id].address = sbd->mmio[0].addr; in hpet_reset()
|
H A D | meson.build | 16 system_ss.add(when: 'CONFIG_HPET', if_true: files('hpet.c'))
|
H A D | trace-events | 109 # hpet.c
|
/openbmc/linux/Documentation/core-api/ |
H A D | printk-index.rst | 52 <6> arch/x86/kernel/hpet.c:144 _hpet_print_config "hpet: %s(%d):\n"
|
/openbmc/linux/arch/x86/platform/ce4100/ |
H A D | falconfalls.dts | 40 compatible = "intel,ce4100-hpet";
|
/openbmc/qemu/tests/functional/acpi-bits/bits-tests/ |
H A D | testacpi.py2 | 260 hpet = acpi.parse_hpet()
|
/openbmc/linux/Documentation/userspace-api/ioctl/ |
H A D | ioctl-number.rst | 247 'h' 00-1F linux/hpet.h conflict!
|
/openbmc/qemu/docs/about/ |
H A D | removed-features.rst | 463 ``-no-hpet`` (removed in 9.0) 467 Use ``-machine hpet=off`` instead.
|
/openbmc/qemu/docs/devel/migration/ |
H A D | main.rst | 445 Example: You can look at hpet.c, that uses the first three functions
|
/openbmc/openbmc/poky/documentation/kernel-dev/ |
H A D | advanced.rst | 577 include cfg/timer/hpet.scc
|
/openbmc/qemu/ |
H A D | MAINTAINERS | 1819 F: hw/timer/hpet* 1833 F: include/hw/timer/hpet.h
|