Searched refs:sphb (Results 1 – 2 of 2) sorted by relevance
| /openbmc/qemu/hw/ppc/ |
| H A D | spapr_rtas_ddw.c | 38 static unsigned spapr_phb_get_active_win_num(SpaprPhbState *sphb) in spapr_phb_get_active_win_num() argument 42 object_child_foreach(OBJECT(sphb), spapr_phb_get_active_win_num_cb, &ret); in spapr_phb_get_active_win_num() 59 static unsigned spapr_phb_get_free_liobn(SpaprPhbState *sphb) in spapr_phb_get_free_liobn() argument 63 object_child_foreach(OBJECT(sphb), spapr_phb_get_free_liobn_cb, &liobn); in spapr_phb_get_free_liobn() 99 SpaprPhbState *sphb; in rtas_ibm_query_pe_dma_window() local 109 sphb = spapr_pci_find_phb(spapr, buid); in rtas_ibm_query_pe_dma_window() 110 if (!sphb || !sphb->ddw_enabled) { in rtas_ibm_query_pe_dma_window() 115 pgmask = spapr_page_mask_to_query_mask(sphb->page_size_mask); in rtas_ibm_query_pe_dma_window() 117 avail = SPAPR_PCI_DMA_MAX_WINDOWS - spapr_phb_get_active_win_num(sphb); in rtas_ibm_query_pe_dma_window() 149 SpaprPhbState *sphb; in rtas_ibm_create_pe_dma_window() local [all …]
|
| /openbmc/qemu/include/hw/pci-host/ |
| H 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 143 static inline int spapr_phb_vfio_eeh_reset(SpaprPhbState *sphb, int option) in spapr_phb_vfio_eeh_reset() argument 147 static inline int spapr_phb_vfio_eeh_configure(SpaprPhbState *sphb) in spapr_phb_vfio_eeh_configure() argument [all …]
|