Searched refs:phb_id (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | opal.h | 31 int64_t opal_npu_destroy_context(uint64_t phb_id, uint64_t pid, uint64_t bdf); 32 int64_t opal_npu_init_context(uint64_t phb_id, int pasid, uint64_t msr, 34 int64_t opal_npu_map_lpar(uint64_t phb_id, uint64_t bdf, uint64_t lparid, 36 int64_t opal_npu_spa_setup(uint64_t phb_id, uint32_t bdfn, 38 int64_t opal_npu_spa_clear_cache(uint64_t phb_id, uint32_t bdfn, 40 int64_t opal_npu_tl_set(uint64_t phb_id, uint32_t bdfn, long cap, 66 int64_t opal_pci_set_phb_tce_memory(uint64_t phb_id, uint64_t tce_mem_addr, 68 int64_t opal_pci_config_read_byte(uint64_t phb_id, uint64_t bus_dev_func, 70 int64_t opal_pci_config_read_half_word(uint64_t phb_id, uint64_t bus_dev_func, 72 int64_t opal_pci_config_read_word(uint64_t phb_id, uint64_ [all...] |
H A D | pnv-pci.h | 16 #define PCI_SLOT_ID(phb_id, bdfn) \ 17 (PCI_SLOT_ID_PREFIX | ((uint64_t)(bdfn) << 16) | (phb_id)) 18 #define PCI_PHB_SLOT_ID(phb_id) (phb_id)
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H 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, 63 int64_t opal_pci_set_phb_tce_memory(uint64_t phb_id, uint64_t tce_mem_addr, 65 int64_t opal_pci_config_read_byte(uint64_t phb_id, uint64_t bus_dev_func, 67 int64_t opal_pci_config_read_half_word(uint64_t phb_id, uint64_t bus_dev_func, 69 int64_t opal_pci_config_read_word(uint64_t phb_id, uint64_t bus_dev_func, 71 int64_t opal_pci_config_write_byte(uint64_t phb_id, uint64_t bus_dev_func, 73 int64_t opal_pci_config_write_half_word(uint64_t phb_id, uint64_ [all...] |
H A D | pnv-pci.h | 17 #define PCI_SLOT_ID(phb_id, bdfn) \ 18 (PCI_SLOT_ID_PREFIX | ((uint64_t)(bdfn) << 16) | (phb_id)) 19 #define PCI_PHB_SLOT_ID(phb_id) (phb_id)
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | pci-common.c | 71 int ret, phb_id = -1; in get_phb_number() local 103 phb_id = (int)(prop & (MAX_PHBS - 1)); in get_phb_number() 108 if ((phb_id >= 0) && !test_and_set_bit(phb_id, phb_bitmap)) in get_phb_number() 112 phb_id = find_first_zero_bit(phb_bitmap, MAX_PHBS); in get_phb_number() 113 BUG_ON(phb_id >= MAX_PHBS); in get_phb_number() 114 set_bit(phb_id, phb_bitmap); in get_phb_number() 119 return phb_id; in get_phb_number()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | pci-common.c | 73 int ret, phb_id = -1; in get_phb_number() local 105 phb_id = (int)(prop & (MAX_PHBS - 1)); in get_phb_number() 110 if ((phb_id >= 0) && !test_and_set_bit(phb_id, phb_bitmap)) in get_phb_number() 114 phb_id = find_first_zero_bit(phb_bitmap, MAX_PHBS); in get_phb_number() 115 BUG_ON(phb_id >= MAX_PHBS); in get_phb_number() 116 set_bit(phb_id, phb_bitmap); in get_phb_number() 121 return phb_id; in get_phb_number()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
H A D | pci-ioda.c | 2923 u64 phb_id; in pnv_pci_init_ioda_phb() local 2937 phb_id = be64_to_cpup(prop64); in pnv_pci_init_ioda_phb() 2938 pr_debug(" PHB-ID : 0x%016llx\n", phb_id); in pnv_pci_init_ioda_phb() 2966 phb->opal_id = phb_id; in pnv_pci_init_ioda_phb() 3098 rc = opal_pci_set_phb_mem_window(opal->phb_id, in pnv_pci_init_ioda_phb() 3157 rc = opal_pci_reset(phb_id, OPAL_RESET_PCI_IODA_TABLE, OPAL_ASSERT_RESET); in pnv_pci_init_ioda_phb()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/ |
H A D | pci-ioda.c | 2575 u64 phb_id; in pnv_pci_init_ioda_phb() local 2589 phb_id = be64_to_cpup(prop64); in pnv_pci_init_ioda_phb() 2590 pr_debug(" PHB-ID : 0x%016llx\n", phb_id); in pnv_pci_init_ioda_phb() 2618 phb->opal_id = phb_id; in pnv_pci_init_ioda_phb() 2723 rc = opal_pci_set_phb_mem_window(opal->phb_id, in pnv_pci_init_ioda_phb() 2779 rc = opal_pci_reset(phb_id, OPAL_RESET_PCI_IODA_TABLE, OPAL_ASSERT_RESET); in pnv_pci_init_ioda_phb()
|
Completed in 14 milliseconds