Lines Matching refs:PCIDevice
42 PCIDevice *devices[256];
43 PCIDevice *parent_dev;
51 static void pci_update_mappings(PCIDevice *d);
111 static PCIBus *pci_register_secondary_bus(PCIDevice *dev, pci_map_irq_fn map_irq)
127 void pci_device_save(PCIDevice *s, QEMUFile *f)
137 int pci_device_load(PCIDevice *s, QEMUFile *f)
155 static int pci_set_default_subsystem_id(PCIDevice *pci_dev)
242 static PCIDevice *do_pci_register_device(PCIDevice *pci_dev, PCIBus *bus,
272 PCIDevice *pci_register_device(PCIBus *bus, const char *name,
277 PCIDevice *pci_dev;
289 static void pci_unregister_io_regions(PCIDevice *pci_dev)
308 int pci_unregister_device(PCIDevice *pci_dev)
325 void pci_register_bar(PCIDevice *pci_dev, int region_num,
354 static void pci_update_mappings(PCIDevice *d)
434 uint32_t pci_default_read_config(PCIDevice *d,
460 void pci_default_write_config(PCIDevice *d,
577 PCIDevice *pci_dev;
603 PCIDevice *pci_dev;
649 PCIDevice *pci_dev = (PCIDevice *)opaque;
717 static void pci_info_device(PCIDevice *d)
765 void pci_for_each_device(int bus_num, void (*fn)(PCIDevice *d))
768 PCIDevice *d;
812 PCIDevice *pci_nic_init(PCIBus *bus, NICInfo *nd, int devfn,
827 return (PCIDevice *)dev;
835 PCIDevice dev;
839 static void pci_bridge_write_config(PCIDevice *d,
866 PCIDevice *pci_find_device(int bus_num, int slot, int function)
909 PCIDevice *pci_dev = (PCIDevice *)qdev;
936 PCIDevice *pci_create_simple(PCIBus *bus, int devfn, const char *name)
944 return (PCIDevice *)dev;