Lines Matching full:mpu
20 * need to store MPU content, it can just be reinitialized on resuming.
24 /* TODO: The num-mpu-regions property should be used. Needs to be added to dts bindings. */
53 /* MPU registers cannot be simply copied because content of RBARx RLARx registers
62 backup->RNR = MPU->RNR; in mpu_suspend()
65 MPU->RNR = i; in mpu_suspend()
66 backup->RBAR[i] = MPU->RBAR; in mpu_suspend()
67 backup->RLAR[i] = MPU->RLAR; in mpu_suspend()
69 backup->MAIR0 = MPU->MAIR0; in mpu_suspend()
70 backup->MAIR1 = MPU->MAIR1; in mpu_suspend()
71 backup->CTRL = MPU->CTRL; in mpu_suspend()
85 MPU->RNR = i; in mpu_resume()
86 MPU->RBAR = backup->RBAR[i]; in mpu_resume()
87 MPU->RLAR = backup->RLAR[i]; in mpu_resume()
90 MPU->MAIR0 = backup->MAIR0; in mpu_resume()
91 MPU->MAIR1 = backup->MAIR1; in mpu_resume()
92 MPU->RNR = rnr; in mpu_resume()
93 MPU->CTRL = backup->CTRL; in mpu_resume()