Searched refs:qpci_io_readb (Results 1 – 7 of 7) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | ide-test.c | 285 status = qpci_io_readb(dev, bmdma_bar, bmreg_status); in send_dma_request() 292 assert_bit_set(qpci_io_readb(dev, ide_bar, reg_status), DRDY); in send_dma_request() 293 assert_bit_clear(qpci_io_readb(dev, ide_bar, reg_status), BSY | DRQ); in send_dma_request() 356 assert_bit_clear(qpci_io_readb(dev, ide_bar, reg_status), DF | ERR); in test_bmdma_simple_rw() 365 assert_bit_clear(qpci_io_readb(dev, ide_bar, reg_status), DF | ERR); in test_bmdma_simple_rw() 373 assert_bit_clear(qpci_io_readb(dev, ide_bar, reg_status), DF | ERR); in test_bmdma_simple_rw() 384 assert_bit_clear(qpci_io_readb(dev, ide_bar, reg_status), DF | ERR); in test_bmdma_simple_rw() 431 assert_bit_clear(qpci_io_readb(dev, ide_bar, reg_status), DF | ERR); in test_bmdma_trim() 442 assert_bit_set(qpci_io_readb(dev, ide_bar, reg_status), ERR); in test_bmdma_trim() 443 assert_bit_set(qpci_io_readb(dev, ide_bar, reg_error), ABRT); in test_bmdma_trim() [all …]
|
H A D | nvme-test.c | 60 g_assert_cmpint(qpci_io_readb(pdev, bar, 0), ==, 0x99); in nvmetest_oob_cmb_test() 65 g_assert_cmpint(qpci_io_readb(pdev, bar, cmb_bar_size - 1), ==, 0x11); in nvmetest_oob_cmb_test() 106 g_assert_cmpint(qpci_io_readb(pdev, pmr_bar, 0), !=, 0x99); in nvmetest_pmr_reg_test() 123 g_assert_cmpint(qpci_io_readb(pdev, pmr_bar, 0), ==, 0x11); in nvmetest_pmr_reg_test() 134 g_assert_cmpint(qpci_io_readb(pdev, pmr_bar, 0), !=, 0x55); in nvmetest_pmr_reg_test()
|
H A D | tco-test.c | 153 g_assert_cmpint(qpci_io_readb(d.dev, d.tco_io_bar, TCO_WDCNT), ==, in test_tco_defaults() 155 g_assert_cmpint(qpci_io_readb(d.dev, d.tco_io_bar, SW_IRQ_GEN), ==, in test_tco_defaults()
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | virtio-pci-modern.c | 19 return qpci_io_readb(dev->pdev, dev->bar, dev->device_cfg_offset + addr); in config_readb() 113 return qpci_io_readb(dev->pdev, dev->bar, dev->common_cfg_offset + in get_status() 159 return qpci_io_readb(dev->pdev, dev->bar, dev->isr_cfg_offset) & 1; in get_queue_isr_status() 171 return qpci_io_readb(dev->pdev, dev->bar, dev->isr_cfg_offset) & 2; in get_config_isr_status()
|
H A D | virtio-pci.c | 45 return qpci_io_readb(dev->pdev, dev->bar, CONFIG_BASE(dev) + off); in qvirtio_pci_config_readb() 113 return qpci_io_readb(dev->pdev, dev->bar, VIRTIO_PCI_STATUS); in qvirtio_pci_get_status() 143 return qpci_io_readb(dev->pdev, dev->bar, VIRTIO_PCI_ISR) & 1; in qvirtio_pci_get_queue_isr_status() 167 return qpci_io_readb(dev->pdev, dev->bar, VIRTIO_PCI_ISR) & 2; in qvirtio_pci_get_config_isr_status()
|
H A D | pci.h | 105 uint8_t qpci_io_readb(QPCIDevice *dev, QPCIBar token, uint64_t off);
|
H A D | pci.c | 399 uint8_t qpci_io_readb(QPCIDevice *dev, QPCIBar token, uint64_t off) in qpci_io_readb() function
|