Lines Matching refs:attr
163 mm->size, mm->attr); in print_mmap()
174 while ((mm_cursor->size != 0U) || (mm_cursor->attr != 0U)) { in mmap_add()
176 mm_cursor->size, mm_cursor->attr); in mmap_add()
182 size_t size, unsigned int attr) in mmap_add_region() argument
281 mm->attr = attr; in mmap_add_region()
292 static uint32_t mmap_desc(unsigned attr, unsigned int addr_pa, in mmap_desc() argument
303 desc |= (attr & MT_NS) != 0U ? SECTION_NOTSECURE : 0U; in mmap_desc()
306 desc |= (attr & MT_RW) != 0U ? 0U : SECTION_RO; in mmap_desc()
308 desc |= (attr & MT_MEMORY) != 0U ? in mmap_desc()
311 if (((attr & MT_RW) != 0U) || ((attr & MT_MEMORY) == 0U)) { 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()
326 if (((attr & MT_RW) != 0U) || ((attr & MT_MEMORY) == 0U)) { in mmap_desc()
336 printf(attr & MT_MEMORY ? "MEM" : "dev"); in mmap_desc()
337 printf(attr & MT_RW ? "-rw" : "-RO"); in mmap_desc()
338 printf(attr & MT_NS ? "-NS" : "-S"); in mmap_desc()
345 size_t size, unsigned int *attr) in mmap_region_attr() argument
379 if ((ret == 0U) && (mm->attr == *attr)) { in mmap_region_attr()
389 *attr = mm->attr; in mmap_region_attr()
432 unsigned int attr = mm->attr; in init_xlation_table_inner() local
434 level_size, &attr); in init_xlation_table_inner()
437 desc = mmap_desc(attr, in init_xlation_table_inner()
454 == ((mm->attr & MT_NS) == 0U)); in init_xlation_table_inner()
468 desc |= (mm->attr & MT_NS) != 0U ? in init_xlation_table_inner()