Searched refs:camsize (Results 1 – 1 of 1) sorted by relevance
141 unsigned int camsize = __ilog2(ram); in calc_cam_sz() local148 camsize &= ~1U; in calc_cam_sz()155 if (camsize > align) in calc_cam_sz()156 camsize = align; in calc_cam_sz()157 if (camsize > max_cam) in calc_cam_sz()158 camsize = max_cam; in calc_cam_sz()160 return 1UL << camsize; in calc_cam_sz()