Home
last modified time | relevance | path

Searched refs:SZ_1M (Results 1 – 25 of 139) sorted by relevance

123456

/Linux-v6.6/arch/arm/mach-omap2/
Diomap.h60 #define L3_24XX_SIZE SZ_1M /* 44kB of 128MB used, want 1MB sect */
63 #define L4_24XX_SIZE SZ_1M /* 1MB of 128MB used, want 1MB sect */
67 #define L4_WK_243X_SIZE SZ_1M
71 #define OMAP243X_GPMC_SIZE SZ_1M
75 #define OMAP243X_SDRC_SIZE SZ_1M
79 #define OMAP243X_SMS_SIZE SZ_1M
106 #define L3_34XX_SIZE SZ_1M /* 44kB of 128MB used, want 1MB sect */
129 #define L4_PER_34XX_SIZE SZ_1M
139 #define OMAP34XX_GPMC_SIZE SZ_1M
144 #define OMAP343X_SMS_SIZE SZ_1M
[all …]
Domap4-common.c151 dram_sync_size = ALIGN(PAGE_SIZE, SZ_1M); in omap_barrier_reserve_memblock()
152 dram_sync_paddr = arm_memblock_steal(dram_sync_size, SZ_1M); in omap_barrier_reserve_memblock()
/Linux-v6.6/fs/btrfs/tests/
Dfree-space-tests.c51 ret = btrfs_remove_free_space(cache, 3 * SZ_1M, SZ_1M); in test_extents()
57 ret = btrfs_remove_free_space(cache, 0, SZ_1M); in test_extents()
69 if (test_check_exists(cache, 0, SZ_1M)) { in test_extents()
79 if (test_check_exists(cache, 3 * SZ_1M, SZ_1M)) { in test_extents()
120 ret = btrfs_remove_free_space(cache, SZ_1M, 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()
171 ret = test_add_free_space_entry(cache, SZ_4M, SZ_1M, 1); in test_bitmaps_and_extents()
177 ret = test_add_free_space_entry(cache, 0, SZ_1M, 0); in test_bitmaps_and_extents()
183 ret = btrfs_remove_free_space(cache, 0, SZ_1M); in test_bitmaps_and_extents()
[all …]
Dextent-io-tests.c274 (max_bytes + SZ_1M) >> PAGE_SHIFT); in test_find_delalloc()
562 set_extent_bit(&tree, SZ_1M, SZ_4M - 1, in test_find_first_clear_extent_bit()
568 if (start != 0 || end != SZ_1M - 1) { in test_find_first_clear_extent_bit()
581 find_first_clear_extent_bit(&tree, 12 * SZ_1M, &start, &end, in test_find_first_clear_extent_bit()
608 find_first_clear_extent_bit(&tree, SZ_64M + SZ_1M, &start, &end, in test_find_first_clear_extent_bit()
713 eb = __alloc_dummy_extent_buffer(fs_info, SZ_1M, nodesize); in test_eb_mem_ops()
/Linux-v6.6/arch/arm/mach-imx/
Dmx31.h6 #define MX31_AIPS1_SIZE SZ_1M
8 #define MX31_SPBA0_SIZE SZ_1M
10 #define MX31_AIPS2_SIZE SZ_1M
12 #define MX31_AVIC_SIZE SZ_1M
Dmx35.h6 #define MX35_AIPS1_SIZE SZ_1M
8 #define MX35_SPBA0_SIZE SZ_1M
10 #define MX35_AIPS2_SIZE SZ_1M
12 #define MX35_AVIC_SIZE SZ_1M
Dmx3x.h37 #define MX3x_L2CC_SIZE SZ_1M
43 #define MX3x_AIPS1_SIZE SZ_1M
67 #define MX3x_SPBA0_SIZE SZ_1M
79 #define MX3x_AIPS2_SIZE SZ_1M
101 #define MX3x_ROMP_SIZE SZ_1M
104 #define MX3x_AVIC_SIZE SZ_1M
Dmx27.h15 #define MX27_AIPI_SIZE SZ_1M
18 #define MX27_SAHB1_SIZE SZ_1M
21 #define MX27_X_MEMC_SIZE SZ_1M
Dmx2x.h17 #define MX2x_AIPI_SIZE SZ_1M
54 #define MX2x_SAHB1_SIZE SZ_1M
/Linux-v6.6/drivers/media/platform/samsung/s5p-mfc/
Dregs-mfc-v7.h35 #define MAX_CPB_SIZE_V7 (3 * SZ_1M) /* 3MB */
44 #define MFC_H264_DEC_CTX_BUF_SIZE_V7 (2 * SZ_1M) /* 2MB */
51 (SZ_1M + ((w) * 144) + (8192 * (h)) + 49216)
Dregs-mfc-v10.h46 #define MFC_H264_DEC_CTX_BUF_SIZE_V10 (2 * SZ_1M)
53 #define MAX_FW_SIZE_V10 (SZ_1M)
54 #define MAX_CPB_SIZE_V10 (3 * SZ_1M)
Dregs-mfc-v8.h93 #define MFC_H264_DEC_CTX_BUF_SIZE_V8 (2 * SZ_1M) /* 2MB */
119 #define MAX_CPB_SIZE_V8 (3 * SZ_1M) /* 3MB */
Dregs-mfc-v6.h372 #define S5P_FIMV_MAX_FRAME_SIZE_V6 (2 * SZ_1M)
397 #define MFC_H264_DEC_CTX_BUF_SIZE_V6 (2 * SZ_1M) /* 2MB */
404 #define MAX_CPB_SIZE_V6 (3 * SZ_1M) /* 3MB */
/Linux-v6.6/arch/mips/ralink/
Dof.c106 memblock_add(soc_info.mem_base, soc_info.mem_size * SZ_1M); in plat_mem_setup()
109 soc_info.mem_size_min * SZ_1M, in plat_mem_setup()
110 soc_info.mem_size_max * SZ_1M); in plat_mem_setup()
Dmt7621.c81 for (size = 32 * SZ_1M; size <= 256 * SZ_1M; size <<= 1) { in mt7621_memory_detect()
/Linux-v6.6/drivers/iommu/
Domap-iommu.h213 ((bytes) >= SZ_1M) ? SZ_1M : \
219 ((bytes) == SZ_1M) ? MMU_CAM_PGSZ_1M : \
225 ((iopgsz) == MMU_CAM_PGSZ_1M) ? SZ_1M : \
/Linux-v6.6/arch/arm/mach-dove/
Ddove.h24 #define DOVE_CESA_SIZE SZ_1M
37 #define DOVE_SCRATCHPAD_SIZE SZ_1M
41 #define DOVE_SB_REGS_SIZE SZ_1M
/Linux-v6.6/drivers/gpu/drm/msm/adreno/
Dadreno_device.c109 .gmem = SZ_1M,
131 .gmem = (SZ_1M + SZ_512K),
142 .gmem = (SZ_1M + SZ_512K),
242 .gmem = SZ_1M,
261 .gmem = SZ_1M,
383 .gmem = SZ_1M,
397 .gmem = SZ_1M,
415 .gmem = SZ_1M + SZ_128K,
437 .gmem = SZ_1M + SZ_512K,
/Linux-v6.6/arch/arm/mach-omap1/
Dboard-ams-delta.c301 .size = 3 * SZ_1M + SZ_512K },
303 .offset = 3 * SZ_1M + SZ_512K,
306 .offset = 3 * SZ_1M + SZ_512K + SZ_256K,
309 .offset = 4 * SZ_1M,
312 .offset = 4 * SZ_1M + 1 * SZ_256K,
313 .size = 27 * SZ_1M },
315 .offset = 32 * SZ_1M - 3 * SZ_256K,
/Linux-v6.6/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_log.c20 #define GUC_LOG_DEFAULT_CAPTURE_BUFFER_SIZE SZ_1M
22 #define GUC_LOG_DEFAULT_CRASH_BUFFER_SIZE SZ_1M
24 #define GUC_LOG_DEFAULT_CAPTURE_BUFFER_SIZE SZ_1M
28 #define GUC_LOG_DEFAULT_CAPTURE_BUFFER_SIZE SZ_1M
69 if (log->sizes[GUC_LOG_SECTIONS_DEBUG].bytes >= SZ_1M && in _guc_log_init_sizes()
70 GUC_LOG_DEFAULT_CRASH_BUFFER_SIZE < SZ_1M) in _guc_log_init_sizes()
71 log->sizes[GUC_LOG_SECTIONS_CRASH].bytes = SZ_1M; in _guc_log_init_sizes()
76 if ((log->sizes[i].bytes % SZ_1M) == 0) { in _guc_log_init_sizes()
77 log->sizes[i].units = SZ_1M; in _guc_log_init_sizes()
/Linux-v6.6/arch/arm/mach-mv78xx0/
Dmv78xx0.h46 #define MV78XX0_PCIE_IO_SIZE SZ_1M
50 #define MV78XX0_REGS_SIZE SZ_1M
/Linux-v6.6/tools/testing/memblock/tests/
Dbasic_api.c81 .base = SZ_1M, in memblock_add_node_simple_check()
284 .size = SZ_1M in memblock_add_within_check()
404 .base = PHYS_ADDR_MAX - SZ_1M, in memblock_add_near_max_check()
747 .base = SZ_1M, in memblock_reserve_within_check()
873 .base = PHYS_ADDR_MAX - SZ_1M, in memblock_reserve_near_max_check()
1239 .base = SZ_1M, in memblock_remove_within_check()
1244 .size = SZ_1M in memblock_remove_within_check()
1334 .base = PHYS_ADDR_MAX - SZ_1M, in memblock_remove_near_max_check()
1463 .size = SZ_1M in memblock_free_simple_check()
1467 .size = SZ_1M in memblock_free_simple_check()
[all …]
/Linux-v6.6/arch/x86/platform/efi/
Dquirks.c467 if (start + size < SZ_1M) in efi_free_boot_services()
469 if (start < SZ_1M) { in efi_free_boot_services()
470 size -= (SZ_1M - start); in efi_free_boot_services()
471 start = SZ_1M; in efi_free_boot_services()
/Linux-v6.6/drivers/gpu/drm/i915/gt/
Dintel_region_lmem.c67 (resource_size_t)SZ_1M; in i915_resize_lmem_bar()
176 *size = SZ_1M; in get_legacy_lowmem_region()
250 mul_u32_u32(i915->params.lmem_size, SZ_1M)); in setup_lmem()
/Linux-v6.6/drivers/hwtracing/coresight/
Dcoresight-catu.c153 table_end = offset + SZ_1M < buf_size ? in catu_dump_table()
154 offset + SZ_1M : buf_size; in catu_dump_table()
209 table_end = (offset + SZ_1M) < buf_size ? in catu_populate_table()
210 (offset + SZ_1M) : buf_size; in catu_populate_table()
270 nr_tpages = DIV_ROUND_UP(size, SZ_1M) / CATU_PAGES_PER_SYSPAGE; in catu_init_sg_table()

123456