/openbmc/qemu/tests/qtest/libqos/ |
H A D | pci.h | 22 typedef struct QPCIBus QPCIBus; typedef 26 struct QPCIBus { struct 27 uint8_t (*pio_readb)(QPCIBus *bus, uint32_t addr); argument 28 uint16_t (*pio_readw)(QPCIBus *bus, uint32_t addr); argument 29 uint32_t (*pio_readl)(QPCIBus *bus, uint32_t addr); argument 30 uint64_t (*pio_readq)(QPCIBus *bus, uint32_t addr); argument 44 void (*config_writeb)(QPCIBus *bus, int devfn, argument 46 void (*config_writew)(QPCIBus *bus, int devfn, argument 48 void (*config_writel)(QPCIBus *bus, int devfn, argument 66 QPCIBus *bus; argument [all …]
|
H A D | pci-pc.c | 24 static uint8_t qpci_pc_pio_readb(QPCIBus *bus, uint32_t addr) in qpci_pc_pio_readb() 29 static void qpci_pc_pio_writeb(QPCIBus *bus, uint32_t addr, uint8_t val) in qpci_pc_pio_writeb() 34 static uint16_t qpci_pc_pio_readw(QPCIBus *bus, uint32_t addr) in qpci_pc_pio_readw() 39 static void qpci_pc_pio_writew(QPCIBus *bus, uint32_t addr, uint16_t val) in qpci_pc_pio_writew() 44 static uint32_t qpci_pc_pio_readl(QPCIBus *bus, uint32_t addr) in qpci_pc_pio_readl() 49 static void qpci_pc_pio_writel(QPCIBus *bus, uint32_t addr, uint32_t val) in qpci_pc_pio_writel() 54 static uint64_t qpci_pc_pio_readq(QPCIBus *bus, uint32_t addr) in qpci_pc_pio_readq() 60 static void qpci_pc_pio_writeq(QPCIBus *bus, uint32_t addr, uint64_t val) in qpci_pc_pio_writeq() 71 static void qpci_pc_memwrite(QPCIBus *bus, uint32_t addr, in qpci_pc_memwrite() 160 QPCIBus *qpci_new_pc(QTestState *qts, QGuestAllocator *alloc) in qpci_new_pc() [all …]
|
H A D | pci-spapr.c | 25 static uint8_t qpci_spapr_pio_readb(QPCIBus *bus, uint32_t addr) in qpci_spapr_pio_readb() 31 static void qpci_spapr_pio_writeb(QPCIBus *bus, uint32_t addr, uint8_t val) in qpci_spapr_pio_writeb() 37 static uint16_t qpci_spapr_pio_readw(QPCIBus *bus, uint32_t addr) in qpci_spapr_pio_readw() 43 static void qpci_spapr_pio_writew(QPCIBus *bus, uint32_t addr, uint16_t val) in qpci_spapr_pio_writew() 49 static uint32_t qpci_spapr_pio_readl(QPCIBus *bus, uint32_t addr) in qpci_spapr_pio_readl() 55 static void qpci_spapr_pio_writel(QPCIBus *bus, uint32_t addr, uint32_t val) in qpci_spapr_pio_writel() 61 static uint64_t qpci_spapr_pio_readq(QPCIBus *bus, uint32_t addr) in qpci_spapr_pio_readq() 73 static void qpci_spapr_memread(QPCIBus *bus, uint32_t addr, in qpci_spapr_memread() 80 static void qpci_spapr_memwrite(QPCIBus *bus, uint32_t addr, in qpci_spapr_memwrite() 207 QPCIBus *qpci_new_spapr(QTestState *qts, QGuestAllocator *alloc) in qpci_new_spapr() [all …]
|
H A D | generic-pcihost.c | 42 static uint8_t qpci_generic_pio_readb(QPCIBus *bus, uint32_t addr) in qpci_generic_pio_readb() 49 static void qpci_generic_pio_writeb(QPCIBus *bus, uint32_t addr, uint8_t val) in qpci_generic_pio_writeb() 56 static uint16_t qpci_generic_pio_readw(QPCIBus *bus, uint32_t addr) in qpci_generic_pio_readw() 63 static void qpci_generic_pio_writew(QPCIBus *bus, uint32_t addr, uint16_t val) in qpci_generic_pio_writew() 70 static uint32_t qpci_generic_pio_readl(QPCIBus *bus, uint32_t addr) in qpci_generic_pio_readl() 77 static void qpci_generic_pio_writel(QPCIBus *bus, uint32_t addr, uint32_t val) in qpci_generic_pio_writel() 84 static uint64_t qpci_generic_pio_readq(QPCIBus *bus, uint32_t addr) in qpci_generic_pio_readq() 91 static void qpci_generic_pio_writeq(QPCIBus *bus, uint32_t addr, uint64_t val) in qpci_generic_pio_writeq() 103 static void qpci_generic_memwrite(QPCIBus *bus, uint32_t addr, in qpci_generic_memwrite() 109 static uint8_t qpci_generic_config_readb(QPCIBus *bus, int devfn, uint8_t offset) in qpci_generic_config_readb() [all …]
|
H A D | pci-pc.h | 22 QPCIBus bus; 45 QPCIBus *qpci_new_pc(QTestState *qts, QGuestAllocator *alloc); 47 void qpci_free_pc(QPCIBus *bus);
|
H A D | pci-spapr.h | 24 QPCIBus bus; 38 QPCIBus *qpci_new_spapr(QTestState *qts, QGuestAllocator *alloc); 39 void qpci_free_spapr(QPCIBus *bus);
|
H A D | pci.c | 78 QPCIDevice *qpci_device_find(QPCIBus *bus, int devfn) in qpci_device_find() 211 int qpci_secondary_buses_init(QPCIBus *bus) in qpci_secondary_buses_init() 401 QPCIBus *bus = dev->bus; in qpci_io_readb() 415 QPCIBus *bus = dev->bus; in qpci_io_readw() 429 QPCIBus *bus = dev->bus; in qpci_io_readl() 443 QPCIBus *bus = dev->bus; in qpci_io_readq() 458 QPCIBus *bus = dev->bus; in qpci_io_writeb() 470 QPCIBus *bus = dev->bus; in qpci_io_writew() 483 QPCIBus *bus = dev->bus; in qpci_io_writel() 496 QPCIBus *bus = dev->bus; in qpci_io_writeq() [all …]
|
H A D | libqos.h | 12 QPCIBus *(*qpci_new)(QTestState *qts, QGuestAllocator *alloc); 13 void (*qpci_free)(QPCIBus *bus); 20 QPCIBus *pcibus;
|
H A D | virtio-pci.h | 58 void virtio_pci_init(QVirtioPCIDevice *dev, QPCIBus *bus, QPCIAddress * addr); 59 QVirtioPCIDevice *virtio_pci_new(QPCIBus *bus, QPCIAddress * addr);
|
H A D | usb.h | 11 void qusb_pci_init_one(QPCIBus *pcibus, struct qhc *hc,
|
H A D | generic-pcihost.h | 22 QPCIBus bus;
|
H A D | tpci200.c | 46 QPCIBus *bus = pci_bus; in tpci200_create()
|
H A D | usb.c | 19 void qusb_pci_init_one(QPCIBus *pcibus, struct qhc *hc, uint32_t devfn, int bar) in qusb_pci_init_one()
|
H A D | riscv-iommu.c | 46 QPCIBus *bus = pci_bus; in riscv_iommu_pci_create()
|
/openbmc/qemu/tests/qtest/ |
H A D | pvpanic-pci-test.c | 27 QPCIBus *pcibus; in test_panic_nopause() 60 QPCIBus *pcibus; in test_panic() 93 QPCIBus *pcibus; in test_pvshutdown()
|
H A D | q35-test.c | 84 QPCIBus *pcibus; in test_smram_lock() 130 QPCIBus *pcibus; in test_tseg_size() 195 QPCIBus *pcibus; in test_smram_smbase_lock() 259 QPCIBus *pcibus; in test_without_smram_base()
|
H A D | i440fx-test.c | 34 static QPCIBus *test_start_get_bus(const TestData *s) in test_start_get_bus() 47 QPCIBus *bus; in test_i440fx_defaults() 198 QPCIBus *bus; in test_i440fx_pam()
|
H A D | ne2000-test.c | 38 QPCIBus *bus = pci_bus; in ne2k_pci_create()
|
H A D | pcnet-test.c | 38 QPCIBus *bus = pci_bus; in pcnet_create()
|
H A D | vmxnet3-test.c | 38 QPCIBus *bus = pci_bus; in vmxnet3_create()
|
H A D | es1370-test.c | 38 QPCIBus *bus = pci_bus; in es1370_create()
|
H A D | e1000-test.c | 45 QPCIBus *bus = pci_bus; in e1000_create()
|
H A D | eepro100-test.c | 54 QPCIBus *bus = pci_bus; in eepro100_create()
|
H A D | ac97-test.c | 38 QPCIBus *bus = pci_bus; in ac97_create()
|
/openbmc/qemu/tests/qtest/fuzz/ |
H A D | i440fx_fuzz.c | 94 static void pciconfig_fuzz_qos(QTestState *s, QPCIBus *bus, in pciconfig_fuzz_qos() 139 static QPCIBus *bus; in i440fx_fuzz_qos()
|