phb_id 31 arch/powerpc/include/asm/opal.h int64_t opal_npu_destroy_context(uint64_t phb_id, uint64_t pid, uint64_t bdf); phb_id 32 arch/powerpc/include/asm/opal.h int64_t opal_npu_init_context(uint64_t phb_id, int pasid, uint64_t msr, phb_id 34 arch/powerpc/include/asm/opal.h int64_t opal_npu_map_lpar(uint64_t phb_id, uint64_t bdf, uint64_t lparid, phb_id 36 arch/powerpc/include/asm/opal.h int64_t opal_npu_spa_setup(uint64_t phb_id, uint32_t bdfn, phb_id 38 arch/powerpc/include/asm/opal.h int64_t opal_npu_spa_clear_cache(uint64_t phb_id, uint32_t bdfn, phb_id 40 arch/powerpc/include/asm/opal.h int64_t opal_npu_tl_set(uint64_t phb_id, uint32_t bdfn, long cap, phb_id 66 arch/powerpc/include/asm/opal.h int64_t opal_pci_set_phb_tce_memory(uint64_t phb_id, uint64_t tce_mem_addr, phb_id 68 arch/powerpc/include/asm/opal.h int64_t opal_pci_config_read_byte(uint64_t phb_id, uint64_t bus_dev_func, phb_id 70 arch/powerpc/include/asm/opal.h int64_t opal_pci_config_read_half_word(uint64_t phb_id, uint64_t bus_dev_func, phb_id 72 arch/powerpc/include/asm/opal.h int64_t opal_pci_config_read_word(uint64_t phb_id, uint64_t bus_dev_func, phb_id 74 arch/powerpc/include/asm/opal.h int64_t opal_pci_config_write_byte(uint64_t phb_id, uint64_t bus_dev_func, phb_id 76 arch/powerpc/include/asm/opal.h int64_t opal_pci_config_write_half_word(uint64_t phb_id, uint64_t bus_dev_func, phb_id 78 arch/powerpc/include/asm/opal.h int64_t opal_pci_config_write_word(uint64_t phb_id, uint64_t bus_dev_func, phb_id 85 arch/powerpc/include/asm/opal.h int64_t opal_pci_eeh_freeze_status(uint64_t phb_id, uint64_t pe_number, phb_id 89 arch/powerpc/include/asm/opal.h int64_t opal_pci_eeh_freeze_clear(uint64_t phb_id, uint64_t pe_number, phb_id 91 arch/powerpc/include/asm/opal.h int64_t opal_pci_eeh_freeze_set(uint64_t phb_id, uint64_t pe_number, phb_id 93 arch/powerpc/include/asm/opal.h int64_t opal_pci_err_inject(uint64_t phb_id, uint32_t pe_no, uint32_t type, phb_id 95 arch/powerpc/include/asm/opal.h int64_t opal_pci_shpc(uint64_t phb_id, uint64_t shpc_action, uint8_t *state); phb_id 99 arch/powerpc/include/asm/opal.h int64_t opal_pci_phb_mmio_enable(uint64_t phb_id, uint16_t window_type, phb_id 101 arch/powerpc/include/asm/opal.h int64_t opal_pci_set_phb_mem_window(uint64_t phb_id, uint16_t window_type, phb_id 106 arch/powerpc/include/asm/opal.h int64_t opal_pci_map_pe_mmio_window(uint64_t phb_id, uint16_t pe_number, phb_id 109 arch/powerpc/include/asm/opal.h int64_t opal_pci_set_phb_table_memory(uint64_t phb_id, uint64_t rtt_addr, phb_id 113 arch/powerpc/include/asm/opal.h int64_t opal_pci_set_pe(uint64_t phb_id, uint64_t pe_number, uint64_t bus_dev_func, phb_id 116 arch/powerpc/include/asm/opal.h int64_t opal_pci_set_peltv(uint64_t phb_id, uint32_t parent_pe, uint32_t child_pe, phb_id 118 arch/powerpc/include/asm/opal.h int64_t opal_pci_set_mve(uint64_t phb_id, uint32_t mve_number, uint32_t pe_number); phb_id 119 arch/powerpc/include/asm/opal.h int64_t opal_pci_set_mve_enable(uint64_t phb_id, uint32_t mve_number, phb_id 121 arch/powerpc/include/asm/opal.h int64_t opal_pci_get_xive_reissue(uint64_t phb_id, uint32_t xive_number, phb_id 123 arch/powerpc/include/asm/opal.h int64_t opal_pci_set_xive_reissue(uint64_t phb_id, uint32_t xive_number, phb_id 125 arch/powerpc/include/asm/opal.h int64_t opal_pci_msi_eoi(uint64_t phb_id, uint32_t hw_irq); phb_id 126 arch/powerpc/include/asm/opal.h int64_t opal_pci_set_xive_pe(uint64_t phb_id, uint32_t pe_number, phb_id 128 arch/powerpc/include/asm/opal.h int64_t opal_get_xive_source(uint64_t phb_id, uint32_t xive_num, phb_id 130 arch/powerpc/include/asm/opal.h int64_t opal_get_msi_32(uint64_t phb_id, uint32_t mve_number, uint32_t xive_num, phb_id 133 arch/powerpc/include/asm/opal.h int64_t opal_get_msi_64(uint64_t phb_id, uint32_t mve_number, phb_id 139 arch/powerpc/include/asm/opal.h int64_t opal_pci_map_pe_dma_window(uint64_t phb_id, uint16_t pe_number, uint16_t window_id, phb_id 142 arch/powerpc/include/asm/opal.h int64_t opal_pci_map_pe_dma_window_real(uint64_t phb_id, uint16_t pe_number, phb_id 149 arch/powerpc/include/asm/opal.h int64_t opal_pci_get_phb_diag_data(uint64_t phb_id, void *diag_buffer, phb_id 151 arch/powerpc/include/asm/opal.h int64_t opal_pci_get_phb_diag_data2(uint64_t phb_id, void *diag_buffer, phb_id 153 arch/powerpc/include/asm/opal.h int64_t opal_pci_fence_phb(uint64_t phb_id); phb_id 154 arch/powerpc/include/asm/opal.h int64_t opal_pci_reinit(uint64_t phb_id, uint64_t reinit_scope, uint64_t data); phb_id 155 arch/powerpc/include/asm/opal.h int64_t opal_pci_mask_pe_error(uint64_t phb_id, uint16_t pe_number, uint8_t error_type, uint8_t mask_action); phb_id 156 arch/powerpc/include/asm/opal.h int64_t opal_set_slot_led_status(uint64_t phb_id, uint64_t slot_id, uint8_t led_type, uint8_t led_action); phb_id 160 arch/powerpc/include/asm/opal.h int64_t opal_pci_next_error(uint64_t phb_id, __be64 *first_frozen_pe, phb_id 208 arch/powerpc/include/asm/opal.h int64_t opal_pci_set_phb_cxl_mode(uint64_t phb_id, uint64_t mode, uint64_t pe_number); phb_id 209 arch/powerpc/include/asm/opal.h int64_t opal_pci_get_pbcq_tunnel_bar(uint64_t phb_id, uint64_t *addr); phb_id 210 arch/powerpc/include/asm/opal.h int64_t opal_pci_set_pbcq_tunnel_bar(uint64_t phb_id, uint64_t addr); phb_id 240 arch/powerpc/include/asm/opal.h int64_t opal_pci_tce_kill(uint64_t phb_id, uint32_t kill_type, phb_id 16 arch/powerpc/include/asm/pnv-pci.h #define PCI_SLOT_ID(phb_id, bdfn) \ phb_id 17 arch/powerpc/include/asm/pnv-pci.h (PCI_SLOT_ID_PREFIX | ((uint64_t)(bdfn) << 16) | (phb_id)) phb_id 75 arch/powerpc/kernel/pci-common.c int ret, phb_id = -1; phb_id 91 arch/powerpc/kernel/pci-common.c phb_id = (int)(prop & (MAX_PHBS - 1)); phb_id 94 arch/powerpc/kernel/pci-common.c if ((phb_id >= 0) && !test_and_set_bit(phb_id, phb_bitmap)) phb_id 95 arch/powerpc/kernel/pci-common.c return phb_id; phb_id 101 arch/powerpc/kernel/pci-common.c phb_id = find_first_zero_bit(phb_bitmap, MAX_PHBS); phb_id 102 arch/powerpc/kernel/pci-common.c BUG_ON(phb_id >= MAX_PHBS); phb_id 103 arch/powerpc/kernel/pci-common.c set_bit(phb_id, phb_bitmap); phb_id 105 arch/powerpc/kernel/pci-common.c return phb_id; phb_id 3673 arch/powerpc/platforms/powernv/pci-ioda.c u64 phb_id; phb_id 3687 arch/powerpc/platforms/powernv/pci-ioda.c phb_id = be64_to_cpup(prop64); phb_id 3688 arch/powerpc/platforms/powernv/pci-ioda.c pr_debug(" PHB-ID : 0x%016llx\n", phb_id); phb_id 3716 arch/powerpc/platforms/powernv/pci-ioda.c phb->opal_id = phb_id; phb_id 3846 arch/powerpc/platforms/powernv/pci-ioda.c rc = opal_pci_set_phb_mem_window(opal->phb_id, phb_id 3906 arch/powerpc/platforms/powernv/pci-ioda.c rc = opal_pci_reset(phb_id, OPAL_RESET_PCI_IODA_TABLE, OPAL_ASSERT_RESET);