Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dtco-test.c46 QPCIBar tco_io_bar; member
80 d->tco_io_bar = qpci_legacy_iomap(d->dev, PM_IO_BASE_ADDR + 0x60); in test_init()
88 val = qpci_io_readw(d->dev, d->tco_io_bar, TCO1_CNT); in stop_tco()
90 qpci_io_writew(d->dev, d->tco_io_bar, TCO1_CNT, val); in stop_tco()
97 val = qpci_io_readw(d->dev, d->tco_io_bar, TCO1_CNT); in start_tco()
99 qpci_io_writew(d->dev, d->tco_io_bar, TCO1_CNT, val); in start_tco()
104 qpci_io_writew(d->dev, d->tco_io_bar, TCO_RLD, 4); in load_tco()
109 qpci_io_writew(d->dev, d->tco_io_bar, TCO_TMR, ticks); in set_tco_timeout()
114 qpci_io_writew(d->dev, d->tco_io_bar, TCO1_STS, 0x0008); in clear_tco_status()
115 qpci_io_writew(d->dev, d->tco_io_bar, TCO2_STS, 0x0002); in clear_tco_status()
[all …]