| /openbmc/qemu/hw/pci-host/ |
| H A D | uninorth.c | 71 retval |= PCI_DEVFN(slot, func) << 8; in unin_get_config_reg() 127 PCI_DEVFN(11, 0), 4, TYPE_PCI_BUS); in pci_unin_main_realize() 129 pci_create_simple(h->bus, PCI_DEVFN(11, 0), "uni-north-pci"); in pci_unin_main_realize() 177 PCI_DEVFN(11, 0), 4, TYPE_PCI_BUS); in pci_u3_agp_realize() 179 pci_create_simple(h->bus, PCI_DEVFN(11, 0), "u3-agp"); in pci_u3_agp_realize() 221 PCI_DEVFN(11, 0), 4, TYPE_PCI_BUS); in pci_unin_agp_realize() 223 pci_create_simple(h->bus, PCI_DEVFN(11, 0), "uni-north-agp"); in pci_unin_agp_realize() 254 PCI_DEVFN(14, 0), 4, TYPE_PCI_BUS); in pci_unin_internal_realize() 256 pci_create_simple(h->bus, PCI_DEVFN(14, 0), "uni-north-internal-pci"); in pci_unin_internal_realize()
|
| H A D | articia.c | 187 &s->io, PCI_DEVFN(8, 0), 4, TYPE_PCI_BUS); in articia_realize() 188 pdev = pci_create_simple_multifunction(h->bus, PCI_DEVFN(0, 0), in articia_realize() 191 pci_create_simple(h->bus, PCI_DEVFN(0, 1), TYPE_ARTICIA_PCI_BRIDGE); in articia_realize()
|
| H A D | sh_pci.c | 133 PCI_DEVFN(0, 0), PCI_NUM_PINS, in sh_pcic_host_realize() 145 s->dev = pci_create_simple(phb->bus, PCI_DEVFN(0, 0), "sh_pci_host"); in sh_pcic_host_realize()
|
| H A D | sabre.c | 394 pci_dev = pci_new_multifunction(PCI_DEVFN(1, 0), TYPE_SIMBA_PCI_BRIDGE); in sabre_realize() 399 pci_dev = pci_new_multifunction(PCI_DEVFN(1, 1), TYPE_SIMBA_PCI_BRIDGE); in sabre_realize()
|
| H A D | gpex.c | 214 qdev_prop_set_int32(DEVICE(root), "addr", PCI_DEVFN(0, 0)); in gpex_host_initfn()
|
| H A D | xilinx-pcie.c | 155 qdev_prop_set_int32(DEVICE(root), "addr", PCI_DEVFN(0, 0)); in xilinx_pcie_host_init()
|
| H A D | pnv_phb.c | 170 PCIDevice *root = pci_new(PCI_DEVFN(0, 0), TYPE_PNV_PHB_ROOT_PORT); in pnv_phb_realize()
|
| H A D | versatile.c | 410 PCI_DEVFN(11, 0), TYPE_PCI_BUS); in pci_vpb_realize()
|
| H A D | dino.c | 440 PCI_DEVFN(0, 0), 32, TYPE_PCI_BUS); in dino_pcihost_realize()
|
| H A D | gt64120.c | 1205 PCI_DEVFN(18, 0), TYPE_PCI_BUS); in gt64120_realize() 1207 pci_create_simple(phb->bus, PCI_DEVFN(0, 0), "gt64120_pci"); in gt64120_realize()
|
| H A D | ppc440_pcix.c | 501 PCI_DEVFN(1, 0), 1, TYPE_PCI_BUS); in ppc440_pcix_realize()
|
| H A D | ppce500.c | 467 PCI_DEVFN(s->first_slot, 0), 4, TYPE_PCI_BUS); in e500_pcihost_realize()
|
| H A D | designware.c | 750 qdev_prop_set_int32(DEVICE(root), "addr", PCI_DEVFN(0, 0)); in designware_pcie_host_init()
|
| H A D | astro.c | 459 PCI_DEVFN(0, 0), ELROY_IRQS, TYPE_PCI_BUS); in elroy_pcihost_realize()
|
| /openbmc/qemu/hw/pci/ |
| H A D | shpc.c | 245 if (shpc->sec_bus->devices[PCI_DEVFN(SHPC_IDX_TO_PCI(i), 0)]) { in shpc_reset() 277 for (devfn = PCI_DEVFN(pci_slot, 0); in shpc_free_devices_in_slot() 278 devfn <= PCI_DEVFN(pci_slot, PCI_FUNC_MAX - 1); in shpc_free_devices_in_slot() 338 DEVICE(shpc->sec_bus->devices[PCI_DEVFN(pci_slot, 0)]); in shpc_slot_command()
|
| /openbmc/qemu/hw/xen/ |
| H A D | xen_pt.h | 97 (1UL << PCI_SLOT(PCI_DEVFN(XEN_PCI_IGD_DEV, XEN_PCI_IGD_FN)))
|
| H A D | xen_pt_graphics.c | 401 bridge_dev = pci_create_simple(bus, PCI_DEVFN(0x1f, 0), in type_init()
|
| /openbmc/u-boot/include/ |
| H A D | pci.h | 514 #define PCI_DEVFN(d, f) ((d) << 11 | (f) << 8) macro 518 #define PCI_BDF(b, d, f) ((b) << 16 | PCI_DEVFN(d, f))
|
| /openbmc/qemu/hw/acpi/ |
| H A D | pcihp.c | 806 int32_t devfn = PCI_DEVFN(slot, 0); in build_append_pcihp_notify_entry()
|