Home
last modified time | relevance | path

Searched refs:TCO1_STS (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/tests/qtest/
H A Dtco-test.c114 qpci_io_writew(d->dev, d->tco_io_bar, TCO1_STS, 0x0008); in clear_tco_status()
145 g_assert_cmpint(qpci_io_readl(d.dev, d.tco_io_bar, TCO1_STS), ==, in test_tco_defaults()
182 val = qpci_io_readw(d.dev, d.tco_io_bar, TCO1_STS); in test_tco_timeout()
188 qpci_io_writew(d.dev, d.tco_io_bar, TCO1_STS, val); in test_tco_timeout()
189 val = qpci_io_readw(d.dev, d.tco_io_bar, TCO1_STS); in test_tco_timeout()
195 val = qpci_io_readw(d.dev, d.tco_io_bar, TCO1_STS); in test_tco_timeout()
227 val = qpci_io_readw(d.dev, d.tco_io_bar, TCO1_STS); in test_tco_max_timeout()
231 val = qpci_io_readw(d.dev, d.tco_io_bar, TCO1_STS); in test_tco_max_timeout()
372 } while (!(qpci_io_readw(d.dev, d.tco_io_bar, TCO1_STS) & TCO_TIMEOUT)); in test_tco_ticks_counter()
417 val = qpci_io_readw(d.dev, d.tco_io_bar, TCO1_STS); in test_tco1_status_bits()
[all …]
/openbmc/linux/drivers/watchdog/
H A DiTCO_wdt.c79 #define TCO1_STS(p) (TCOBASE(p) + 0x04) /* TCO1 Status Register */ macro
356 outw(0x0008, TCO1_STS(p)); /* write 1 to clear bit */ in iTCO_wdt_ping()
434 if (!(inw(TCO1_STS(p)) & 0x0008)) in iTCO_wdt_get_timeleft()
567 outw(0x0008, TCO1_STS(p)); /* Clear the Time Out Status bit */ in iTCO_wdt_probe()
571 outl(0x20008, TCO1_STS(p)); in iTCO_wdt_probe()
576 outw(0x0008, TCO1_STS(p)); /* Clear the Time Out Status bit */ in iTCO_wdt_probe()
/openbmc/qemu/include/hw/acpi/
H A Dich9_tco.h24 TCO1_STS = 0x04, enumerator
/openbmc/qemu/hw/acpi/
H A Dich9_tco.c108 case TCO1_STS: in tco_ioport_readw()
163 case TCO1_STS: in tco_ioport_writew()
/openbmc/u-boot/arch/x86/include/asm/arch-broadwell/
H A Dpm.h67 #define TCO1_STS 0x64 macro
/openbmc/u-boot/arch/x86/cpu/broadwell/
H A Dpower_state.c71 ps->tco1_sts = inw(ACPI_BASE_ADDRESS + TCO1_STS); in power_state_get()
/openbmc/u-boot/arch/x86/include/asm/arch-ivybridge/
H A Dpch.h375 #define TCO1_STS 0x64 macro