Lines Matching refs:pnv_phb
119 static struct pnv_ioda_pe *pnv_ioda_init_pe(struct pnv_phb *phb, int pe_no) in pnv_ioda_init_pe()
141 static void pnv_ioda_reserve_pe(struct pnv_phb *phb, int pe_no) in pnv_ioda_reserve_pe()
158 struct pnv_ioda_pe *pnv_ioda_alloc_pe(struct pnv_phb *phb, int count) in pnv_ioda_alloc_pe()
192 struct pnv_phb *phb = pe->phb; in pnv_ioda_free_pe()
204 static int pnv_ioda2_init_m64(struct pnv_phb *phb) in pnv_ioda2_init_m64()
260 struct pnv_phb *phb = pci_bus_to_pnvhb(pdev->bus); in pnv_ioda_reserve_dev_m64_pe()
283 static int pnv_ioda1_init_m64(struct pnv_phb *phb) in pnv_ioda1_init_m64()
380 struct pnv_phb *phb = pci_bus_to_pnvhb(bus); in pnv_ioda_pick_m64_pe()
437 static void __init pnv_ioda_parse_m64_window(struct pnv_phb *phb) in pnv_ioda_parse_m64_window()
527 static void pnv_ioda_freeze_pe(struct pnv_phb *phb, int pe_no) in pnv_ioda_freeze_pe()
567 static int pnv_ioda_unfreeze_pe(struct pnv_phb *phb, int pe_no, int opt) in pnv_ioda_unfreeze_pe()
607 static int pnv_ioda_get_pe_state(struct pnv_phb *phb, int pe_no) in pnv_ioda_get_pe_state()
669 struct pnv_ioda_pe *pnv_pci_bdfn_to_pe(struct pnv_phb *phb, u16 bdfn) in pnv_pci_bdfn_to_pe()
681 struct pnv_phb *phb = pci_bus_to_pnvhb(dev->bus); in pnv_ioda_get_pe()
691 static int pnv_ioda_set_one_peltv(struct pnv_phb *phb, in pnv_ioda_set_one_peltv()
728 static int pnv_ioda_set_peltv(struct pnv_phb *phb, in pnv_ioda_set_peltv()
795 static void pnv_ioda_unset_peltv(struct pnv_phb *phb, in pnv_ioda_unset_peltv()
823 int pnv_ioda_deconfigure_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe) in pnv_ioda_deconfigure_pe()
894 int pnv_ioda_configure_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe) in pnv_ioda_configure_pe()
983 struct pnv_phb *phb = pci_bus_to_pnvhb(dev->bus); in pnv_ioda_setup_dev_PE()
1041 struct pnv_phb *phb = pci_bus_to_pnvhb(bus); in pnv_ioda_setup_bus_PE()
1100 static void pnv_pci_ioda1_setup_dma_pe(struct pnv_phb *phb,
1105 struct pnv_phb *phb = pci_bus_to_pnvhb(pdev->bus); in pnv_pci_ioda_dma_dev_setup()
1234 struct pnv_phb *phb = pci_bus_to_pnvhb(pdev->bus); in pnv_pci_ioda_iommu_bypass_supported()
1271 static inline __be64 __iomem *pnv_ioda_get_inval_reg(struct pnv_phb *phb) in pnv_ioda_get_inval_reg()
1391 struct pnv_phb *phb = pe->phb; in pnv_pci_ioda2_tce_invalidate_pe()
1408 struct pnv_phb *phb = pe->phb; in pnv_pci_ioda2_tce_invalidate()
1504 static void pnv_pci_ioda1_setup_dma_pe(struct pnv_phb *phb, in pnv_pci_ioda1_setup_dma_pe()
1633 struct pnv_phb *phb = pe->phb; in pnv_pci_ioda2_set_window()
1812 struct pnv_phb *phb = pe->phb; in pnv_pci_ioda2_unset_window()
1927 void pnv_pci_ioda2_setup_dma_pe(struct pnv_phb *phb, in pnv_pci_ioda2_setup_dma_pe()
1971 struct pnv_phb *phb = hose->private_data; in pnv_opal_pci_msi_eoi()
1984 struct pnv_phb *phb = hose->private_data; in pnv_ioda2_msi_eoi()
1993 void pnv_set_msi_irq_chip(struct pnv_phb *phb, unsigned int virq) in pnv_set_msi_irq_chip()
2029 static int __pnv_pci_ioda_msi_setup(struct pnv_phb *phb, struct pci_dev *dev, in __pnv_pci_ioda_msi_setup()
2146 struct pnv_phb *phb = hose->private_data; in pnv_msi_compose_msg()
2163 struct pnv_phb *phb = hose->private_data; in pnv_msi_eoi()
2209 struct pnv_phb *phb = hose->private_data; in pnv_irq_domain_alloc()
2247 struct pnv_phb *phb = hose->private_data; in pnv_irq_domain_free()
2263 struct pnv_phb *phb = hose->private_data; in pnv_msi_allocate_domains()
2294 static void __init pnv_pci_init_ioda_msis(struct pnv_phb *phb) in pnv_pci_init_ioda_msis()
2323 struct pnv_phb *phb = pe->phb; in pnv_ioda_setup_pe_res()
2414 struct pnv_phb *phb = data; in pnv_pci_diag_data_set()
2433 struct pnv_phb *phb = data; in pnv_pci_ioda_pe_dump()
2464 struct pnv_phb *phb; in pnv_pci_ioda_create_dbgfs()
2542 struct pnv_phb *phb = pci_bus_to_pnvhb(bus); in pnv_pci_window_alignment()
2582 struct pnv_phb *phb = hose->private_data; in pnv_pci_fixup_bridge_resources()
2698 struct pnv_phb *phb = pe->phb; in pnv_pci_ioda1_unset_window()
2769 struct pnv_phb *phb = pe->phb; in pnv_ioda_free_pe_seg()
2790 struct pnv_phb *phb = pe->phb; in pnv_ioda_release_pe_seg()
2806 struct pnv_phb *phb = pe->phb; in pnv_ioda_release_pe()
2853 struct pnv_phb *phb = pci_bus_to_pnvhb(pdev->bus); in pnv_pci_release_device()
2892 struct pnv_phb *phb = hose->private_data; in pnv_pci_ioda_shutdown()
2900 struct pnv_phb *phb = pci_bus_to_pnvhb(bus); in pnv_pci_ioda_dma_bus_setup()
2941 struct pnv_phb *phb; in pnv_pci_init_ioda_phb()
2977 memblock_free(phb, sizeof(struct pnv_phb)); in pnv_pci_init_ioda_phb()
3218 struct pnv_phb *phb = pci_bus_to_pnvhb(dev->bus); in pnv_npu2_opencapi_cfg_size_fixup()