Searched refs:nb_table (Results 1 – 6 of 6) sorted by relevance
/openbmc/qemu/hw/ppc/ |
H A D | spapr_iommu.c | 83 uint32_t nb_table, in spapr_tce_alloc_table() argument 90 table = kvmppc_create_spapr_tce(liobn, page_shift, bus_offset, nb_table, in spapr_tce_alloc_table() 96 table = g_new0(uint64_t, nb_table); in spapr_tce_alloc_table() 104 static void spapr_tce_free_table(uint64_t *table, int fd, uint32_t nb_table) in spapr_tce_free_table() argument 107 (kvmppc_remove_spapr_tce(table, fd, nb_table) != 0)) { in spapr_tce_free_table() 128 if ((addr >> tcet->page_shift) < tcet->nb_table) { in spapr_tce_translate_iommu() 179 tcet->mig_nb_table = tcet->nb_table; in spapr_tce_table_pre_save() 230 uint32_t old_nb_table = tcet->nb_table; in spapr_tce_table_post_load() 238 if (tcet->mig_nb_table != tcet->nb_table) { in spapr_tce_table_post_load() 243 if (!tcet->nb_table) { in spapr_tce_table_post_load() [all …]
|
H A D | spapr_rtas_ddw.c | 32 if (tcet && tcet->nb_table) { in spapr_phb_get_active_win_num_cb() 52 if (tcet && !tcet->nb_table) { in spapr_phb_get_free_liobn_cb() 198 if (!tcet->nb_table) { in rtas_ibm_create_pe_dma_window() 242 if (!sphb || !sphb->ddw_enabled || !tcet->nb_table) { in rtas_ibm_remove_pe_dma_window()
|
H A D | spapr_pci.c | 2008 if (tcet && tcet->nb_table) { in spapr_phb_dma_reset() 2337 tcet->nb_table << tcet->page_shift); in spapr_dt_phb()
|
/openbmc/qemu/target/ppc/ |
H A D | kvm_ppc.h | 52 uint64_t bus_offset, uint32_t nb_table, 279 uint32_t nb_table, in kvmppc_create_spapr_tce() argument 286 uint32_t nb_table) in kvmppc_remove_spapr_tce() argument
|
H A D | kvm.c | 2209 uint64_t bus_offset, uint32_t nb_table, in kvmppc_create_spapr_tce() argument 2230 .size = nb_table, in kvmppc_create_spapr_tce() 2241 uint64_t window_size = (uint64_t) nb_table << page_shift; in kvmppc_create_spapr_tce() 2259 len = nb_table * sizeof(uint64_t); in kvmppc_create_spapr_tce() 2274 int kvmppc_remove_spapr_tce(void *table, int fd, uint32_t nb_table) in kvmppc_remove_spapr_tce() argument 2282 len = nb_table * sizeof(uint64_t); in kvmppc_remove_spapr_tce()
|
/openbmc/qemu/include/hw/ppc/ |
H A D | spapr.h | 868 uint32_t nb_table; member 904 uint32_t nb_table);
|