Searched refs:max_page_size (Results 1 – 5 of 5) sorted by relevance
21 u32 max_page_size = 0; in object_max_page_size() local28 max_page_size = max_t(u32, max_page_size, mr->min_page_size); in object_max_page_size()31 GEM_BUG_ON(!max_page_size); in object_max_page_size()32 return max_page_size; in object_max_page_size()
1140 unsigned int max_page_size; in igt_write_huge() local1191 max_page_size = rounddown_pow_of_two(obj->mm.page_sizes.sg); in igt_write_huge()1192 max = div_u64(max - size, max_page_size); in igt_write_huge()1202 u64 offset_low = num * max_page_size; in igt_write_huge()1203 u64 offset_high = (max - num) * max_page_size; in igt_write_huge()1235 max_page_size)) in igt_write_huge()1286 u32 max_page_size) in igt_random_size() argument1292 GEM_BUG_ON(!is_power_of_2(max_page_size)); in igt_random_size()1294 GEM_BUG_ON(min_page_size > max_page_size); in igt_random_size()1296 mask = ((max_page_size << 1ULL) - 1) & PAGE_MASK; in igt_random_size()
270 enum vmballoon_page_size_type max_page_size; member538 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()
144 u64 max_page_size; in ps3_mm_vas_create() local148 &start_address, &size, &access_right, &max_page_size, in ps3_mm_vas_create()158 if (max_page_size < PAGE_SHIFT_16M) { in ps3_mm_vas_create()160 max_page_size); in ps3_mm_vas_create()
271 unsigned int max_page_size; member678 ctrl->max_page_size = 16 * 1024; in brcmnand_revision_init()704 ctrl->max_page_size = 2048; in brcmnand_revision_init()706 ctrl->max_page_size = 4096; in brcmnand_revision_init()2531 if (cfg->page_size < BRCMNAND_MIN_PAGESIZE || (ctrl->max_page_size && in brcmnand_set_cfg()2532 cfg->page_size > ctrl->max_page_size)) { in brcmnand_set_cfg()