Lines Matching refs:TLBCAM
55 struct tlbcam TLBCAM[NUM_TLBCAMS]; variable
115 TLBCAM[index].MAS0 = MAS0_TLBSEL(1) | MAS0_ESEL(index) | MAS0_NV(index+1); in settlbcam()
116 TLBCAM[index].MAS1 = MAS1_VALID | MAS1_IPROT | MAS1_TSIZE(tsize) | MAS1_TID(pid); in settlbcam()
117 TLBCAM[index].MAS2 = virt & PAGE_MASK; in settlbcam()
119 TLBCAM[index].MAS2 |= (flags & _PAGE_WRITETHRU) ? MAS2_W : 0; in settlbcam()
120 TLBCAM[index].MAS2 |= (flags & _PAGE_NO_CACHE) ? MAS2_I : 0; in settlbcam()
121 TLBCAM[index].MAS2 |= (flags & _PAGE_COHERENT) ? MAS2_M : 0; in settlbcam()
122 TLBCAM[index].MAS2 |= (flags & _PAGE_GUARDED) ? MAS2_G : 0; in settlbcam()
123 TLBCAM[index].MAS2 |= (flags & _PAGE_ENDIAN) ? MAS2_E : 0; in settlbcam()
125 TLBCAM[index].MAS3 = (phys & MAS3_RPN) | MAS3_SX | MAS3_SR; in settlbcam()
126 TLBCAM[index].MAS3 |= ((flags & _PAGE_RW) ? MAS3_SW : 0); in settlbcam()
128 TLBCAM[index].MAS7 = (u64)phys >> 32; in settlbcam()
132 TLBCAM[index].MAS3 |= MAS3_UX | MAS3_UR; in settlbcam()
133 TLBCAM[index].MAS3 |= ((flags & _PAGE_RW) ? MAS3_UW : 0); in settlbcam()