Lines Matching refs:prot_sect
256 .prot_sect = PROT_SECT_DEVICE | PMD_SECT_S,
262 .prot_sect = PROT_SECT_DEVICE,
268 .prot_sect = PROT_SECT_DEVICE | PMD_SECT_WB,
274 .prot_sect = PROT_SECT_DEVICE,
280 .prot_sect = PMD_TYPE_SECT | PMD_SECT_XN,
284 .prot_sect = PMD_TYPE_SECT | PMD_SECT_XN,
289 .prot_sect = PMD_TYPE_SECT | PMD_SECT_XN | PMD_SECT_MINICACHE,
308 .prot_sect = PMD_TYPE_SECT | PMD_SECT_AP_WRITE,
315 .prot_sect = PMD_TYPE_SECT | PMD_SECT_AP_WRITE,
319 .prot_sect = PMD_TYPE_SECT,
326 .prot_sect = PMD_TYPE_SECT | PMD_SECT_AP_WRITE,
333 .prot_sect = PMD_TYPE_SECT | PMD_SECT_XN,
345 .prot_sect = PMD_TYPE_SECT | PMD_SECT_AP_WRITE | PMD_SECT_S |
477 mem_types[i].prot_sect &= ~PMD_SECT_TEX(7); in build_mem_type_table()
480 mem_types[i].prot_sect &= ~PMD_SECT_S; in build_mem_type_table()
489 mem_types[i].prot_sect &= ~PMD_BIT4; in build_mem_type_table()
496 if (mem_types[i].prot_sect) in build_mem_type_table()
497 mem_types[i].prot_sect |= PMD_BIT4; in build_mem_type_table()
510 mem_types[MT_DEVICE].prot_sect |= PMD_SECT_XN; in build_mem_type_table()
511 mem_types[MT_DEVICE_NONSHARED].prot_sect |= PMD_SECT_XN; in build_mem_type_table()
512 mem_types[MT_DEVICE_CACHED].prot_sect |= PMD_SECT_XN; in build_mem_type_table()
513 mem_types[MT_DEVICE_WC].prot_sect |= PMD_SECT_XN; in build_mem_type_table()
516 mem_types[MT_MEMORY_RW].prot_sect |= PMD_SECT_XN; in build_mem_type_table()
526 mem_types[MT_DEVICE].prot_sect |= PMD_SECT_TEX(1); in build_mem_type_table()
527 mem_types[MT_DEVICE_NONSHARED].prot_sect |= PMD_SECT_TEX(1); in build_mem_type_table()
528 mem_types[MT_DEVICE_WC].prot_sect |= PMD_SECT_BUFFERABLE; in build_mem_type_table()
537 mem_types[MT_DEVICE].prot_sect |= PMD_SECT_TEX(1) | PMD_SECT_BUFFERED; in build_mem_type_table()
538 mem_types[MT_DEVICE_NONSHARED].prot_sect |= PMD_SECT_TEX(2); in build_mem_type_table()
539 mem_types[MT_DEVICE_WC].prot_sect |= PMD_SECT_TEX(1); in build_mem_type_table()
548 mem_types[MT_DEVICE].prot_sect |= PMD_SECT_BUFFERED; in build_mem_type_table()
549 mem_types[MT_DEVICE_NONSHARED].prot_sect |= PMD_SECT_TEX(2); in build_mem_type_table()
550 mem_types[MT_DEVICE_WC].prot_sect |= PMD_SECT_TEX(1); in build_mem_type_table()
556 mem_types[MT_DEVICE_WC].prot_sect |= PMD_SECT_BUFFERABLE; in build_mem_type_table()
596 mem_types[MT_ROM].prot_sect |= PMD_SECT_APX|PMD_SECT_AP_WRITE; in build_mem_type_table()
597 mem_types[MT_MINICLEAN].prot_sect |= PMD_SECT_APX|PMD_SECT_AP_WRITE; in build_mem_type_table()
598 mem_types[MT_CACHECLEAN].prot_sect |= PMD_SECT_APX|PMD_SECT_AP_WRITE; in build_mem_type_table()
611 mem_types[MT_DEVICE_WC].prot_sect |= PMD_SECT_S; in build_mem_type_table()
613 mem_types[MT_DEVICE_CACHED].prot_sect |= PMD_SECT_S; in build_mem_type_table()
615 mem_types[MT_MEMORY_RWX].prot_sect |= PMD_SECT_S; in build_mem_type_table()
617 mem_types[MT_MEMORY_RW].prot_sect |= PMD_SECT_S; in build_mem_type_table()
620 mem_types[MT_MEMORY_RWX_NONCACHED].prot_sect |= PMD_SECT_S; in build_mem_type_table()
632 mem_types[MT_MEMORY_RWX_NONCACHED].prot_sect |= in build_mem_type_table()
636 mem_types[MT_MEMORY_RWX_NONCACHED].prot_sect |= in build_mem_type_table()
640 mem_types[MT_MEMORY_RWX_NONCACHED].prot_sect |= PMD_SECT_BUFFERABLE; in build_mem_type_table()
649 if (mem_types[i].prot_sect) in build_mem_type_table()
650 mem_types[i].prot_sect |= PMD_SECT_AF; in build_mem_type_table()
678 mem_types[MT_MEMORY_RWX].prot_sect |= ecc_mask | cp->pmd; in build_mem_type_table()
680 mem_types[MT_MEMORY_RW].prot_sect |= ecc_mask | cp->pmd; in build_mem_type_table()
683 mem_types[MT_MEMORY_RWX_NONCACHED].prot_sect |= ecc_mask; in build_mem_type_table()
684 mem_types[MT_ROM].prot_sect |= cp->pmd; in build_mem_type_table()
688 mem_types[MT_CACHECLEAN].prot_sect |= PMD_SECT_WT; in build_mem_type_table()
692 mem_types[MT_CACHECLEAN].prot_sect |= PMD_SECT_WB; in build_mem_type_table()
702 if (t->prot_sect) in build_mem_type_table()
703 t->prot_sect |= PMD_DOMAIN(t->domain); in build_mem_type_table()
795 *pmd = __pmd(phys | type->prot_sect | (ng ? PMD_SECT_nG : 0)); in __map_init_section()
821 if (type->prot_sect && in alloc_init_pmd()
901 *pmd++ = __pmd(phys | type->prot_sect | PMD_SECT_SUPER | in create_36bit_mapping()