Lines Matching refs:number

83 static __init bool is_region_fixed(int number)  in is_region_fixed()  argument
85 switch (number) { in is_region_fixed()
141 static int __init __pmsav8_setup_region(unsigned int number, u32 bar, u32 lar) in __pmsav8_setup_region() argument
143 if (number > mpu_max_regions in __pmsav8_setup_region()
144 || number >= MPU_MAX_REGIONS) in __pmsav8_setup_region()
148 prsel_write(number); in __pmsav8_setup_region()
153 mpu_rgn_info.rgns[number].prbar = bar; in __pmsav8_setup_region()
154 mpu_rgn_info.rgns[number].prlar = lar; in __pmsav8_setup_region()
161 static int __init pmsav8_setup_ram(unsigned int number, phys_addr_t start,phys_addr_t end) in pmsav8_setup_ram() argument
165 if (is_region_fixed(number)) in pmsav8_setup_ram()
174 return __pmsav8_setup_region(number, bar, lar); in pmsav8_setup_ram()
177 static int __init pmsav8_setup_io(unsigned int number, phys_addr_t start,phys_addr_t end) in pmsav8_setup_io() argument
181 if (is_region_fixed(number)) in pmsav8_setup_io()
190 return __pmsav8_setup_region(number, bar, lar); in pmsav8_setup_io()
193 static int __init pmsav8_setup_fixed(unsigned int number, phys_addr_t start,phys_addr_t end) in pmsav8_setup_fixed() argument
197 if (!is_region_fixed(number)) in pmsav8_setup_fixed()
206 prsel_write(number); in pmsav8_setup_fixed()
213 mpu_rgn_info.rgns[number].prbar = bar; in pmsav8_setup_fixed()
214 mpu_rgn_info.rgns[number].prlar = lar; in pmsav8_setup_fixed()
222 static int __init pmsav8_setup_vector(unsigned int number, phys_addr_t start,phys_addr_t end) in pmsav8_setup_vector() argument
226 if (number == PMSAv8_KERNEL_REGION) in pmsav8_setup_vector()
235 return __pmsav8_setup_region(number, bar, lar); in pmsav8_setup_vector()