Lines Matching refs:mr
178 sc_rm_mr_t mr, mr_record = 64; in mx8_partition_resources() local
260 for (mr = 0; mr < 64; mr++) { in mx8_partition_resources()
261 owned = sc_rm_is_memreg_owned(ipc_handle, mr); in mx8_partition_resources()
263 err = sc_rm_get_memreg_info(ipc_handle, mr, &start, &end); in mx8_partition_resources()
265 ERROR("Memreg get info failed, %u\n", mr); in mx8_partition_resources()
266 NOTICE("Memreg %u 0x%" PRIx64 " -- 0x%" PRIx64 "\n", mr, start, end); in mx8_partition_resources()
268 mr_record = mr; /* Record the mr for ATF running */ in mx8_partition_resources()
270 err = sc_rm_assign_memreg(ipc_handle, os_part, mr); in mx8_partition_resources()
283 err = sc_rm_memreg_alloc(ipc_handle, &mr, BL31_LIMIT, end); in mx8_partition_resources()
287 err = sc_rm_assign_memreg(ipc_handle, os_part, mr); in mx8_partition_resources()
294 err = sc_rm_memreg_alloc(ipc_handle, &mr, start, BL31_BASE - 1); in mx8_partition_resources()
298 err = sc_rm_assign_memreg(ipc_handle, os_part, mr); in mx8_partition_resources()