Home
last modified time | relevance | path

Searched refs:pnv_phb (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/arch/powerpc/platforms/powernv/
Dpci.h58 struct pnv_phb;
61 struct pnv_phb *phb;
113 struct pnv_phb { struct
133 int (*msi_setup)(struct pnv_phb *phb, struct pci_dev *dev, argument
136 int (*init_m64)(struct pnv_phb *phb); argument
137 int (*get_pe_state)(struct pnv_phb *phb, int pe_no); argument
138 void (*freeze_pe)(struct pnv_phb *phb, int pe_no); argument
139 int (*unfreeze_pe)(struct pnv_phb *phb, int pe_no, int opt); argument
201 static inline bool pnv_pci_is_m64(struct pnv_phb *phb, struct resource *r) in pnv_pci_is_m64() argument
221 int pnv_ioda_configure_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe);
[all …]
Dpci-cxl.c15 struct pnv_phb *phb = hose->private_data; in pnv_phb_to_cxl_mode()
41 struct pnv_phb *phb = hose->private_data; in pnv_cxl_alloc_hwirqs()
56 struct pnv_phb *phb = hose->private_data; in pnv_cxl_release_hwirqs()
66 struct pnv_phb *phb = hose->private_data; in pnv_cxl_release_hwirq_ranges()
86 struct pnv_phb *phb = hose->private_data; in pnv_cxl_alloc_hwirq_ranges()
122 struct pnv_phb *phb = hose->private_data; in pnv_cxl_get_irq_count()
132 struct pnv_phb *phb = hose->private_data; in pnv_cxl_ioda_msi_setup()
Dpci-ioda.c118 static struct pnv_ioda_pe *pnv_ioda_init_pe(struct pnv_phb *phb, int pe_no) in pnv_ioda_init_pe()
140 static void pnv_ioda_reserve_pe(struct pnv_phb *phb, int pe_no) in pnv_ioda_reserve_pe()
157 struct pnv_ioda_pe *pnv_ioda_alloc_pe(struct pnv_phb *phb, int count) in pnv_ioda_alloc_pe()
191 struct pnv_phb *phb = pe->phb; in pnv_ioda_free_pe()
205 static int pnv_ioda2_init_m64(struct pnv_phb *phb) in pnv_ioda2_init_m64()
261 struct pnv_phb *phb = pci_bus_to_pnvhb(pdev->bus); in pnv_ioda_reserve_dev_m64_pe()
284 static int pnv_ioda1_init_m64(struct pnv_phb *phb) in pnv_ioda1_init_m64()
381 struct pnv_phb *phb = pci_bus_to_pnvhb(bus); in pnv_ioda_pick_m64_pe()
438 static void __init pnv_ioda_parse_m64_window(struct pnv_phb *phb) in pnv_ioda_parse_m64_window()
528 static void pnv_ioda_freeze_pe(struct pnv_phb *phb, int pe_no) in pnv_ioda_freeze_pe()
[all …]
Dpci-sriov.c148 struct pnv_phb *phb = pci_bus_to_pnvhb(pdev->bus); in pnv_pci_ioda_fixup_iov_resources()
257 struct pnv_phb *phb = pci_bus_to_pnvhb(pdev->bus); in pnv_pci_iov_resource_alignment()
293 struct pnv_phb *phb; in pnv_pci_vf_release_m64()
317 static int64_t pnv_ioda_map_m64_segmented(struct pnv_phb *phb, in pnv_ioda_map_m64_segmented()
344 static int64_t pnv_ioda_map_m64_single(struct pnv_phb *phb, in pnv_ioda_map_m64_single()
404 static int pnv_pci_alloc_m64_bar(struct pnv_phb *phb, struct pnv_iov_data *iov) in pnv_pci_alloc_m64_bar()
424 struct pnv_phb *phb; in pnv_pci_vf_assign_m64()
483 struct pnv_phb *phb; in pnv_ioda_release_vf_PE()
622 struct pnv_phb *phb; in pnv_ioda_setup_vf_PE()
684 struct pnv_phb *phb; in pnv_pci_sriov_enable()
Deeh-powernv.c108 struct pnv_phb *phb = hose->private_data; in pnv_eeh_dbgfs_set()
117 struct pnv_phb *phb = hose->private_data; in pnv_eeh_dbgfs_get()
148 struct pnv_phb *phb; in pnv_eeh_enable_phbs()
175 struct pnv_phb *phb; in pnv_eeh_post_init()
296 struct pnv_phb *phb = hose->private_data; in pnv_eeh_get_upstream_pe()
325 struct pnv_phb *phb = hose->private_data; in pnv_eeh_probe()
456 struct pnv_phb *phb = hose->private_data; in pnv_eeh_set_option()
516 struct pnv_phb *phb = pe->phb->private_data; in pnv_eeh_get_phb_diag()
528 struct pnv_phb *phb = pe->phb->private_data; in pnv_eeh_get_phb_state()
567 struct pnv_phb *phb = pe->phb->private_data; in pnv_eeh_get_pe_state()
[all …]
Dnpu-dma.c101 struct pnv_phb *phb; in get_gpu_pci_dev_and_pe()
133 struct pnv_phb *phb = npe->phb; in pnv_npu_set_window()
173 struct pnv_phb *phb = npe->phb; in pnv_npu_unset_window()
202 struct pnv_phb *phb = npe->phb; in pnv_npu_take_ownership()
543 struct pnv_phb *phb; in pnv_pci_npu_setup_iommu_groups()
620 struct pnv_phb *nphb; in pnv_npu2_map_lpar_dev()
667 struct pnv_phb *nphb; in pnv_npu2_unmap_lpar_dev()
Dpci.c165 struct pnv_phb *phb = pci_bus_to_pnvhb(pdev->bus); in pnv_setup_msi_irqs()
213 struct pnv_phb *phb = pci_bus_to_pnvhb(pdev->bus); in pnv_teardown_msi_irqs()
556 static void pnv_pci_handle_eeh_config(struct pnv_phb *phb, u32 pe_no) in pnv_pci_handle_eeh_config()
600 struct pnv_phb *phb = pdn->phb->private_data; in pnv_pci_config_check_eeh()
656 struct pnv_phb *phb = pdn->phb->private_data; in pnv_pci_cfg_read()
692 struct pnv_phb *phb = pdn->phb->private_data; in pnv_pci_cfg_write()
718 struct pnv_phb *phb = pdn->phb->private_data; in pnv_pci_cfg_check()
749 struct pnv_phb *phb; in pnv_pci_read_config()
778 struct pnv_phb *phb; in pnv_pci_write_config()
825 struct pnv_phb *phb = pci_bus_to_pnvhb(dev->bus); in pnv_pci_set_tunnel_bar()
Docxl.c164 struct pnv_phb *phb = hose->private_data; in pnv_ocxl_fixup_actag()
355 struct pnv_phb *phb = hose->private_data; in pnv_ocxl_set_tl_conf()
442 struct pnv_phb *phb = hose->private_data; in pnv_ocxl_spa_setup()
Dpci-ioda-tce.c20 unsigned long pnv_ioda_parse_tce_sizes(struct pnv_phb *phb) in pnv_ioda_parse_tce_sizes()