Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_create.c18 u32 max_page_size = 0; in object_max_page_size() local
25 max_page_size = max_t(u32, max_page_size, mr->min_page_size); in object_max_page_size()
28 GEM_BUG_ON(!max_page_size); in object_max_page_size()
29 return max_page_size; in object_max_page_size()
/linux/drivers/gpu/drm/i915/gem/selftests/
A Dhuge_pages.c1128 unsigned int max_page_size; in igt_write_huge() local
1167 max_page_size = rounddown_pow_of_two(obj->mm.page_sizes.sg); in igt_write_huge()
1168 max = div_u64(max - size, max_page_size); in igt_write_huge()
1178 u64 offset_low = num * max_page_size; in igt_write_huge()
1179 u64 offset_high = (max - num) * max_page_size; in igt_write_huge()
1211 max_page_size)) in igt_write_huge()
1260 u32 max_page_size) in igt_random_size() argument
1266 GEM_BUG_ON(!is_power_of_2(max_page_size)); in igt_random_size()
1268 GEM_BUG_ON(min_page_size > max_page_size); in igt_random_size()
1270 mask = ((max_page_size << 1ULL) - 1) & PAGE_MASK; in igt_random_size()
/linux/drivers/misc/
A Dvmw_balloon.c270 enum vmballoon_page_size_type max_page_size; member
538 b->max_page_size = VMW_BALLOON_4K_PAGE; in vmballoon_send_start()
541 b->max_page_size = VMW_BALLOON_2M_PAGE; in vmballoon_send_start()
1110 .page_size = b->max_page_size, in vmballoon_inflate()
1283 if (ctl.page_size == b->max_page_size) in vmballoon_deflate()
/linux/arch/powerpc/platforms/ps3/
A Dmm.c145 u64 max_page_size; in ps3_mm_vas_create() local
149 &start_address, &size, &access_right, &max_page_size, in ps3_mm_vas_create()
159 if (max_page_size < PAGE_SHIFT_16M) { in ps3_mm_vas_create()
161 max_page_size); in ps3_mm_vas_create()
/linux/drivers/mtd/nand/raw/brcmnand/
A Dbrcmnand.c267 unsigned int max_page_size; member
660 ctrl->max_page_size = 16 * 1024; in brcmnand_revision_init()
686 ctrl->max_page_size = 2048; in brcmnand_revision_init()
688 ctrl->max_page_size = 4096; in brcmnand_revision_init()
2502 if (cfg->page_size < BRCMNAND_MIN_PAGESIZE || (ctrl->max_page_size && in brcmnand_set_cfg()
2503 cfg->page_size > ctrl->max_page_size)) { in brcmnand_set_cfg()

Completed in 23 milliseconds