Lines Matching refs:prot_sect

237 		.prot_sect	= PROT_SECT_DEVICE | PMD_SECT_S,
243 .prot_sect = PROT_SECT_DEVICE,
249 .prot_sect = PROT_SECT_DEVICE | PMD_SECT_WB,
255 .prot_sect = PROT_SECT_DEVICE,
261 .prot_sect = PMD_TYPE_SECT | PMD_SECT_XN,
265 .prot_sect = PMD_TYPE_SECT | PMD_SECT_XN,
270 .prot_sect = PMD_TYPE_SECT | PMD_SECT_XN | PMD_SECT_MINICACHE,
289 .prot_sect = PMD_TYPE_SECT | PMD_SECT_AP_WRITE,
296 .prot_sect = PMD_TYPE_SECT | PMD_SECT_AP_WRITE,
304 .prot_sect = PMD_TYPE_SECT | L_PMD_SECT_RDONLY | PMD_SECT_AP2,
306 .prot_sect = PMD_TYPE_SECT,
311 .prot_sect = PMD_TYPE_SECT,
318 .prot_sect = PMD_TYPE_SECT | PMD_SECT_AP_WRITE,
325 .prot_sect = PMD_TYPE_SECT | PMD_SECT_XN,
337 .prot_sect = PMD_TYPE_SECT | PMD_SECT_AP_WRITE | PMD_SECT_S |
483 mem_types[i].prot_sect &= ~PMD_SECT_TEX(7); in build_mem_type_table()
486 mem_types[i].prot_sect &= ~PMD_SECT_S; in build_mem_type_table()
495 mem_types[i].prot_sect &= ~PMD_BIT4; in build_mem_type_table()
502 if (mem_types[i].prot_sect) in build_mem_type_table()
503 mem_types[i].prot_sect |= PMD_BIT4; in build_mem_type_table()
516 mem_types[MT_DEVICE].prot_sect |= PMD_SECT_XN; in build_mem_type_table()
517 mem_types[MT_DEVICE_NONSHARED].prot_sect |= PMD_SECT_XN; in build_mem_type_table()
518 mem_types[MT_DEVICE_CACHED].prot_sect |= PMD_SECT_XN; in build_mem_type_table()
519 mem_types[MT_DEVICE_WC].prot_sect |= PMD_SECT_XN; in build_mem_type_table()
522 mem_types[MT_MEMORY_RW].prot_sect |= PMD_SECT_XN; in build_mem_type_table()
523 mem_types[MT_MEMORY_RO].prot_sect |= PMD_SECT_XN; in build_mem_type_table()
533 mem_types[MT_DEVICE].prot_sect |= PMD_SECT_TEX(1); in build_mem_type_table()
534 mem_types[MT_DEVICE_NONSHARED].prot_sect |= PMD_SECT_TEX(1); in build_mem_type_table()
535 mem_types[MT_DEVICE_WC].prot_sect |= PMD_SECT_BUFFERABLE; in build_mem_type_table()
544 mem_types[MT_DEVICE].prot_sect |= PMD_SECT_TEX(1) | PMD_SECT_BUFFERED; in build_mem_type_table()
545 mem_types[MT_DEVICE_NONSHARED].prot_sect |= PMD_SECT_TEX(2); in build_mem_type_table()
546 mem_types[MT_DEVICE_WC].prot_sect |= PMD_SECT_TEX(1); in build_mem_type_table()
555 mem_types[MT_DEVICE].prot_sect |= PMD_SECT_BUFFERED; in build_mem_type_table()
556 mem_types[MT_DEVICE_NONSHARED].prot_sect |= PMD_SECT_TEX(2); in build_mem_type_table()
557 mem_types[MT_DEVICE_WC].prot_sect |= PMD_SECT_TEX(1); in build_mem_type_table()
563 mem_types[MT_DEVICE_WC].prot_sect |= PMD_SECT_BUFFERABLE; in build_mem_type_table()
600 mem_types[MT_ROM].prot_sect |= PMD_SECT_APX|PMD_SECT_AP_WRITE; in build_mem_type_table()
601 mem_types[MT_MINICLEAN].prot_sect |= PMD_SECT_APX|PMD_SECT_AP_WRITE; in build_mem_type_table()
602 mem_types[MT_CACHECLEAN].prot_sect |= PMD_SECT_APX|PMD_SECT_AP_WRITE; in build_mem_type_table()
603 mem_types[MT_MEMORY_RO].prot_sect |= PMD_SECT_APX|PMD_SECT_AP_WRITE; in build_mem_type_table()
615 mem_types[MT_DEVICE_WC].prot_sect |= PMD_SECT_S; in build_mem_type_table()
617 mem_types[MT_DEVICE_CACHED].prot_sect |= PMD_SECT_S; in build_mem_type_table()
619 mem_types[MT_MEMORY_RWX].prot_sect |= PMD_SECT_S; in build_mem_type_table()
621 mem_types[MT_MEMORY_RW].prot_sect |= PMD_SECT_S; in build_mem_type_table()
623 mem_types[MT_MEMORY_RO].prot_sect |= PMD_SECT_S; in build_mem_type_table()
626 mem_types[MT_MEMORY_RWX_NONCACHED].prot_sect |= PMD_SECT_S; in build_mem_type_table()
638 mem_types[MT_MEMORY_RWX_NONCACHED].prot_sect |= in build_mem_type_table()
642 mem_types[MT_MEMORY_RWX_NONCACHED].prot_sect |= in build_mem_type_table()
646 mem_types[MT_MEMORY_RWX_NONCACHED].prot_sect |= PMD_SECT_BUFFERABLE; in build_mem_type_table()
655 if (mem_types[i].prot_sect) in build_mem_type_table()
656 mem_types[i].prot_sect |= PMD_SECT_AF; in build_mem_type_table()
681 mem_types[MT_MEMORY_RWX].prot_sect |= ecc_mask | cp->pmd; in build_mem_type_table()
683 mem_types[MT_MEMORY_RW].prot_sect |= ecc_mask | cp->pmd; in build_mem_type_table()
685 mem_types[MT_MEMORY_RO].prot_sect |= ecc_mask | cp->pmd; in build_mem_type_table()
688 mem_types[MT_MEMORY_RWX_NONCACHED].prot_sect |= ecc_mask; in build_mem_type_table()
689 mem_types[MT_ROM].prot_sect |= cp->pmd; in build_mem_type_table()
693 mem_types[MT_CACHECLEAN].prot_sect |= PMD_SECT_WT; in build_mem_type_table()
697 mem_types[MT_CACHECLEAN].prot_sect |= PMD_SECT_WB; in build_mem_type_table()
707 if (t->prot_sect) in build_mem_type_table()
708 t->prot_sect |= PMD_DOMAIN(t->domain); in build_mem_type_table()
800 *pmd = __pmd(phys | type->prot_sect | (ng ? PMD_SECT_nG : 0)); in __map_init_section()
826 if (type->prot_sect && in alloc_init_pmd()
922 *pmd++ = __pmd(phys | type->prot_sect | PMD_SECT_SUPER | in create_36bit_mapping()