Home
last modified time | relevance | path

Searched defs:phb (Results 1 – 25 of 68) sorted by relevance

123

/openbmc/qemu/hw/pci-host/
H A Dpnv_phb4.c504 PnvPHB4 *phb = PNV_PHB4(opaque); in pnv_phb4_reg_write() local
642 PnvPHB4 *phb = PNV_PHB4(opaque); in pnv_phb4_reg_read() local
738 PnvPHB4 *phb = PNV_PHB4(opaque); in pnv_phb4_xscom_read() local
791 PnvPHB4 *phb = PNV_PHB4(opaque); in pnv_phb4_xscom_write() local
854 PnvPHB4 *phb = PNV_PHB4(opaque); in pnv_pec_stk_nest_xscom_read() local
996 PnvPHB4 *phb = PNV_PHB4(opaque); in pnv_pec_stk_nest_xscom_write() local
1403 PnvPHB4 *phb = ds->phb; in pnv_phb4_msi_write() local
1454 PnvPHB4 *phb = opaque; in pnv_phb4_dma_iommu() local
1536 PnvPHB4 *phb = PNV_PHB4(obj); in pnv_phb4_instance_init() local
1579 PnvPHB4 *phb = PNV_PHB4(dev); in pnv_phb4_realize() local
[all …]
H A Dpnv_phb3.c117 static void pnv_phb3_check_m32(PnvPHB3 *phb) in pnv_phb3_check_m32()
350 void pnv_phb3_remap_irqs(PnvPHB3 *phb) in pnv_phb3_remap_irqs()
472 PnvPHB3 *phb = opaque; in pnv_phb3_reg_write() local
594 PnvPHB3 *phb = opaque; in pnv_phb3_reg_read() local
688 PnvPHB3 *phb = opaque; in pnv_phb3_set_irq() local
746 PnvPHB3 *phb = ds->phb; in pnv_phb3_translate_tve() local
853 PnvPHB3 *phb = ds->phb; in pnv_phb3_translate_iommu() local
940 PnvPHB3 *phb = opaque; in pnv_phb3_dma_iommu() local
977 PnvPHB3 *phb = PNV_PHB3(obj); in pnv_phb3_instance_init() local
1024 PnvPHB3 *phb = PNV_PHB3(dev); in pnv_phb3_realize() local
[all …]
H A Dpnv_phb.c65 static Object *pnv_phb_user_get_parent(PnvChip *chip, PnvPHB *phb, Error **errp) in pnv_phb_user_get_parent()
80 static bool pnv_phb_user_device_init(PnvPHB *phb, Error **errp) in pnv_phb_user_device_init()
111 PnvPHB *phb = PNV_PHB(dev); in pnv_phb_realize() local
179 PnvPHB *phb = PNV_PHB(host_bridge); in pnv_phb_root_bus_path() local
H A Dsh_pci.c55 PCIHostState *phb = PCI_HOST_BRIDGE(pcic); in sh_pci_reg_write() local
80 PCIHostState *phb = PCI_HOST_BRIDGE(pcic); in sh_pci_reg_read() local
123 PCIHostState *phb = PCI_HOST_BRIDGE(s); in sh_pcic_host_realize() local
H A Dgrackle.c53 PCIHostState *phb = PCI_HOST_BRIDGE(dev); in grackle_realize() local
70 PCIHostState *phb = PCI_HOST_BRIDGE(obj); in grackle_init() local
H A Dpnv_phb3_pbcq.c241 PnvPHB3 *phb = pbcq->phb; in pnv_pbcq_default_bars() local
261 PnvPHB3 *phb; in pnv_pbcq_realize() local
303 PnvPHB3 *phb = PNV_PBCQ(dev)->phb; in pnv_pbcq_dt_xscom() local
H A Dsabre.c253 PCIHostState *phb = PCI_HOST_BRIDGE(s); in sabre_pci_config_write() local
264 PCIHostState *phb = PCI_HOST_BRIDGE(s); in sabre_pci_config_read() local
373 PCIHostState *phb = PCI_HOST_BRIDGE(dev); in sabre_realize() local
H A Ddino.c98 PCIHostState *phb = PCI_HOST_BRIDGE(s); in dino_chip_read_with_attrs() local
191 PCIHostState *phb = PCI_HOST_BRIDGE(s); in dino_chip_write_with_attrs() local
450 PCIHostState *phb = PCI_HOST_BRIDGE(obj); in dino_pcihost_init() local
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dpci-ioda.c189 struct pnv_phb *phb = pe->phb; in pnv_ioda_free_pe() local
1212 struct pnv_phb *phb = pe->phb; in pnv_pci_ioda2_tce_invalidate_pe() local
1282 struct pnv_phb *phb = pe->phb; in pnv_pci_ioda2_set_window() local
1461 struct pnv_phb *phb = pe->phb; in pnv_pci_ioda2_unset_window() local
1984 struct pnv_phb *phb = pe->phb; in pnv_ioda_setup_pe_res() local
2076 struct pnv_phb *phb = data; in pnv_pci_diag_data_set() local
2095 struct pnv_phb *phb = data; in pnv_pci_ioda_pe_dump() local
2126 struct pnv_phb *phb; in pnv_pci_ioda_create_dbgfs() local
2380 struct pnv_phb *phb = pe->phb; in pnv_ioda_free_pe_seg() local
2401 struct pnv_phb *phb = pe->phb; in pnv_ioda_release_pe_seg() local
[all …]
H A Dpci-cxl.c16 struct pnv_phb *phb = hose->private_data; in pnv_phb_to_cxl_mode() local
42 struct pnv_phb *phb = hose->private_data; in pnv_cxl_alloc_hwirqs() local
57 struct pnv_phb *phb = hose->private_data; in pnv_cxl_release_hwirqs() local
67 struct pnv_phb *phb = hose->private_data; in pnv_cxl_release_hwirq_ranges() local
87 struct pnv_phb *phb = hose->private_data; in pnv_cxl_alloc_hwirq_ranges() local
123 struct pnv_phb *phb = hose->private_data; in pnv_cxl_get_irq_count() local
133 struct pnv_phb *phb = hose->private_data; in pnv_cxl_ioda_msi_setup() local
H A Deeh-powernv.c109 struct pnv_phb *phb = hose->private_data; in pnv_eeh_dbgfs_set() local
118 struct pnv_phb *phb = hose->private_data; in pnv_eeh_dbgfs_get() local
149 struct pnv_phb *phb; in pnv_eeh_enable_phbs() local
176 struct pnv_phb *phb; in pnv_eeh_post_init() local
297 struct pnv_phb *phb = hose->private_data; in pnv_eeh_get_upstream_pe() local
326 struct pnv_phb *phb = hose->private_data; in pnv_eeh_probe() local
457 struct pnv_phb *phb = hose->private_data; in pnv_eeh_set_option() local
1037 struct pnv_phb *phb; in pnv_eeh_reset() local
1409 struct pnv_phb *phb; in pnv_eeh_next_error() local
1605 struct pnv_phb *phb; in pnv_eeh_restore_config() local
[all …]
H A Dpci-sriov.c145 struct pnv_phb *phb = pci_bus_to_pnvhb(pdev->bus); in pnv_pci_ioda_fixup_iov_resources() local
251 struct pnv_phb *phb = pci_bus_to_pnvhb(pdev->bus); in pnv_pci_iov_resource_alignment() local
287 struct pnv_phb *phb; in pnv_pci_vf_release_m64() local
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() local
477 struct pnv_phb *phb; in pnv_ioda_release_vf_PE() local
616 struct pnv_phb *phb; in pnv_ioda_setup_vf_PE() local
678 struct pnv_phb *phb; in pnv_pci_sriov_enable() local
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() local
588 struct pnv_phb *phb = pdn->phb->private_data; in pnv_pci_cfg_read() local
624 struct pnv_phb *phb = pdn->phb->private_data; in pnv_pci_cfg_write() local
650 struct pnv_phb *phb = pdn->phb->private_data; in pnv_pci_cfg_check() local
681 struct pnv_phb *phb; in pnv_pci_read_config() local
710 struct pnv_phb *phb; in pnv_pci_write_config() local
757 struct pnv_phb *phb = pci_bus_to_pnvhb(dev->bus); in pnv_pci_set_tunnel_bar() local
/openbmc/linux/drivers/misc/cxl/
H A Dvphb.c30 struct pci_controller *phb; in cxl_pci_enable_device_hook() local
82 struct pci_controller *phb = bus ? pci_bus_to_host(bus) : NULL; in pci_bus_to_afu() local
204 struct pci_controller *phb; in cxl_pci_vphb_add() local
270 struct pci_controller *phb; in cxl_pci_vphb_remove() local
288 struct pci_controller *phb; in cxl_pci_is_vphb_device() local
297 struct pci_controller *phb; in cxl_pci_to_afu() local
/openbmc/linux/arch/powerpc/kernel/
H A Dmsi.c14 struct pci_controller *phb = pci_bus_to_host(dev->bus); in arch_setup_msi_irqs() local
31 struct pci_controller *phb = pci_bus_to_host(dev->bus); in arch_teardown_msi_irqs() local
H A Drtas_pci.c200 unsigned long get_phb_buid(struct device_node *phb) in get_phb_buid()
212 struct pci_controller *phb) in phb_set_bus_ranges()
228 int rtas_setup_phb(struct pci_controller *phb) in rtas_setup_phb()
H A Dpci-hotplug.c58 struct pci_controller *phb = pci_bus_to_host(dev->bus); in pcibios_release_device() local
111 struct pci_controller *phb; in pci_hp_add_devices() local
H A Dpci-common.c126 struct pci_controller *phb; in pcibios_alloc_controller() local
154 void pcibios_free_controller(struct pci_controller *phb) in pcibios_free_controller()
197 struct pci_controller *phb = (struct pci_controller *) in pcibios_free_controller_deferred() local
215 struct pci_controller *phb = pci_bus_to_host(bus); in pcibios_window_alignment() local
238 struct pci_controller *phb = pci_bus_to_host(dev->bus); in pcibios_reset_secondary_bus() local
1037 struct pci_controller *phb; in pcibios_setup_bus_self() local
1057 struct pci_controller *phb; in pcibios_bus_add_device() local
1507 struct pci_controller *phb = pci_bus_to_host(dev->bus); in pcibios_enable_device() local
1518 struct pci_controller *phb = pci_bus_to_host(dev->bus); in pcibios_disable_device() local
H A Deeh_pe.c47 static struct eeh_pe *eeh_pe_alloc(struct pci_controller *phb, int type) in eeh_pe_alloc()
80 int eeh_phb_pe_create(struct pci_controller *phb) in eeh_phb_pe_create()
158 struct eeh_pe *eeh_phb_pe_get(struct pci_controller *phb) in eeh_phb_pe_get()
287 struct eeh_pe *eeh_pe_get(struct pci_controller *phb, int pe_no) in eeh_pe_get()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dpci_dlpar.c23 struct pci_controller *phb; in init_phb_dynamic() local
54 int remove_phb_dynamic(struct pci_controller *phb) in remove_phb_dynamic()
H A Dmsi.c556 struct pci_controller *phb = domain->host_data; in pseries_irq_domain_alloc() local
593 struct pci_controller *phb = irq_data_get_irq_chip_data(d); in pseries_irq_domain_free() local
605 static int __pseries_msi_allocate_domains(struct pci_controller *phb, in __pseries_msi_allocate_domains()
639 int pseries_msi_allocate_domains(struct pci_controller *phb) in pseries_msi_allocate_domains()
652 void pseries_msi_free_domains(struct pci_controller *phb) in pseries_msi_free_domains()
H A Deeh_pseries.c104 struct pci_controller *phb = pdn->phb; in pseries_eeh_get_pe_config_addr() local
162 static int pseries_eeh_phb_reset(struct pci_controller *phb, int config_addr, int option) in pseries_eeh_phb_reset()
197 static int pseries_eeh_phb_configure_bridge(struct pci_controller *phb, int config_addr) in pseries_eeh_phb_configure_bridge()
813 struct pci_controller *phb; in eeh_pseries_init() local
/openbmc/linux/arch/powerpc/include/asm/
H A Dppc-pci.h38 static inline void ppc_iommu_register_device(struct pci_controller *phb) { } in ppc_iommu_register_device()
39 static inline void ppc_iommu_unregister_device(struct pci_controller *phb) { } in ppc_iommu_unregister_device()
/openbmc/qemu/hw/ppc/
H A Dspapr_pci.c84 PCIHostState *phb = PCI_HOST_BRIDGE(sphb); in spapr_pci_find_dev() local
280 SpaprPhbState *phb = NULL; in rtas_ibm_change_msi() local
446 SpaprPhbState *phb = NULL; in rtas_ibm_query_interrupt_source_number() local
722 SpaprPhbState *phb = opaque; in pci_spapr_set_irq() local
777 SpaprPhbState *phb = opaque; in spapr_pci_dma_iommu() local
1202 static uint32_t drc_id_from_devfn(SpaprPhbState *phb, in drc_id_from_devfn()
1208 static SpaprDrc *drc_from_devfn(SpaprPhbState *phb, in drc_from_devfn()
1234 static void add_drcs(SpaprPhbState *phb, PCIBus *bus) in add_drcs()
1483 static void spapr_pci_bridge_plug(SpaprPhbState *phb, in spapr_pci_bridge_plug()
1755 PCIHostState *phb = PCI_HOST_BRIDGE(s); in spapr_phb_unrealize() local
[all …]
/openbmc/linux/drivers/pci/hotplug/
H A Drpadlpar_core.c141 struct pci_controller *phb = pdn->phb; in dlpar_pci_add_bus() local
172 struct pci_controller *phb; in dlpar_add_pci_slot() local
235 struct pci_controller *phb; in dlpar_add_phb() local

123