| /linux/arch/arm/mach-omap2/ |
| H A D | iomap.h | 60 #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 …]
|
| /linux/arch/arm/mach-imx/ |
| H A D | mx35.h | 6 #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
|
| H A D | mx31.h | 6 #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
|
| H A D | mx3x.h | 37 #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
|
| H A D | mx27.h | 15 #define MX27_AIPI_SIZE SZ_1M 18 #define MX27_SAHB1_SIZE SZ_1M 21 #define MX27_X_MEMC_SIZE SZ_1M
|
| H A D | mx2x.h | 17 #define MX2x_AIPI_SIZE SZ_1M 54 #define MX2x_SAHB1_SIZE SZ_1M
|
| /linux/mm/ |
| H A D | hugetlb_cma.c | 269 orig_size / SZ_1M, hugetlb_cma_percent); in hugetlb_cma_reserve() 281 orig_size / SZ_1M, in hugetlb_cma_reserve() 300 nid, gigantic_page_size / SZ_1M); in hugetlb_cma_reserve() 316 gigantic_page_size / SZ_1M); in hugetlb_cma_reserve() 331 hugetlb_cma_size / SZ_1M, hugetlb_cma_percent, in hugetlb_cma_reserve() 332 per_node / SZ_1M); in hugetlb_cma_reserve() 335 hugetlb_cma_size / SZ_1M, per_node / SZ_1M); in hugetlb_cma_reserve() 372 size / SZ_1M, hugetlb_cma_percent_in_node[nid], nid); in hugetlb_cma_reserve() 375 size / SZ_1M, nid); in hugetlb_cma_reserve()
|
| /linux/fs/btrfs/tests/ |
| H A D | raid-stripe-tree-tests.c | 44 u64 logical1 = SZ_1M; in test_punch_hole_3extents() 45 u64 len1 = SZ_1M; in test_punch_hole_3extents() 47 u64 len2 = SZ_1M; in test_punch_hole_3extents() 49 u64 len3 = SZ_1M; in test_punch_hole_3extents() 190 if (len3 != SZ_1M - SZ_256K) { in test_punch_hole_3extents() 192 (u64)SZ_1M - SZ_256K, len3); in test_punch_hole_3extents() 222 u64 logical1 = SZ_1M; in test_delete_two_extents() 223 u64 len1 = SZ_1M; in test_delete_two_extents() 225 u64 len2 = SZ_1M; in test_delete_two_extents() 227 u64 len3 = SZ_1M; in test_delete_two_extents() [all …]
|
| H A D | extent-io-tests.c | 292 folio = filemap_get_folio(inode->i_mapping, (max_bytes + SZ_1M) >> PAGE_SHIFT); in test_find_delalloc() 582 btrfs_set_extent_bit(&tree, SZ_1M, SZ_4M - 1, in test_find_first_clear_extent_bit() 588 if (start != 0 || end != SZ_1M - 1) { in test_find_first_clear_extent_bit() 601 btrfs_find_first_clear_extent_bit(&tree, 12 * SZ_1M, &start, &end, in test_find_first_clear_extent_bit() 628 btrfs_find_first_clear_extent_bit(&tree, SZ_64M + SZ_1M, &start, &end, in test_find_first_clear_extent_bit() 737 eb = alloc_dummy_extent_buffer(fs_info, SZ_1M); in test_eb_mem_ops()
|
| /linux/drivers/media/platform/samsung/s5p-mfc/ |
| H A D | regs-mfc-v7.h | 36 #define MAX_CPB_SIZE_V7 (3 * SZ_1M) /* 3MB */ 45 #define MFC_H264_DEC_CTX_BUF_SIZE_V7 (2 * SZ_1M) /* 2MB */ 52 (SZ_1M + ((w) * 144) + (8192 * (h)) + 49216)
|
| H A D | regs-mfc-v12.h | 17 #define MFC_H264_DEC_CTX_BUF_SIZE_V12 (2 * SZ_1M) 24 #define MAX_FW_SIZE_V12 (SZ_1M) 25 #define MAX_CPB_SIZE_V12 (7 * SZ_1M)
|
| H A D | regs-mfc-v10.h | 46 #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)
|
| H A D | regs-mfc-v8.h | 96 #define MFC_H264_DEC_CTX_BUF_SIZE_V8 (2 * SZ_1M) /* 2MB */ 122 #define MAX_CPB_SIZE_V8 (3 * SZ_1M) /* 3MB */
|
| /linux/kernel/ |
| H A D | resource_kunit.c | 155 #define RES_TEST_RAM0_SIZE SZ_1M 157 #define RES_TEST_HOLE0_SIZE SZ_1M 159 #define RES_TEST_WIN0_SIZE SZ_1M 161 #define RES_TEST_RAM1_SIZE SZ_1M 163 #define RES_TEST_WIN1_SIZE (SZ_1M * 3) 165 #define RES_TEST_RAM2_SIZE SZ_1M 169 #define RES_TEST_RAM3_SIZE SZ_1M 229 parent = alloc_free_mem_region(&iomem_resource, RES_TEST_TOTAL_SIZE, SZ_1M, in resource_test_region_intersects()
|
| /linux/arch/mips/ralink/ |
| H A D | of.c | 106 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()
|
| /linux/drivers/iommu/ |
| H A D | omap-iommu.h | 211 ((bytes) >= SZ_1M) ? SZ_1M : \ 217 ((bytes) == SZ_1M) ? MMU_CAM_PGSZ_1M : \ 223 ((iopgsz) == MMU_CAM_PGSZ_1M) ? SZ_1M : \
|
| /linux/tools/testing/memblock/tests/ |
| H A D | basic_api.c | 81 .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() 1497 .base = SZ_1M, in memblock_remove_within_check() 1502 .size = SZ_1M in memblock_remove_within_check() 1592 .base = PHYS_ADDR_MAX - SZ_1M, in memblock_remove_near_max_check() 1721 .size = SZ_1M in memblock_free_simple_check() 1725 .size = SZ_1M in memblock_free_simple_check() [all …]
|
| /linux/arch/arm/mach-dove/ |
| H A D | dove.h | 24 #define DOVE_CESA_SIZE SZ_1M 37 #define DOVE_SCRATCHPAD_SIZE SZ_1M 41 #define DOVE_SB_REGS_SIZE SZ_1M
|
| /linux/drivers/gpu/drm/msm/adreno/ |
| H A D | a4xx_catalog.c | 32 .gmem = (SZ_1M + SZ_512K), 43 .gmem = (SZ_1M + SZ_512K),
|
| H A D | a5xx_catalog.c | 123 .gmem = SZ_1M, 142 .gmem = SZ_1M,
|
| /linux/tools/testing/selftests/kvm/s390/ |
| H A D | ucontrol_test.c | 21 #define VM_MEM_SIZE (4 * SZ_1M) 22 #define VM_MEM_EXT_SIZE (2 * SZ_1M) 23 #define VM_MEM_MAX_M ((VM_MEM_SIZE + VM_MEM_EXT_SIZE) / SZ_1M) 160 self->code_gpa = self->base_gpa + (3 * SZ_1M); in FIXTURE_SETUP() 162 self->vm_mem = aligned_alloc(SZ_1M, VM_MEM_MAX_M * SZ_1M); in FIXTURE_SETUP() 313 seg_addr = run->s390_ucontrol.trans_exc_code & ~(SZ_1M - 1); in uc_handle_exit_ucontrol() 317 rc = uc_map_ext(self, seg_addr, SZ_1M); in uc_handle_exit_ucontrol() 574 u64 test_gva = VM_MEM_SIZE - (SZ_1M / 2); in TEST_F()
|
| /linux/rust/kernel/ |
| H A D | sizes.rs | 28 //! SZ_1M, // constant 33 //! let num_pages_in_1m = SZ_1M / PAGE_SIZE; 36 //! let heap_size = 14 * u64::SZ_1M; 84 SZ_1M, 141 /// let gpu_heap = 14 * u64::SZ_1M;
|
| /linux/arch/arm/mach-mv78xx0/ |
| H A D | mv78xx0.h | 46 #define MV78XX0_PCIE_IO_SIZE SZ_1M 50 #define MV78XX0_REGS_SIZE SZ_1M
|
| /linux/drivers/firmware/microchip/ |
| H A D | mpfs-auto-update.c | 76 #define AUTO_UPDATE_INFO_SIZE SZ_1M 127 priv->size_per_bitstream = priv->flash->size - SZ_1K - SZ_1M; in mpfs_auto_update_prepare() 129 if (priv->size_per_bitstream > 20 * SZ_1M) in mpfs_auto_update_prepare() 130 priv->size_per_bitstream = 20 * SZ_1M; in mpfs_auto_update_prepare()
|
| /linux/drivers/pci/controller/ |
| H A D | pcie-rockchip-ep.c | 250 return (addr >> ilog2(SZ_1M)) & 0x1f; in rockchip_ob_region() 266 if (size + offset > SZ_1M) in rockchip_pcie_ep_align_addr() 267 size = SZ_1M - offset; in rockchip_pcie_ep_align_addr() 776 windows[i].phys_base = rockchip->mem_res->start + (SZ_1M * i); in rockchip_pcie_ep_init_ob_mem() 777 windows[i].size = SZ_1M; in rockchip_pcie_ep_init_ob_mem() 778 windows[i].page_size = SZ_1M; in rockchip_pcie_ep_init_ob_mem() 789 SZ_1M); in rockchip_pcie_ep_init_ob_mem()
|