Searched refs:phb_id (Results 1 – 4 of 4) sorted by relevance
/linux/arch/powerpc/include/asm/ |
A D | opal.h | 31 int64_t opal_npu_map_lpar(uint64_t phb_id, uint64_t bdf, uint64_t lparid, 33 int64_t opal_npu_spa_setup(uint64_t phb_id, uint32_t bdfn, 35 int64_t opal_npu_spa_clear_cache(uint64_t phb_id, uint32_t bdfn, 37 int64_t opal_npu_tl_set(uint64_t phb_id, uint32_t bdfn, long cap, 88 int64_t opal_pci_eeh_freeze_set(uint64_t phb_id, uint64_t pe_number, 122 int64_t opal_pci_msi_eoi(uint64_t phb_id, uint32_t hw_irq); 123 int64_t opal_pci_set_xive_pe(uint64_t phb_id, uint32_t pe_number, 125 int64_t opal_get_xive_source(uint64_t phb_id, uint32_t xive_num, 130 int64_t opal_get_msi_64(uint64_t phb_id, uint32_t mve_number, 150 int64_t opal_pci_fence_phb(uint64_t phb_id); [all …]
|
A D | pnv-pci.h | 16 #define PCI_SLOT_ID(phb_id, bdfn) \ argument 17 (PCI_SLOT_ID_PREFIX | ((uint64_t)(bdfn) << 16) | (phb_id)) 18 #define PCI_PHB_SLOT_ID(phb_id) (phb_id) argument
|
/linux/arch/powerpc/kernel/ |
A D | pci-common.c | 76 int ret, phb_id = -1; in get_phb_number() local 92 phb_id = (int)(prop & (MAX_PHBS - 1)); in get_phb_number() 95 if ((phb_id >= 0) && !test_and_set_bit(phb_id, phb_bitmap)) in get_phb_number() 96 return phb_id; in get_phb_number() 102 phb_id = find_first_zero_bit(phb_bitmap, MAX_PHBS); in get_phb_number() 103 BUG_ON(phb_id >= MAX_PHBS); in get_phb_number() 104 set_bit(phb_id, phb_bitmap); in get_phb_number() 106 return phb_id; in get_phb_number()
|
/linux/arch/powerpc/platforms/powernv/ |
A D | pci-ioda.c | 2957 u64 phb_id; in pnv_pci_init_ioda_phb() local 2971 phb_id = be64_to_cpup(prop64); in pnv_pci_init_ioda_phb() 2972 pr_debug(" PHB-ID : 0x%016llx\n", phb_id); in pnv_pci_init_ioda_phb() 3000 phb->opal_id = phb_id; in pnv_pci_init_ioda_phb() 3129 rc = opal_pci_set_phb_mem_window(opal->phb_id, in pnv_pci_init_ioda_phb() 3185 rc = opal_pci_reset(phb_id, OPAL_RESET_PCI_IODA_TABLE, OPAL_ASSERT_RESET); in pnv_pci_init_ioda_phb()
|
Completed in 16 milliseconds