Searched refs:PHYS_TO_DMAP (Results 1 – 5 of 5) sorted by relevance
41 #define PHYS_TO_DMAP(x) phys_to_dmap(x) macro
449 vtdmaps[units] = (struct vtdmap *)PHYS_TO_DMAP(mapaddr); in vtd_init()481 vtdmaps[units] = (struct vtdmap *)PHYS_TO_DMAP(drhd->Address); in vtd_init()737 ptp = (uint64_t *)PHYS_TO_DMAP(ptp[ptpindex] & VTD_PTE_ADDR_M); in vtd_update_mapping()908 nlp = (uint64_t *)PHYS_TO_DMAP(ptp[i] & VTD_PTE_ADDR_M); in vtd_free_ptp()
201 (mod_hash_key_t)PHYS_TO_DMAP(vtophys(p)), (mod_hash_val_t)i) == 0); in vmm_ptp_alloc()212 (mod_hash_key_t)PHYS_TO_DMAP(vtophys(addr))) == 0); in vmm_ptp_free()
657 cmd = (struct amdvi_cmd *)PHYS_TO_DMAP(evt->addr); in amdvi_decode_evt()1044 amdvi_free_ptp((uint64_t *)PHYS_TO_DMAP(ptp[i] in amdvi_free_ptp()1106 pt = (uint64_t *)PHYS_TO_DMAP(pa); in amdvi_set_pt()
678 softc->ctrl = (struct amdvi_ctrl *) PHYS_TO_DMAP(ivhd->BaseAddress); in ivhd_attach()