Searched refs:nb_table (Results 1 – 2 of 2) 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()
|