Searched refs:sphb (Results 1 – 5 of 5) sorted by relevance
| /qemu/hw/ppc/ |
| A D | spapr_rtas_ddw.c | 99 SpaprPhbState *sphb; in rtas_ibm_query_pe_dma_window() local 110 if (!sphb || !sphb->ddw_enabled) { in rtas_ibm_query_pe_dma_window() 149 SpaprPhbState *sphb; in rtas_ibm_create_pe_dma_window() local 162 if (!sphb || !sphb->ddw_enabled) { in rtas_ibm_create_pe_dma_window() 185 win_addr = (windows == 0) ? sphb->dma_win_addr : sphb->dma64_win_addr; in rtas_ibm_create_pe_dma_window() 226 SpaprPhbState *sphb; in rtas_ibm_remove_pe_dma_window() local 242 if (!sphb || !sphb->ddw_enabled || !tcet->nb_table) { in rtas_ibm_remove_pe_dma_window() 259 spapr_phb_dma_reset(sphb); in rtas_ibm_remove_pe_dma_window() 276 SpaprPhbState *sphb; in rtas_ibm_reset_pe_dma_window() local 287 if (!sphb || !sphb->ddw_enabled) { in rtas_ibm_reset_pe_dma_window() [all …]
|
| A D | spapr_pci.c | 496 if (!sphb) { in rtas_ibm_set_eeh_option() 529 if (!sphb) { in rtas_ibm_get_config_addr_info2() 582 if (!sphb) { in rtas_ibm_read_slot_reset_state2() 626 if (!sphb) { in rtas_ibm_set_slot_reset() 658 if (!sphb) { in rtas_ibm_configure_pe() 1305 .sphb = sphb, in spapr_dt_pci_bus() 1824 sphb->mem64_win_pciaddr = sphb->mem64_win_addr; in spapr_phb_realize() 1874 memory_region_init(&sphb->iospace, OBJECT(sphb), in spapr_phb_realize() 1910 memory_region_init(&sphb->iommu_root, OBJECT(sphb), in spapr_phb_realize() 1913 address_space_init(&sphb->iommu_as, &sphb->iommu_root, in spapr_phb_realize() [all …]
|
| A D | spapr_pci_vfio.c | 129 bool spapr_phb_eeh_available(SpaprPhbState *sphb) in spapr_phb_eeh_available() argument 131 return vfio_eeh_as_ok(&sphb->iommu_as); in spapr_phb_eeh_available() 160 int spapr_phb_vfio_eeh_set_option(SpaprPhbState *sphb, in spapr_phb_vfio_eeh_set_option() argument 194 phb = PCI_HOST_BRIDGE(sphb); in spapr_phb_vfio_eeh_set_option() 215 ret = vfio_eeh_as_op(&sphb->iommu_as, op); in spapr_phb_vfio_eeh_set_option() 274 PCIHostState *phb = PCI_HOST_BRIDGE(sphb); in spapr_phb_vfio_eeh_pre_reset() 289 spapr_phb_vfio_eeh_pre_reset(sphb); in spapr_phb_vfio_eeh_reset() 293 spapr_phb_vfio_eeh_pre_reset(sphb); in spapr_phb_vfio_eeh_reset() 300 ret = vfio_eeh_as_op(&sphb->iommu_as, op); in spapr_phb_vfio_eeh_reset() 308 int spapr_phb_vfio_eeh_configure(SpaprPhbState *sphb) in spapr_phb_vfio_eeh_configure() argument [all …]
|
| A D | spapr.c | 4042 SpaprPhbState *sphb = SPAPR_PCI_HOST_BRIDGE(drc->dev); in spapr_phb_dt_populate() local 4065 SpaprPhbState *sphb = SPAPR_PCI_HOST_BRIDGE(dev); in spapr_phb_pre_plug() local 4075 if (sphb->index == (uint32_t)-1) { in spapr_phb_pre_plug() 4080 drc = spapr_drc_by_id(TYPE_SPAPR_DRC_PHB, sphb->index); in spapr_phb_pre_plug() 4091 smc->phb_placement(spapr, sphb->index, in spapr_phb_pre_plug() 4092 &sphb->buid, &sphb->io_win_addr, in spapr_phb_pre_plug() 4093 &sphb->mem_win_addr, &sphb->mem64_win_addr, in spapr_phb_pre_plug() 4102 SpaprPhbState *sphb = SPAPR_PCI_HOST_BRIDGE(dev); in spapr_phb_plug() local 4110 drc = spapr_drc_by_id(TYPE_SPAPR_DRC_PHB, sphb->index); in spapr_phb_plug() 4140 SpaprPhbState *sphb = SPAPR_PCI_HOST_BRIDGE(dev); in spapr_phb_unplug_request() local [all …]
|
| /qemu/include/hw/pci-host/ |
| A D | spapr.h | 121 bool spapr_phb_eeh_available(SpaprPhbState *sphb); 122 int spapr_phb_vfio_eeh_set_option(SpaprPhbState *sphb, 124 int spapr_phb_vfio_eeh_get_state(SpaprPhbState *sphb, int *state); 125 int spapr_phb_vfio_eeh_reset(SpaprPhbState *sphb, int option); 126 int spapr_phb_vfio_eeh_configure(SpaprPhbState *sphb); 129 static inline bool spapr_phb_eeh_available(SpaprPhbState *sphb) in spapr_phb_eeh_available() argument 133 static inline int spapr_phb_vfio_eeh_set_option(SpaprPhbState *sphb, in spapr_phb_vfio_eeh_set_option() argument 138 static inline int spapr_phb_vfio_eeh_get_state(SpaprPhbState *sphb, in spapr_phb_vfio_eeh_get_state() argument 147 static inline int spapr_phb_vfio_eeh_configure(SpaprPhbState *sphb) in spapr_phb_vfio_eeh_configure() argument 156 void spapr_phb_dma_reset(SpaprPhbState *sphb); [all …]
|
Completed in 36 milliseconds