Lines Matching refs:end
23 static int _emi_mpu_set_protection(unsigned int start, unsigned int end, in _emi_mpu_set_protection() argument
31 dgroup = (end >> 24) & 0xFF; in _emi_mpu_set_protection()
32 end &= EMI_MPU_END_MASK; in _emi_mpu_set_protection()
54 if ((start >= DRAM_OFFSET) && (end >= start)) { in _emi_mpu_set_protection()
56 end -= DRAM_OFFSET; in _emi_mpu_set_protection()
63 mmio_write_32(EMI_MPU_EA(region), end); in _emi_mpu_set_protection()
68 mmio_write_32(SUB_EMI_MPU_EA(region), end); in _emi_mpu_set_protection()
92 unsigned int start, end; in emi_mpu_set_protection() local
104 end = (unsigned int)(region_info->end >> EMI_MPU_ALIGN_BITS) | (i << 24); in emi_mpu_set_protection()
106 if (_emi_mpu_set_protection(start, end, region_info->apc[i]) < 0) { in emi_mpu_set_protection()
108 start, end, region_info->apc[i]); in emi_mpu_set_protection()