Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/powernv/
H A Dpci.h54 struct pnv_phb;
57 struct pnv_phb *phb;
108 struct pnv_phb { struct
126 int (*init_m64)(struct pnv_phb *phb); argument
127 int (*get_pe_state)(struct pnv_phb *phb, int pe_no); argument
128 void (*freeze_pe)(struct pnv_phb *phb, int pe_no); argument
129 int (*unfreeze_pe)(struct pnv_phb *phb, int pe_no, int opt); argument
187 static inline bool pnv_pci_is_m64(struct pnv_phb *phb, struct resource *r) in pnv_pci_is_m64() argument
207 int pnv_ioda_configure_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe);
208 int pnv_ioda_deconfigure_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe);
[all …]
H A Dpci-cxl.c16 struct pnv_phb *phb = hose->private_data; in pnv_phb_to_cxl_mode()
42 struct pnv_phb *phb = hose->private_data; in pnv_cxl_alloc_hwirqs()
57 struct pnv_phb *phb = hose->private_data; in pnv_cxl_release_hwirqs()
67 struct pnv_phb *phb = hose->private_data; in pnv_cxl_release_hwirq_ranges()
87 struct pnv_phb *phb = hose->private_data; in pnv_cxl_alloc_hwirq_ranges()
123 struct pnv_phb *phb = hose->private_data; in pnv_cxl_get_irq_count()
133 struct pnv_phb *phb = hose->private_data; in pnv_cxl_ioda_msi_setup()
H A Dpci-ioda.c116 static struct pnv_ioda_pe *pnv_ioda_init_pe(struct pnv_phb *phb, int pe_no) in pnv_ioda_init_pe()
138 static void pnv_ioda_reserve_pe(struct pnv_phb *phb, int pe_no) in pnv_ioda_reserve_pe()
155 struct pnv_ioda_pe *pnv_ioda_alloc_pe(struct pnv_phb *phb, int count) in pnv_ioda_alloc_pe()
189 struct pnv_phb *phb = pe->phb; in pnv_ioda_free_pe()
201 static int pnv_ioda2_init_m64(struct pnv_phb *phb) in pnv_ioda2_init_m64()
257 struct pnv_phb *phb = pci_bus_to_pnvhb(pdev->bus); in pnv_ioda_reserve_dev_m64_pe()
297 struct pnv_phb *phb = pci_bus_to_pnvhb(bus); in pnv_ioda_pick_m64_pe()
354 static void __init pnv_ioda_parse_m64_window(struct pnv_phb *phb) in pnv_ioda_parse_m64_window()
441 static void pnv_ioda_freeze_pe(struct pnv_phb *phb, int pe_no) in pnv_ioda_freeze_pe()
481 static int pnv_ioda_unfreeze_pe(struct pnv_phb *phb, int pe_no, int opt) in pnv_ioda_unfreeze_pe()
[all …]
H A Dpci-sriov.c145 struct pnv_phb *phb = pci_bus_to_pnvhb(pdev->bus); in pnv_pci_ioda_fixup_iov_resources()
251 struct pnv_phb *phb = pci_bus_to_pnvhb(pdev->bus); in pnv_pci_iov_resource_alignment()
287 struct pnv_phb *phb; in pnv_pci_vf_release_m64()
311 static int64_t pnv_ioda_map_m64_segmented(struct pnv_phb *phb, in pnv_ioda_map_m64_segmented()
338 static int64_t pnv_ioda_map_m64_single(struct pnv_phb *phb, in pnv_ioda_map_m64_single()
398 static int pnv_pci_alloc_m64_bar(struct pnv_phb *phb, struct pnv_iov_data *iov) in pnv_pci_alloc_m64_bar()
418 struct pnv_phb *phb; in pnv_pci_vf_assign_m64()
477 struct pnv_phb *phb; in pnv_ioda_release_vf_PE()
616 struct pnv_phb *phb; in pnv_ioda_setup_vf_PE()
678 struct pnv_phb *phb; in pnv_pci_sriov_enable()
H A 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 …]
H A Dpci.c488 static void pnv_pci_handle_eeh_config(struct pnv_phb *phb, u32 pe_no) in pnv_pci_handle_eeh_config()
532 struct pnv_phb *phb = pdn->phb->private_data; in pnv_pci_config_check_eeh()
588 struct pnv_phb *phb = pdn->phb->private_data; in pnv_pci_cfg_read()
624 struct pnv_phb *phb = pdn->phb->private_data; in pnv_pci_cfg_write()
650 struct pnv_phb *phb = pdn->phb->private_data; in pnv_pci_cfg_check()
681 struct pnv_phb *phb; in pnv_pci_read_config()
710 struct pnv_phb *phb; in pnv_pci_write_config()
757 struct pnv_phb *phb = pci_bus_to_pnvhb(dev->bus); in pnv_pci_set_tunnel_bar()
H A Docxl.c165 struct pnv_phb *phb = hose->private_data; in pnv_ocxl_fixup_actag()
356 struct pnv_phb *phb = hose->private_data; in pnv_ocxl_set_tl_conf()
443 struct pnv_phb *phb = hose->private_data; in pnv_ocxl_spa_setup()
490 struct pnv_phb *phb = hose->private_data; in pnv_ocxl_map_lpar()
H A Dpci-ioda-tce.c20 unsigned long pnv_ioda_parse_tce_sizes(struct pnv_phb *phb) in pnv_ioda_parse_tce_sizes()