Home
last modified time | relevance | path

Searched refs:QPCIBus (Results 1 – 25 of 43) sorted by relevance

12

/openbmc/qemu/tests/qtest/libqos/
H A Dpci.h22 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 Dpci-pc.c24 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 Dpci-spapr.c25 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 Dgeneric-pcihost.c42 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 Dpci-pc.h22 QPCIBus bus;
45 QPCIBus *qpci_new_pc(QTestState *qts, QGuestAllocator *alloc);
47 void qpci_free_pc(QPCIBus *bus);
H A Dpci-spapr.h24 QPCIBus bus;
38 QPCIBus *qpci_new_spapr(QTestState *qts, QGuestAllocator *alloc);
39 void qpci_free_spapr(QPCIBus *bus);
H A Dpci.c78 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 Dlibqos.h12 QPCIBus *(*qpci_new)(QTestState *qts, QGuestAllocator *alloc);
13 void (*qpci_free)(QPCIBus *bus);
20 QPCIBus *pcibus;
H A Dvirtio-pci.h58 void virtio_pci_init(QVirtioPCIDevice *dev, QPCIBus *bus, QPCIAddress * addr);
59 QVirtioPCIDevice *virtio_pci_new(QPCIBus *bus, QPCIAddress * addr);
H A Dusb.h11 void qusb_pci_init_one(QPCIBus *pcibus, struct qhc *hc,
H A Dgeneric-pcihost.h22 QPCIBus bus;
H A Dtpci200.c46 QPCIBus *bus = pci_bus; in tpci200_create()
H A Dusb.c19 void qusb_pci_init_one(QPCIBus *pcibus, struct qhc *hc, uint32_t devfn, int bar) in qusb_pci_init_one()
H A Driscv-iommu.c46 QPCIBus *bus = pci_bus; in riscv_iommu_pci_create()
/openbmc/qemu/tests/qtest/
H A Dpvpanic-pci-test.c27 QPCIBus *pcibus; in test_panic_nopause()
60 QPCIBus *pcibus; in test_panic()
93 QPCIBus *pcibus; in test_pvshutdown()
H A Dq35-test.c84 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 Di440fx-test.c34 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 Dne2000-test.c38 QPCIBus *bus = pci_bus; in ne2k_pci_create()
H A Dpcnet-test.c38 QPCIBus *bus = pci_bus; in pcnet_create()
H A Dvmxnet3-test.c38 QPCIBus *bus = pci_bus; in vmxnet3_create()
H A Des1370-test.c38 QPCIBus *bus = pci_bus; in es1370_create()
H A De1000-test.c45 QPCIBus *bus = pci_bus; in e1000_create()
H A Deepro100-test.c54 QPCIBus *bus = pci_bus; in eepro100_create()
H A Dac97-test.c38 QPCIBus *bus = pci_bus; in ac97_create()
/openbmc/qemu/tests/qtest/fuzz/
H A Di440fx_fuzz.c94 static void pciconfig_fuzz_qos(QTestState *s, QPCIBus *bus, in pciconfig_fuzz_qos()
139 static QPCIBus *bus; in i440fx_fuzz_qos()

12