Lines Matching defs:ram
141 unsigned long calc_cam_sz(unsigned long ram, unsigned long virt,
144 unsigned int camsize = __ilog2(ram);
167 unsigned long ram, int max_cam_idx,
174 for (i = 0; ram && i < max_cam_idx; i++) {
177 cam_sz = calc_cam_sz(ram, virt, phys);
182 ram -= cam_sz;
203 unsigned long map_mem_in_cams(unsigned long ram, int max_cam_idx, bool dryrun)
208 return map_mem_in_cams_addr(phys, virt, ram, max_cam_idx, dryrun);
248 unsigned long ram;
252 ram = min((phys_addr_t)__max_low_memory, (phys_addr_t)total_lowmem);
255 __max_low_memory = map_mem_in_cams(ram, CONFIG_LOWMEM_CAM_NUM, false);