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.c25 #define phb_error(phb, fmt, ...) \ argument
33 static PCIDevice *pnv_phb4_find_cfg_dev(PnvPHB4 *phb) in pnv_phb4_find_cfg_dev()
56 static void pnv_phb4_config_write(PnvPHB4 *phb, unsigned off, in pnv_phb4_config_write()
91 static uint64_t pnv_phb4_config_read(PnvPHB4 *phb, unsigned off, in pnv_phb4_config_read()
128 static void pnv_phb4_rc_config_write(PnvPHB4 *phb, unsigned off, in pnv_phb4_rc_config_write()
149 static uint64_t pnv_phb4_rc_config_read(PnvPHB4 *phb, unsigned off, in pnv_phb4_rc_config_read()
171 static void pnv_phb4_check_mbt(PnvPHB4 *phb, uint32_t index) in pnv_phb4_check_mbt()
234 static void pnv_phb4_check_all_mbt(PnvPHB4 *phb) in pnv_phb4_check_all_mbt()
245 static uint64_t *pnv_phb4_ioda_access(PnvPHB4 *phb, in pnv_phb4_ioda_access()
322 static uint64_t pnv_phb4_ioda_read(PnvPHB4 *phb) in pnv_phb4_ioda_read()
[all …]
H A Dpnv_phb3.c25 #define phb3_error(phb, fmt, ...) \ argument
29 static PCIDevice *pnv_phb3_find_cfg_dev(PnvPHB3 *phb) in pnv_phb3_find_cfg_dev()
48 static void pnv_phb3_config_write(PnvPHB3 *phb, unsigned off, in pnv_phb3_config_write()
83 static uint64_t pnv_phb3_config_read(PnvPHB3 *phb, unsigned off, in pnv_phb3_config_read()
117 static void pnv_phb3_check_m32(PnvPHB3 *phb) in pnv_phb3_check_m32()
157 static void pnv_phb3_check_m64(PnvPHB3 *phb, uint32_t index) in pnv_phb3_check_m64()
207 static void pnv_phb3_check_all_m64s(PnvPHB3 *phb) in pnv_phb3_check_all_m64s()
216 static void pnv_phb3_lxivt_write(PnvPHB3 *phb, unsigned idx, uint64_t val) in pnv_phb3_lxivt_write()
235 static uint64_t *pnv_phb3_ioda_access(PnvPHB3 *phb, in pnv_phb3_ioda_access()
309 static uint64_t pnv_phb3_ioda_read(PnvPHB3 *phb) in pnv_phb3_ioda_read()
[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 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
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
/openbmc/linux/arch/powerpc/platforms/powernv/
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() local
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() local
297 struct pnv_phb *phb = pci_bus_to_pnvhb(bus); in pnv_ioda_pick_m64_pe() local
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-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
517 struct pnv_phb *phb = pe->phb->private_data; in pnv_eeh_get_phb_diag() local
529 struct pnv_phb *phb = pe->phb->private_data; in pnv_eeh_get_phb_state() local
568 struct pnv_phb *phb = pe->phb->private_data; in pnv_eeh_get_pe_state() 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()
1227 static SpaprDrc *drc_from_dev(SpaprPhbState *phb, PCIDevice *dev) in drc_from_dev()
1234 static void add_drcs(SpaprPhbState *phb, PCIBus *bus) in add_drcs()
1254 static void remove_drcs(SpaprPhbState *phb, PCIBus *bus) in remove_drcs()
[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