Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dnvme-test.c67 g_assert_cmpint(qpci_io_readl(pdev, bar, cmb_bar_size - 1), !=, 0x44332211); in nvmetest_oob_cmb_test()
81 cap_lo = qpci_io_readl(pdev, bar, 0x0); in nvmetest_reg_read_test()
84 cap_hi = qpci_io_readl(pdev, bar, 0x4); in nvmetest_reg_read_test()
112 pmrcap = qpci_io_readl(pdev, nvme_bar, 0xe00); in nvmetest_pmr_reg_test()
125 g_assert_cmpint(qpci_io_readl(pdev, pmr_bar, 0), ==, 0x44332211); in nvmetest_pmr_reg_test()
127 pmrsts = qpci_io_readl(pdev, nvme_bar, 0xe08); in nvmetest_pmr_reg_test()
136 g_assert_cmpint(qpci_io_readl(pdev, pmr_bar, 0), !=, 0x88776655); in nvmetest_pmr_reg_test()
138 pmrsts = qpci_io_readl(pdev, nvme_bar, 0xe08); in nvmetest_pmr_reg_test()
H A Dusb-hcd-ehci-test.c41 uint32_t value = qpci_io_readl(hc->dev, hc->bar, 0x64 + 4 * port); in ehci_port_test()
H A Derst-test.c65 res = qpci_io_readl(s->dev, s->reg_bar, reg); in in_reg32()
H A Dtco-test.c145 g_assert_cmpint(qpci_io_readl(d.dev, d.tco_io_bar, TCO1_STS), ==, in test_tco_defaults()
148 g_assert_cmpint(qpci_io_readl(d.dev, d.tco_io_bar, TCO1_CNT), ==, in test_tco_defaults()
H A Divshmem-test.c75 res = qpci_io_readl(s->dev, s->reg_bar, reg); in in_reg()
H A Dufs-test.c47 return qpci_io_readl(&ufs->dev, ufs->bar, offset); in ufs_rreg()
/openbmc/qemu/tests/qtest/libqos/
H A Dvirtio-pci-modern.c31 return qpci_io_readl(dev->pdev, dev->bar, dev->device_cfg_offset + addr); in config_readl()
49 lo = qpci_io_readl(dev->pdev, dev->bar, dev->common_cfg_offset + in get_features()
56 hi = qpci_io_readl(dev->pdev, dev->bar, dev->common_cfg_offset + in get_features()
96 lo = qpci_io_readl(dev->pdev, dev->bar, dev->common_cfg_offset + in get_guest_features()
103 hi = qpci_io_readl(dev->pdev, dev->bar, dev->common_cfg_offset + in get_guest_features()
H A Dvirtio-pci.c72 value = qpci_io_readl(dev->pdev, dev->bar, CONFIG_BASE(dev) + off); in qvirtio_pci_config_readl()
95 return qpci_io_readl(dev->pdev, dev->bar, VIRTIO_PCI_HOST_FEATURES); in qvirtio_pci_get_features()
107 return qpci_io_readl(dev->pdev, dev->bar, VIRTIO_PCI_GUEST_FEATURES); in qvirtio_pci_get_guest_features()
336 control = qpci_io_readl(d->pdev, d->pdev->msix_table_bar, in qvirtqueue_pci_msix_setup()
369 control = qpci_io_readl(d->pdev, d->pdev->msix_table_bar, in qvirtio_pci_set_msix_configuration_vector()
H A De1000e.h54 return qpci_io_readl(&d_pci->pci_dev, d_pci->mac_regs, reg); in e1000e_macreg_read()
H A Dpci.c330 pba_entry = qpci_io_readl(dev, dev->msix_pba_bar, dev->msix_pba_off + off); in qpci_msix_pending()
350 return (qpci_io_readl(dev, dev->msix_table_bar, in qpci_msix_masked()
427 uint32_t qpci_io_readl(QPCIDevice *dev, QPCIBar token, uint64_t off) in qpci_io_readl() function
H A Dpci.h107 uint32_t qpci_io_readl(QPCIDevice *dev, QPCIBar token, uint64_t off);
H A Dahci.h509 return qpci_io_readl(ahci->dev, ahci->hba_bar, offset); in ahci_mread()