Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/platforms/powernv/
Dpci.h55 struct pnv_phb;
58 struct pnv_phb *phb;
109 struct pnv_phb { struct
127 int (*init_m64)(struct pnv_phb *phb); argument
128 int (*get_pe_state)(struct pnv_phb *phb, int pe_no); argument
129 void (*freeze_pe)(struct pnv_phb *phb, int pe_no); argument
130 int (*unfreeze_pe)(struct pnv_phb *phb, int pe_no, int opt); argument
192 static inline bool pnv_pci_is_m64(struct pnv_phb *phb, struct resource *r) in pnv_pci_is_m64() argument
212 int pnv_ioda_configure_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe);
213 int pnv_ioda_deconfigure_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe);
[all …]
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()
Dpci-ioda.c119 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()
[all …]
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()
Deeh-powernv.c109 struct pnv_phb *phb = hose->private_data; in pnv_eeh_dbgfs_set()
118 struct pnv_phb *phb = hose->private_data; in pnv_eeh_dbgfs_get()
149 struct pnv_phb *phb; in pnv_eeh_enable_phbs()
176 struct pnv_phb *phb; in pnv_eeh_post_init()
297 struct pnv_phb *phb = hose->private_data; in pnv_eeh_get_upstream_pe()
326 struct pnv_phb *phb = hose->private_data; in pnv_eeh_probe()
457 struct pnv_phb *phb = hose->private_data; in pnv_eeh_set_option()
517 struct pnv_phb *phb = pe->phb->private_data; in pnv_eeh_get_phb_diag()
529 struct pnv_phb *phb = pe->phb->private_data; in pnv_eeh_get_phb_state()
568 struct pnv_phb *phb = pe->phb->private_data; in pnv_eeh_get_pe_state()
[all …]
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()
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()
Dpci-ioda-tce.c20 unsigned long pnv_ioda_parse_tce_sizes(struct pnv_phb *phb) in pnv_ioda_parse_tce_sizes()