Lines Matching refs:desc
295 uint32_t desc; in mmap_desc() local
301 desc = SECTION_SECTION | SECTION_SHARED; in mmap_desc()
303 desc |= (attr & MT_NS) != 0U ? SECTION_NOTSECURE : 0U; in mmap_desc()
305 desc |= SECTION_ACCESS_FLAG; in mmap_desc()
306 desc |= (attr & MT_RW) != 0U ? 0U : SECTION_RO; in mmap_desc()
308 desc |= (attr & MT_MEMORY) != 0U ? in mmap_desc()
312 desc |= SECTION_XN; in mmap_desc()
318 desc = SMALL_PAGE_SMALL_PAGE | SMALL_PAGE_SHARED; in mmap_desc()
320 desc |= SMALL_PAGE_ACCESS_FLAG; in mmap_desc()
321 desc |= (attr & MT_RW) != 0U ? 0U : SMALL_PAGE_RO; in mmap_desc()
323 desc |= (attr & MT_MEMORY) != 0U ? in mmap_desc()
327 desc |= SMALL_PAGE_XN; in mmap_desc()
341 return desc | addr_pa; in mmap_desc()
411 uint32_t desc = MMU32B_UNSET_DESC; in init_xlation_table_inner() local
427 desc = MMU32B_INVALID_DESC; in init_xlation_table_inner()
437 desc = mmap_desc(attr, in init_xlation_table_inner()
443 if (desc == MMU32B_UNSET_DESC) { in init_xlation_table_inner()
458 desc = *table; in init_xlation_table_inner()
467 desc = xlat_table | SECTION_PT_PT; in init_xlation_table_inner()
468 desc |= (mm->attr & MT_NS) != 0U ? in init_xlation_table_inner()
482 *table++ = desc; in init_xlation_table_inner()