Searched refs:HPET_TIMER_CAP_CNF (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/acpica/ |
H A D | acpi_hpet.c | 232 bus_write_4(sc->mem_res, HPET_TIMER_CAP_CNF(t->num), in hpet_start() 240 bus_write_4(sc->mem_res, HPET_TIMER_CAP_CNF(t->num), in hpet_start() 263 bus_write_4(sc->mem_res, HPET_TIMER_CAP_CNF(t->num), t->caps); in hpet_stop() 531 if (hpet_region_size < HPET_TIMER_CAP_CNF(num_timers)) { in hpet_attach() 559 t->caps = bus_read_4(sc->mem_res, HPET_TIMER_CAP_CNF(i)); in hpet_attach() 560 t->vectors = bus_read_4(sc->mem_res, HPET_TIMER_CAP_CNF(i) + 4); in hpet_attach() 784 bus_write_4(sc->mem_res, HPET_TIMER_CAP_CNF(i), t->caps); in hpet_attach() 911 bus_write_4(sc->mem_res, HPET_TIMER_CAP_CNF(t->num), in hpet_resume() 924 bus_write_4(sc->mem_res, HPET_TIMER_CAP_CNF(t->num), t->caps); in hpet_resume()
|
H A D | acpi_hpet.h | 48 #define HPET_TIMER_CAP_CNF(x) ((x) * 0x20 + 0x100) macro
|
/freebsd/sys/amd64/vmm/io/ |
H A D | vhpet.c | 563 if (offset == HPET_TIMER_CAP_CNF(i) || in vhpet_mmio_write() 564 offset == HPET_TIMER_CAP_CNF(i) + 4) { in vhpet_mmio_write() 669 if (offset == HPET_TIMER_CAP_CNF(i) || in vhpet_mmio_read() 670 offset == HPET_TIMER_CAP_CNF(i) + 4) { in vhpet_mmio_read()
|