Lines Matching full:bar
139 static int __init __pmsav8_setup_region(unsigned int number, u32 bar, u32 lar) in __pmsav8_setup_region() argument
148 prbar_write(bar); in __pmsav8_setup_region()
151 mpu_rgn_info.rgns[number].prbar = bar; in __pmsav8_setup_region()
161 u32 bar, lar; in pmsav8_setup_ram() local
166 bar = start; in pmsav8_setup_ram()
169 bar |= PMSAv8_AP_PL1RW_PL0RW | PMSAv8_RGN_SHARED; in pmsav8_setup_ram()
172 return __pmsav8_setup_region(number, bar, lar); in pmsav8_setup_ram()
177 u32 bar, lar; in pmsav8_setup_io() local
182 bar = start; in pmsav8_setup_io()
185 bar |= PMSAv8_AP_PL1RW_PL0RW | PMSAv8_RGN_SHARED | PMSAv8_BAR_XN; in pmsav8_setup_io()
188 return __pmsav8_setup_region(number, bar, lar); in pmsav8_setup_io()
193 u32 bar, lar; in pmsav8_setup_fixed() local
198 bar = start; in pmsav8_setup_fixed()
201 bar |= PMSAv8_AP_PL1RW_PL0NA | PMSAv8_RGN_SHARED; in pmsav8_setup_fixed()
207 if (prbar_read() != bar || prlar_read() != lar) in pmsav8_setup_fixed()
211 mpu_rgn_info.rgns[number].prbar = bar; in pmsav8_setup_fixed()
222 u32 bar, lar; in pmsav8_setup_vector() local
227 bar = start; in pmsav8_setup_vector()
230 bar |= PMSAv8_AP_PL1RW_PL0NA | PMSAv8_RGN_SHARED; in pmsav8_setup_vector()
233 return __pmsav8_setup_region(number, bar, lar); in pmsav8_setup_vector()