Searched refs:total_mem_size (Results 1 – 2 of 2) sorted by relevance
233 phys_addr_t specified_mem_size = 0, total_mem_size = 0; in pmsav7_adjust_lowmem_bounds() local299 total_mem_size += mem[i].size - subreg * hweight_long(mem[i].subreg); in pmsav7_adjust_lowmem_bounds()305 if (total_mem_size != specified_mem_size) { in pmsav7_adjust_lowmem_bounds()307 &specified_mem_size, &total_mem_size); in pmsav7_adjust_lowmem_bounds()308 memblock_remove(mem_start + total_mem_size, in pmsav7_adjust_lowmem_bounds()309 specified_mem_size - total_mem_size); in pmsav7_adjust_lowmem_bounds()
565 u64 total_mem_size = 0; in read_afu_lpc_memory_info() local601 total_mem_size = 1ull << val32; in read_afu_lpc_memory_info()632 lpc_mem_size = total_mem_size; in read_afu_lpc_memory_info()636 if (lpc_mem_size < total_mem_size) { in read_afu_lpc_memory_info()640 total_mem_size - lpc_mem_size; in read_afu_lpc_memory_info()