Lines Matching full:bridge

43 /* PCI bridge subsystem vendor ID helper functions */
65 /* Accessor function to get parent bridge device from pci bus. */
71 /* Accessor function to get secondary bus from pci-to-pci bridge device */
109 /* accessor function to get bridge filtering base address */
110 pcibus_t pci_bridge_get_base(const PCIDevice *bridge, uint8_t type) in pci_bridge_get_base() argument
114 base = pci_config_get_io_base(bridge, in pci_bridge_get_base()
119 bridge, PCI_PREF_MEMORY_BASE, PCI_PREF_BASE_UPPER32); in pci_bridge_get_base()
121 base = pci_config_get_memory_base(bridge, PCI_MEMORY_BASE); in pci_bridge_get_base()
128 /* accessor function to get bridge filtering limit */
129 pcibus_t pci_bridge_get_limit(const PCIDevice *bridge, uint8_t type) in pci_bridge_get_limit() argument
133 limit = pci_config_get_io_base(bridge, in pci_bridge_get_limit()
135 limit |= 0xfff; /* PCI bridge spec 3.2.5.6. */ in pci_bridge_get_limit()
139 bridge, PCI_PREF_MEMORY_LIMIT, PCI_PREF_LIMIT_UPPER32); in pci_bridge_get_limit()
141 limit = pci_config_get_memory_base(bridge, PCI_MEMORY_LIMIT); in pci_bridge_get_limit()
143 limit |= 0xfffff; /* PCI bridge spec 3.2.5.{1, 8}. */ in pci_bridge_get_limit()
148 static void pci_bridge_init_alias(PCIBridge *bridge, MemoryRegion *alias, in pci_bridge_init_alias() argument
154 PCIDevice *bridge_dev = PCI_DEVICE(bridge); in pci_bridge_init_alias()
161 memory_region_init_alias(alias, OBJECT(bridge), name, space, base, size); in pci_bridge_init_alias()
242 /* Make updates atomic to: handle the case of one VCPU updating the bridge in pci_bridge_update_mappings()
251 /* default write_config function for PCI-to-PCI bridge */
302 /* reset bridge specific configuration registers */
315 * in the PCI-to-PCI-bridge spec. So we don't touch them here. in pci_bridge_reset()
341 /* default qdev initialization function for PCI-to-PCI bridge */
352 * TODO: We implement VGA Enable in the Bridge Control Register in pci_bridge_initfn()
353 * therefore per the PCI to PCI bridge spec we must also implement in pci_bridge_initfn()
370 * Since PCI Bridge devices have a single bus each, we don't need the index: in pci_bridge_initfn()
399 /* default qdev clean up function for PCI-to-PCI bridge */