/openbmc/linux/arch/arm64/include/asm/ |
H A D | boot.h | 13 #define MAX_FDT_SIZE SZ_2M 18 #define MIN_KIMG_ALIGN SZ_2M
|
/openbmc/u-boot/include/configs/ |
H A D | sifive-fu540.h | 15 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_2M) 17 #define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_2M)
|
H A D | qemu-arm.h | 16 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_2M) 17 #define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_2M)
|
H A D | qemu-riscv.h | 12 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_2M) 14 #define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_2M)
|
H A D | nsim.h | 23 #define CONFIG_SYS_MALLOC_LEN SZ_2M
|
H A D | axs10x.h | 30 #define CONFIG_SYS_MALLOC_LEN SZ_2M
|
H A D | colibri_t20.h | 33 #define CONFIG_ENV_OFFSET (SZ_2M)
|
H A D | hsdk.h | 31 #define CONFIG_SYS_MALLOC_LEN SZ_2M
|
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | huge_pages.c | 411 IS_ALIGNED(i915_vma_offset(vma), SZ_2M) && in igt_check_page_sizes() 412 vma->page_sizes.sg & SZ_2M && in igt_check_page_sizes() 413 vma->resource->page_sizes_gtt < SZ_2M) { in igt_check_page_sizes() 887 .size = SZ_2M, in igt_ppgtt_64K() 892 .size = SZ_2M - SZ_4K, in igt_ppgtt_64K() 897 .size = SZ_2M + SZ_4K, in igt_ppgtt_64K() 902 .size = SZ_2M + SZ_64K, in igt_ppgtt_64K() 907 .size = SZ_2M - SZ_64K, in igt_ppgtt_64K() 914 .offset = SZ_2M, in igt_ppgtt_64K() 919 .offset = SZ_2M - SZ_64K, in igt_ppgtt_64K() [all …]
|
/openbmc/linux/fs/btrfs/tests/ |
H A D | free-space-tests.c | 63 ret = btrfs_remove_free_space(cache, SZ_2M, 4096); in test_extents() 74 if (test_check_exists(cache, SZ_2M, 4096)) { in test_extents() 120 ret = btrfs_remove_free_space(cache, SZ_1M, SZ_2M); in test_bitmaps() 133 ret = test_add_free_space_entry(cache, next_bitmap_offset - SZ_2M, in test_bitmaps() 141 ret = btrfs_remove_free_space(cache, next_bitmap_offset - SZ_1M, SZ_2M); in test_bitmaps() 147 if (test_check_exists(cache, next_bitmap_offset - SZ_1M, SZ_2M)) { in test_bitmaps() 242 ret = test_add_free_space_entry(cache, SZ_2M, SZ_2M, 0); in test_bitmaps_and_extents() 302 ret = test_add_free_space_entry(cache, SZ_1M, SZ_2M, 1); in test_bitmaps_and_extents()
|
/openbmc/linux/drivers/gpu/drm/panfrost/ |
H A D | panfrost_mmu.c | 261 size_t blk_offset = -addr % SZ_2M; in get_pgsize() 263 if (blk_offset || size < SZ_2M) { in get_pgsize() 268 *count = min(blk_offset, size) / SZ_2M; in get_pgsize() 269 return SZ_2M; in get_pgsize() 437 #define NUM_FAULT_PAGES (SZ_2M / PAGE_SIZE) 465 addr &= ~((u64)SZ_2M - 1); in panfrost_mmu_map_fault_addr() 474 bo->sgts = kvmalloc_array(bo->base.base.size / SZ_2M, in panfrost_mmu_map_fault_addr() 518 sgt = &bo->sgts[page_offset / (SZ_2M / PAGE_SIZE)]; in panfrost_mmu_map_fault_addr() 520 NUM_FAULT_PAGES, 0, SZ_2M, GFP_KERNEL); in panfrost_mmu_map_fault_addr() 632 .pgsize_bitmap = SZ_4K | SZ_2M, in panfrost_mmu_ctx_create()
|
H A D | panfrost_gem.c | 40 int n_sgt = bo->base.base.size / SZ_2M; in panfrost_gem_free_object() 142 align = size >= SZ_2M ? SZ_2M >> PAGE_SHIFT : 0; in panfrost_gem_open() 245 size = roundup(size, SZ_2M); in panfrost_gem_create()
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | iomap.h | 192 #define L4_WK_54XX_SIZE SZ_2M 243 #define L4_PER3_DRA7XX_SIZE SZ_2M 251 #define L4_CFG_DRA7XX_SIZE (SZ_1M + SZ_2M)
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_ids.c | 60 SZ_8K, SZ_8K, SZ_2M, 0, 8, 640, NAND_ECC_INFO(40, SZ_1K) }, 66 SZ_8K, SZ_4K, SZ_2M, NAND_NEED_SCRAMBLING, 6, 640, 70 SZ_8K, SZ_8K, SZ_2M, NAND_NEED_SCRAMBLING, 6, 640,
|
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | efi-stub.c | 269 if (IS_ALIGNED(in->phys_addr, SZ_2M) && size >= SZ_2M) in efi_get_virtmap() 270 efi_virt_base = round_up(efi_virt_base, SZ_2M); in efi_get_virtmap()
|
/openbmc/linux/arch/powerpc/platforms/83xx/ |
H A D | misc.c | 125 int immrsize = IS_ALIGNED(immrbase, SZ_2M) ? SZ_2M : SZ_1M; in mpc83xx_setup_arch()
|
/openbmc/linux/arch/sh/boards/mach-microdev/ |
H A D | setup.c | 158 .end = 0x07200000 + SZ_2M - 1, 163 .end = 0x07000000 + SZ_2M - 1,
|
/openbmc/linux/tools/testing/memblock/tests/ |
H A D | basic_api.c | 312 .size = SZ_2M in memblock_add_twice_check() 405 .size = SZ_2M in memblock_add_near_max_check() 751 .base = SZ_2M, in memblock_reserve_within_check() 781 .size = SZ_2M in memblock_reserve_twice_check() 874 .size = SZ_2M in memblock_reserve_near_max_check() 1184 .base = SZ_2M, in memblock_remove_overlap_bottom_check() 1329 .base = PHYS_ADDR_MAX - SZ_2M, in memblock_remove_near_max_check() 1330 .size = SZ_2M in memblock_remove_near_max_check() 1335 .size = SZ_2M in memblock_remove_near_max_check() 1511 .base = SZ_2M, in memblock_free_absent_check() [all …]
|
/openbmc/u-boot/arch/arm/mach-tegra/tegra186/ |
H A D | nvtboot_mem.c | 102 bank_start = ROUND(bank_start, SZ_2M); in dram_init() 103 bank_end = bank_end & ~(SZ_2M - 1); in dram_init()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | nand_ids.c | 46 SZ_8K, SZ_8K, SZ_2M, 0, 8, 640, NAND_ECC_INFO(40, SZ_1K) }, 55 SZ_8K, SZ_8K, SZ_2M, NAND_NEED_SCRAMBLING, 6, 640,
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | efi.h | 30 return SZ_2M; in efi_get_kimg_min_align()
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | efi.h | 38 return IS_ENABLED(CONFIG_64BIT) ? SZ_2M : SZ_4M; in efi_get_kimg_min_align()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_migrate.c | 52 d->offset += SZ_2M; in xehpsdv_toggle_pdes() 187 sz += (sz / SZ_2M) * SZ_64K; in migrate_vm() 385 GEM_BUG_ON(!IS_ALIGNED(offset, SZ_2M)); in emit_pte() 387 offset /= SZ_2M; in emit_pte() 432 if (IS_ALIGNED(total, SZ_2M)) { in emit_pte() 435 dword_rem = SZ_2M - (total & (SZ_2M - 1)); in emit_pte()
|
/openbmc/u-boot/include/linux/ |
H A D | sizes.h | 36 #define SZ_2M 0x00200000 macro
|
/openbmc/linux/tools/include/linux/ |
H A D | sizes.h | 33 #define SZ_2M 0x00200000 macro
|