Home
last modified time | relevance | path

Searched refs:align_goal (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/sparc/kernel/
H A Dsys_sparc_64.c220 unsigned long align_goal, addr = -ENOMEM; in get_fb_unmapped_area() local
232 align_goal = PAGE_SIZE; in get_fb_unmapped_area()
234 align_goal = (4UL * 1024 * 1024); in get_fb_unmapped_area()
236 align_goal = (512UL * 1024); in get_fb_unmapped_area()
238 align_goal = (64UL * 1024); in get_fb_unmapped_area()
243 addr = (addr + (align_goal - 1UL)) & ~(align_goal - 1UL); in get_fb_unmapped_area()
247 if (align_goal == (4UL * 1024 * 1024)) in get_fb_unmapped_area()
248 align_goal = (512UL * 1024); in get_fb_unmapped_area()
249 else if (align_goal == (512UL * 1024)) in get_fb_unmapped_area()
250 align_goal = (64UL * 1024); in get_fb_unmapped_area()
[all …]