/linux/drivers/gpu/drm/i915/gem/selftests/ |
A D | huge_pages.c | 25 static const unsigned int page_sizes[] = { variable 363 if (vma->page_sizes.phys != obj->mm.page_sizes.phys) { in igt_check_page_sizes() 365 vma->page_sizes.phys, obj->mm.page_sizes.phys); in igt_check_page_sizes() 369 if (vma->page_sizes.sg != obj->mm.page_sizes.sg) { in igt_check_page_sizes() 371 vma->page_sizes.sg, obj->mm.page_sizes.sg); in igt_check_page_sizes() 389 vma->page_sizes.sg & SZ_2M && in igt_check_page_sizes() 392 vma->page_sizes.sg, vma->page_sizes.gtt); in igt_check_page_sizes() 396 if (obj->mm.page_sizes.gtt) { in igt_check_page_sizes() 398 obj->mm.page_sizes.gtt); in igt_check_page_sizes() 425 combination |= page_sizes[j]; in igt_mock_exhaust_device_supported_pages() [all …]
|
/linux/tools/testing/selftests/vm/ |
A D | thuge-gen.c | 50 unsigned long page_sizes[NUM_PAGESIZES]; variable 69 &page_sizes[i]); in find_pagesizes() 70 page_sizes[i] <<= 10; in find_pagesizes() 71 printf("Found %luMB\n", page_sizes[i] >> 20); in find_pagesizes() 201 if (page_sizes[i] > largest) in sanity_checks() 202 largest = page_sizes[i]; in sanity_checks() 204 if (read_free(page_sizes[i]) < NUM_PAGES) { in sanity_checks() 206 page_sizes[i] >> 20, in sanity_checks() 236 unsigned long ps = page_sizes[i]; in main() 248 unsigned long ps = page_sizes[i]; in main()
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_scatterlist.h | 117 unsigned int page_sizes; in i915_sg_dma_sizes() local 119 page_sizes = 0; in i915_sg_dma_sizes() 123 page_sizes |= sg_dma_len(sg); in i915_sg_dma_sizes() 127 return page_sizes; in i915_sg_dma_sizes()
|
A D | i915_debugfs.c | 99 stringify_page_sizes(unsigned int page_sizes, char *buf, size_t len) in stringify_page_sizes() argument 103 switch (page_sizes) { in stringify_page_sizes() 116 if (page_sizes & I915_GTT_PAGE_SIZE_2M) in stringify_page_sizes() 118 if (page_sizes & I915_GTT_PAGE_SIZE_64K) in stringify_page_sizes() 120 if (page_sizes & I915_GTT_PAGE_SIZE_4K) in stringify_page_sizes() 173 stringify_page_sizes(vma->page_sizes.gtt, NULL, 0)); in i915_debugfs_describe_obj()
|
A D | i915_vma_types.h | 191 struct i915_page_sizes page_sizes; member
|
A D | i915_pci.c | 152 .page_sizes = I915_GTT_PAGE_SIZE_4K 632 .page_sizes = I915_GTT_PAGE_SIZE_4K | \ 786 .page_sizes = I915_GTT_PAGE_SIZE_4K | \ 984 .page_sizes = I915_GTT_PAGE_SIZE_4K | \
|
A D | intel_device_info.h | 184 unsigned int page_sizes; /* page sizes supported by the HW */ member
|
A D | i915_vma.c | 694 vma->page_sizes.sg > I915_GTT_PAGE_SIZE) { in i915_vma_insert() 702 rounddown_pow_of_two(vma->page_sizes.sg | in i915_vma_insert() 714 if (vma->page_sizes.sg & I915_GTT_PAGE_SIZE_64K) in i915_vma_insert()
|
A D | intel_device_info.c | 114 drm_printf(p, "page-sizes: %x\n", info->page_sizes); in intel_device_info_print_static()
|
A D | i915_gem.c | 1044 mkwrite_device_info(dev_priv)->page_sizes = in i915_gem_init()
|
A D | i915_drv.h | 1653 ((sizes) & ~INTEL_INFO(dev_priv)->page_sizes) == 0; \
|
A D | i915_gpu_error.c | 1044 dst->gtt_page_sizes = vma->page_sizes.gtt; in i915_vma_coredump_create()
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_pages.c | 18 unsigned long supported = INTEL_INFO(i915)->page_sizes; in __i915_gem_object_set_pages() 43 obj->mm.page_sizes.phys = sg_page_sizes; in __i915_gem_object_set_pages() 53 obj->mm.page_sizes.sg = 0; in __i915_gem_object_set_pages() 55 if (obj->mm.page_sizes.phys & ~0u << i) in __i915_gem_object_set_pages() 56 obj->mm.page_sizes.sg |= BIT(i); in __i915_gem_object_set_pages() 58 GEM_BUG_ON(!HAS_PAGE_SIZES(i915, obj->mm.page_sizes.sg)); in __i915_gem_object_set_pages() 219 obj->mm.page_sizes.phys = obj->mm.page_sizes.sg = 0; in __i915_gem_object_unset_pages()
|
A D | i915_gem_object_types.h | 542 } page_sizes; member
|
/linux/arch/powerpc/include/asm/ |
A D | plpar_wrappers.h | 359 u64 page_sizes, u64 start, u64 end) in pseries_rpt_invalidate() argument 366 page_sizes, start, end); in pseries_rpt_invalidate() 380 all, page_sizes, 0, -1UL); in pseries_rpt_invalidate() 405 u64 page_sizes, u64 start, u64 end) in pseries_rpt_invalidate() argument
|
/linux/drivers/iommu/ |
A D | io-pgtable-arm.c | 741 unsigned long granule, page_sizes; in arm_lpae_restrict_pgsizes() local 762 page_sizes = (SZ_4K | SZ_2M | SZ_1G); in arm_lpae_restrict_pgsizes() 765 page_sizes = (SZ_16K | SZ_32M); in arm_lpae_restrict_pgsizes() 769 page_sizes = (SZ_64K | SZ_512M); in arm_lpae_restrict_pgsizes() 771 page_sizes |= 1ULL << 42; /* 4TB */ in arm_lpae_restrict_pgsizes() 774 page_sizes = 0; in arm_lpae_restrict_pgsizes() 777 cfg->pgsize_bitmap &= page_sizes; in arm_lpae_restrict_pgsizes()
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | intel_gtt.c | 235 memset(&vma->page_sizes, 0, sizeof(vma->page_sizes)); in clear_pages() 310 if (obj->mm.page_sizes.sg < size) in setup_scratch_page()
|
A D | gen8_ppgtt.c | 479 if (vma->page_sizes.sg & I915_GTT_PAGE_SIZE_2M && in gen8_ppgtt_insert_huge() 496 vma->page_sizes.sg & I915_GTT_PAGE_SIZE_64K && in gen8_ppgtt_insert_huge() 576 vma->page_sizes.gtt |= page_size; in gen8_ppgtt_insert_huge() 588 if (vma->page_sizes.sg > I915_GTT_PAGE_SIZE) { in gen8_ppgtt_insert() 601 vma->page_sizes.gtt = I915_GTT_PAGE_SIZE; in gen8_ppgtt_insert()
|
A D | intel_ppgtt.c | 297 vma->page_sizes = vma->obj->mm.page_sizes; in ppgtt_set_pages()
|
A D | intel_ggtt.c | 474 vma->page_sizes.gtt = I915_GTT_PAGE_SIZE; in ggtt_bind_vma() 888 vma->page_sizes = vma->obj->mm.page_sizes; in ggtt_set_pages()
|
A D | gen6_ppgtt.c | 143 vma->page_sizes.gtt = I915_GTT_PAGE_SIZE; in gen6_ppgtt_insert_entries()
|
/linux/drivers/gpu/drm/i915/selftests/ |
A D | mock_gem_device.c | 170 mkwrite_device_info(i915)->page_sizes = in mock_gem_device()
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_dpt.c | 95 vma->page_sizes.gtt = I915_GTT_PAGE_SIZE; in dpt_bind_vma()
|
/linux/drivers/mtd/nand/raw/brcmnand/ |
A D | brcmnand.c | 268 const unsigned int *page_sizes; member 664 ctrl->page_sizes = page_sizes_v3_4; in brcmnand_revision_init() 666 ctrl->page_sizes = page_sizes_v2_2; in brcmnand_revision_init() 668 ctrl->page_sizes = page_sizes_v2_1; in brcmnand_revision_init() 2485 if (ctrl->page_sizes) { in brcmnand_set_cfg() 2488 for (i = 0, found = 0; ctrl->page_sizes[i]; i++) in brcmnand_set_cfg() 2489 if (ctrl->page_sizes[i] == cfg->page_size) { in brcmnand_set_cfg()
|