Lines Matching full:bar
141 static int __init __pmsav8_setup_region(unsigned int number, u32 bar, u32 lar) in __pmsav8_setup_region() argument
150 prbar_write(bar); in __pmsav8_setup_region()
153 mpu_rgn_info.rgns[number].prbar = bar; in __pmsav8_setup_region()
163 u32 bar, lar; in pmsav8_setup_ram() local
168 bar = start; in pmsav8_setup_ram()
171 bar |= PMSAv8_AP_PL1RW_PL0RW | PMSAv8_RGN_SHARED; in pmsav8_setup_ram()
174 return __pmsav8_setup_region(number, bar, lar); in pmsav8_setup_ram()
179 u32 bar, lar; in pmsav8_setup_io() local
184 bar = start; in pmsav8_setup_io()
187 bar |= PMSAv8_AP_PL1RW_PL0RW | PMSAv8_RGN_SHARED | PMSAv8_BAR_XN; in pmsav8_setup_io()
190 return __pmsav8_setup_region(number, bar, lar); in pmsav8_setup_io()
195 u32 bar, lar; in pmsav8_setup_fixed() local
200 bar = start; in pmsav8_setup_fixed()
203 bar |= PMSAv8_AP_PL1RW_PL0NA | PMSAv8_RGN_SHARED; in pmsav8_setup_fixed()
209 if (prbar_read() != bar || prlar_read() != lar) in pmsav8_setup_fixed()
213 mpu_rgn_info.rgns[number].prbar = bar; in pmsav8_setup_fixed()
224 u32 bar, lar; in pmsav8_setup_vector() local
229 bar = start; in pmsav8_setup_vector()
232 bar |= PMSAv8_AP_PL1RW_PL0NA | PMSAv8_RGN_SHARED; in pmsav8_setup_vector()
235 return __pmsav8_setup_region(number, bar, lar); in pmsav8_setup_vector()