Lines Matching refs:ttep
254 tte_t tte, oldtte, *ttep; in sfmmu_map_prom_mappings() local
264 ttep = &tte; in sfmmu_map_prom_mappings()
277 ttep->tte_inthi = promt->tte_hi; in sfmmu_map_prom_mappings()
278 ttep->tte_intlo = promt->tte_lo; in sfmmu_map_prom_mappings()
281 if (TTE_IS_GLOBAL(ttep)) { in sfmmu_map_prom_mappings()
289 TTE_SET_LOFLAGS(ttep, TTE_GLB_INT, 0); in sfmmu_map_prom_mappings()
292 if (TTE_IS_LOCKED(ttep)) { in sfmmu_map_prom_mappings()
294 TTE_CLR_LOCKED(ttep); in sfmmu_map_prom_mappings()
296 attr |= (TTE_IS_VCACHEABLE(ttep)) ? 0 : SFMMU_UNCACHEVTTE; in sfmmu_map_prom_mappings()
297 attr |= (TTE_IS_PCACHEABLE(ttep)) ? 0 : SFMMU_UNCACHEPTTE; in sfmmu_map_prom_mappings()
298 attr |= (TTE_IS_SIDEFFECT(ttep)) ? SFMMU_SIDEFFECT : 0; in sfmmu_map_prom_mappings()
299 attr |= (TTE_IS_IE(ttep)) ? HAT_STRUCTURE_LE : 0; in sfmmu_map_prom_mappings()
304 promt->virt_lo), ttep); in sfmmu_map_prom_mappings()
391 sfmmu_memtte(ttep, pfn, attr, TTE8K); in sfmmu_map_prom_mappings()
392 sfmmu_tteload(kas.a_hat, ttep, vaddr, pp, in sfmmu_map_prom_mappings()
418 sfmmu_memtte(ttep, basepfn, in sfmmu_map_prom_mappings()
420 sfmmu_tteload(kas.a_hat, ttep, vaddr, NULL, in sfmmu_map_prom_mappings()