Searched refs:lenVal (Results 1 – 1 of 1) sorted by relevance
73 uint32_t proposedStart, lenVal = 1; in mpuRegionCfg() local83 proposedStart = start &~ ((UINT64_C(1) << lenVal) - 1); in mpuRegionCfg()87 …lenVal = (proposedLen & (proposedLen - UINT64_C(1))) ? 64 - __builtin_clzll(proposedLen) : 63 - __… in mpuRegionCfg()89 } while (proposedStart & ((UINT64_C(1) << lenVal) - UINT64_C(1))); in mpuRegionCfg()92 if (lenVal < 5) in mpuRegionCfg()93 lenVal = 5; in mpuRegionCfg()101 MPU->RASR = MPU_SRD_BITS | MPU_BIT_ENABLE | attrs | ((lenVal-1) << 1); in mpuRegionCfg()