Home
last modified time | relevance | path

Searched refs:PCI_DEVFN (Results 1 – 19 of 19) sorted by relevance

/openbmc/qemu/hw/pci-host/
H A Duninorth.c71 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 Darticia.c187 &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 Dsh_pci.c133 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 Dsabre.c394 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 Dgpex.c214 qdev_prop_set_int32(DEVICE(root), "addr", PCI_DEVFN(0, 0)); in gpex_host_initfn()
H A Dxilinx-pcie.c155 qdev_prop_set_int32(DEVICE(root), "addr", PCI_DEVFN(0, 0)); in xilinx_pcie_host_init()
H A Dpnv_phb.c170 PCIDevice *root = pci_new(PCI_DEVFN(0, 0), TYPE_PNV_PHB_ROOT_PORT); in pnv_phb_realize()
H A Dversatile.c410 PCI_DEVFN(11, 0), TYPE_PCI_BUS); in pci_vpb_realize()
H A Ddino.c440 PCI_DEVFN(0, 0), 32, TYPE_PCI_BUS); in dino_pcihost_realize()
H A Dgt64120.c1205 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 Dppc440_pcix.c501 PCI_DEVFN(1, 0), 1, TYPE_PCI_BUS); in ppc440_pcix_realize()
H A Dppce500.c467 PCI_DEVFN(s->first_slot, 0), 4, TYPE_PCI_BUS); in e500_pcihost_realize()
H A Ddesignware.c750 qdev_prop_set_int32(DEVICE(root), "addr", PCI_DEVFN(0, 0)); in designware_pcie_host_init()
H A Dastro.c459 PCI_DEVFN(0, 0), ELROY_IRQS, TYPE_PCI_BUS); in elroy_pcihost_realize()
/openbmc/qemu/hw/pci/
H A Dshpc.c245 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 Dxen_pt.h97 (1UL << PCI_SLOT(PCI_DEVFN(XEN_PCI_IGD_DEV, XEN_PCI_IGD_FN)))
H A Dxen_pt_graphics.c401 bridge_dev = pci_create_simple(bus, PCI_DEVFN(0x1f, 0), in type_init()
/openbmc/u-boot/include/
H A Dpci.h514 #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 Dpcihp.c806 int32_t devfn = PCI_DEVFN(slot, 0); in build_append_pcihp_notify_entry()