bdfn 137 arch/powerpc/include/asm/eeh.h int bdfn; /* bdfn of device (for cfg ops) */ bdfn 157 arch/powerpc/include/asm/eeh.h (edev)->controller->global_number, PCI_BUSNO((edev)->bdfn), \ bdfn 158 arch/powerpc/include/asm/eeh.h PCI_SLOT((edev)->bdfn), PCI_FUNC((edev)->bdfn), \ bdfn 36 arch/powerpc/include/asm/opal.h int64_t opal_npu_spa_setup(uint64_t phb_id, uint32_t bdfn, bdfn 38 arch/powerpc/include/asm/opal.h int64_t opal_npu_spa_clear_cache(uint64_t phb_id, uint32_t bdfn, bdfn 40 arch/powerpc/include/asm/opal.h int64_t opal_npu_tl_set(uint64_t phb_id, uint32_t bdfn, long cap, bdfn 16 arch/powerpc/include/asm/pnv-pci.h #define PCI_SLOT_ID(phb_id, bdfn) \ bdfn 17 arch/powerpc/include/asm/pnv-pci.h (PCI_SLOT_ID_PREFIX | ((uint64_t)(bdfn) << 16) | (phb_id)) bdfn 72 arch/powerpc/include/asm/ppc-pci.h #define PCI_BUSNO(bdfn) ((bdfn >> 8) & 0xff) bdfn 50 arch/powerpc/kernel/eeh_dev.c edev->bdfn = (pdn->busno << 8) | pdn->devfn; bdfn 436 arch/powerpc/platforms/powernv/ocxl.c u32 bdfn; bdfn 445 arch/powerpc/platforms/powernv/ocxl.c u32 bdfn; bdfn 452 arch/powerpc/platforms/powernv/ocxl.c bdfn = (dev->bus->number << 8) | dev->devfn; bdfn 453 arch/powerpc/platforms/powernv/ocxl.c rc = opal_npu_spa_setup(phb->opal_id, bdfn, virt_to_phys(spa_mem), bdfn 461 arch/powerpc/platforms/powernv/ocxl.c data->bdfn = bdfn; bdfn 472 arch/powerpc/platforms/powernv/ocxl.c rc = opal_npu_spa_setup(data->phb_opal_id, data->bdfn, 0, 0); bdfn 483 arch/powerpc/platforms/powernv/ocxl.c rc = opal_npu_spa_clear_cache(data->phb_opal_id, data->bdfn, pe_handle); bdfn 42 arch/powerpc/platforms/powernv/pci.c u32 bdfn; bdfn 46 arch/powerpc/platforms/powernv/pci.c ret = of_property_read_u32(np, "reg", &bdfn); bdfn 50 arch/powerpc/platforms/powernv/pci.c bdfn = ((bdfn & 0x00ffff00) >> 8); bdfn 69 arch/powerpc/platforms/powernv/pci.c *id = PCI_SLOT_ID(phbid, bdfn); bdfn 655 arch/powerpc/platforms/powernv/pci.c u32 bdfn = (pdn->busno << 8) | pdn->devfn; bdfn 661 arch/powerpc/platforms/powernv/pci.c rc = opal_pci_config_read_byte(phb->opal_id, bdfn, where, &v8); bdfn 667 arch/powerpc/platforms/powernv/pci.c rc = opal_pci_config_read_half_word(phb->opal_id, bdfn, where, bdfn 674 arch/powerpc/platforms/powernv/pci.c rc = opal_pci_config_read_word(phb->opal_id, bdfn, where, &v32); bdfn 691 arch/powerpc/platforms/powernv/pci.c u32 bdfn = (pdn->busno << 8) | pdn->devfn; bdfn 697 arch/powerpc/platforms/powernv/pci.c opal_pci_config_write_byte(phb->opal_id, bdfn, where, val); bdfn 700 arch/powerpc/platforms/powernv/pci.c opal_pci_config_write_half_word(phb->opal_id, bdfn, where, val); bdfn 703 arch/powerpc/platforms/powernv/pci.c opal_pci_config_write_word(phb->opal_id, bdfn, where, val);