/linux/fs/btrfs/tests/ |
H A D | extent-map-tests.c | 101 em->len = SZ_4K; in test_case_1() 103 em->disk_num_bytes = SZ_4K; in test_case_1() 104 em->ram_bytes = SZ_4K; in test_case_1() 199 em->start = SZ_4K; in test_case_2() 200 em->len = SZ_4K; in test_case_2() 201 em->disk_bytenr = SZ_4K; in test_case_2() 202 em->disk_num_bytes = SZ_4K; in test_case_2() 203 em->ram_bytes = SZ_4K; in test_case_2() 259 u64 len = SZ_4K; in __test_case_3() 270 em->start = SZ_4K; in __test_case_3() [all …]
|
/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_iommu_v2.c | 56 dma_free_wc(context->global->dev, SZ_4K, in etnaviv_iommuv2_free() 61 dma_free_wc(context->global->dev, SZ_4K, v2_context->mtlb_cpu, in etnaviv_iommuv2_free() 76 dma_alloc_wc(v2_context->base.global->dev, SZ_4K, in etnaviv_iommuv2_ensure_stlb() 84 SZ_4K / sizeof(u32)); in etnaviv_iommuv2_ensure_stlb() 100 if (size != SZ_4K) in etnaviv_iommuv2_map() 127 if (size != SZ_4K) in etnaviv_iommuv2_unmap() 135 return SZ_4K; in etnaviv_iommuv2_unmap() 141 size_t dump_size = SZ_4K; in etnaviv_iommuv2_dump_size() 146 dump_size += SZ_4K; in etnaviv_iommuv2_dump_size() 156 memcpy(buf, v2_context->mtlb_cpu, SZ_4K); in etnaviv_iommuv2_dump() [all …]
|
H A D | etnaviv_iommu.c | 52 unsigned int index = (iova - GPU_MEM_START) / SZ_4K; in etnaviv_iommuv1_map() 54 if (size != SZ_4K) in etnaviv_iommuv1_map() 66 unsigned int index = (iova - GPU_MEM_START) / SZ_4K; in etnaviv_iommuv1_unmap() 68 if (size != SZ_4K) in etnaviv_iommuv1_unmap() 73 return SZ_4K; in etnaviv_iommuv1_unmap() 165 drm_mm_init(&context->mm, GPU_MEM_START, PT_ENTRIES * SZ_4K); in etnaviv_iommuv1_context_alloc()
|
/linux/arch/arm64/kernel/ |
H A D | vmlinux.lds.S | 89 . = ALIGN(SZ_4K); \ 328 . += SZ_4K; /* stack for the early C runtime */ 360 ASSERT(__idmap_text_end - (__idmap_text_start & ~(SZ_4K - 1)) <= SZ_4K, 363 ASSERT(__hibernate_exit_text_end - __hibernate_exit_text_start <= SZ_4K, 390 ASSERT(__relocate_new_kernel_end - __relocate_new_kernel_start <= SZ_4K, 392 ASSERT(KEXEC_CONTROL_PAGE_SIZE >= SZ_4K, "KEXEC_CONTROL_PAGE_SIZE is broken")
|
H A D | module-plts.c | 19 add = aarch64_insn_gen_add_sub_imm(reg, reg, dst % SZ_4K, in __get_adrp_add_pair() 55 p = ALIGN_DOWN((u64)a, SZ_4K); in plt_entries_equal() 56 q = ALIGN_DOWN((u64)b, SZ_4K); in plt_entries_equal() 229 if (min_align > SZ_4K) in count_plts() 243 ret += DIV_ROUND_UP(ret, (SZ_4K / sizeof(struct plt_entry))); in count_plts()
|
/linux/drivers/cxl/core/ |
H A D | regs.c | 482 if (!request_mem_region(rcrb, SZ_4K, dev_name(dev))) in cxl_rcrb_to_aer() 485 addr = ioremap(rcrb, SZ_4K); in cxl_rcrb_to_aer() 504 release_mem_region(rcrb, SZ_4K); in cxl_rcrb_to_aer() 516 if (!request_mem_region(rcrb, SZ_4K, "CXL RCRB")) in cxl_rcrb_to_linkcap() 519 addr = ioremap(rcrb, SZ_4K); in cxl_rcrb_to_linkcap() 522 release_mem_region(rcrb, SZ_4K); in cxl_rcrb_to_linkcap() 530 if (offset == 0 || offset > SZ_4K) { in cxl_rcrb_to_linkcap() 538 release_mem_region(rcrb, SZ_4K); in cxl_rcrb_to_linkcap() 576 rcrb += SZ_4K; in __rcrb_to_component() 584 if (!request_mem_region(rcrb, SZ_4K, "CXL RCRB")) in __rcrb_to_component() [all …]
|
/linux/arch/arm/mach-s3c/ |
H A D | devs.c | 84 [0] = DEFINE_RES_MEM(S3C_PA_HSMMC0, SZ_4K), 114 [0] = DEFINE_RES_MEM(S3C_PA_HSMMC1, SZ_4K), 146 [0] = DEFINE_RES_MEM(S3C_PA_HSMMC2, SZ_4K), 176 [0] = DEFINE_RES_MEM(S3C_PA_HSMMC3, SZ_4K), 207 [0] = DEFINE_RES_MEM(S3C_PA_IIC, SZ_4K), 242 [0] = DEFINE_RES_MEM(S3C_PA_IIC1, SZ_4K), 299 DEFINE_RES_MEM(SAMSUNG_PA_TIMER, SZ_4K),
|
H A D | s3c64xx.c | 102 .length = SZ_4K, 107 .length = SZ_4K, 112 .length = SZ_4K, 132 .length = SZ_4K, 137 .length = SZ_4K, 142 .length = SZ_4K,
|
/linux/arch/powerpc/include/asm/nohash/32/ |
H A D | pte-8xx.h | 154 return SZ_4K; in __pte_leaf_size() 178 return PAGE_SIZE / SZ_4K; in number_of_cells_per_pte() 180 return SZ_4M / SZ_4K; in number_of_cells_per_pte() 182 return SZ_16K / SZ_4K; in number_of_cells_per_pte() 184 return SZ_512K / SZ_4K; in number_of_cells_per_pte() 198 for (i = 0; i < num; i += PAGE_SIZE / SZ_4K, new += PAGE_SIZE) { in __pte_update()
|
/linux/arch/arm/mach-tegra/ |
H A D | iomap.h | 23 #define TEGRA_ARM_INT_DIST_SIZE SZ_4K 41 #define TEGRA_CLK_RESET_SIZE SZ_4K 50 #define TEGRA_EXCEPTION_VECTORS_SIZE SZ_4K 53 #define TEGRA_APB_MISC_SIZE SZ_4K
|
/linux/drivers/mtd/nand/raw/ |
H A D | nand_ids.c | 34 SZ_4K, SZ_512, SZ_256K, 0, 8, 224, NAND_ECC_INFO(4, SZ_512) }, 37 SZ_4K, SZ_512, SZ_256K, 0, 8, 256, NAND_ECC_INFO(8, SZ_512) }, 40 SZ_4K, SZ_1K, SZ_256K, 0, 8, 232, NAND_ECC_INFO(4, SZ_512) }, 43 SZ_8K, SZ_4K, SZ_1M, 0, 8, 640, NAND_ECC_INFO(40, SZ_1K) }, 66 SZ_4K, SZ_1K, SZ_256K, 0, 5, 256, NAND_ECC_INFO(8, SZ_512)},
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_buddy_test.c | 36 ps = max(SZ_4K, ps); in drm_test_buddy_alloc_range_bias() 265 const unsigned long ps = SZ_4K; in drm_test_buddy_alloc_clear() 275 mm_size = SZ_4K << max_order; in drm_test_buddy_alloc_clear() 368 size = SZ_4K << order; in drm_test_buddy_alloc_clear() 392 mm_size = 12 * SZ_4K; in drm_test_buddy_alloc_clear() 405 const unsigned long ps = SZ_4K, mm_size = 16 * 3 * SZ_4K; in drm_test_buddy_alloc_contiguous() 508 mm_size = SZ_4K << max_order; in drm_test_buddy_alloc_pathological() 509 KUNIT_ASSERT_FALSE_MSG(test, drm_buddy_init(&mm, mm_size, SZ_4K), in drm_test_buddy_alloc_pathological() 587 mm_size = SZ_4K << max_order; in drm_test_buddy_alloc_pessimistic() 588 KUNIT_ASSERT_FALSE_MSG(test, drm_buddy_init(&mm, mm_size, SZ_4K), in drm_test_buddy_alloc_pessimistic() [all …]
|
/linux/arch/arm/mach-versatile/ |
H A D | integrator_cp.c | 41 .length = SZ_4K, 46 .length = SZ_4K, 51 .length = SZ_4K,
|
H A D | integrator_ap.c | 48 .length = SZ_4K, 53 .length = SZ_4K,
|
/linux/drivers/iommu/ |
H A D | omap-iommu.h | 215 ((bytes) >= SZ_4K) ? SZ_4K : 0) 221 ((bytes) == SZ_4K) ? MMU_CAM_PGSZ_4K : -1) 227 ((iopgsz) == MMU_CAM_PGSZ_4K) ? SZ_4K : 0)
|
/linux/drivers/gpu/drm/meson/ |
H A D | meson_rdma.c | 29 dma_alloc_coherent(priv->dev, SZ_4K, in meson_rdma_init() 55 dma_free_coherent(priv->dev, SZ_4K, in meson_rdma_free() 94 if (priv->rdma.offset >= (SZ_4K / RDMA_DESC_SIZE)) { in meson_rdma_writel()
|
/linux/rust/kernel/ |
H A D | sizes.rs | 12 pub const SZ_4K: usize = bindings::SZ_4K as usize; constant
|
/linux/arch/arm/mach-davinci/ |
H A D | pm.c | 133 pm_config.cpupll_reg_base = ioremap(DA8XX_PLL0_BASE, SZ_4K); in davinci_pm_init() 137 pm_config.ddrpll_reg_base = ioremap(DA850_PLL1_BASE, SZ_4K); in davinci_pm_init() 143 pm_config.ddrpsc_reg_base = ioremap(DA8XX_PSC1_BASE, SZ_4K); in davinci_pm_init()
|
/linux/arch/arm/mach-nomadik/ |
H A D | cpu-8815.c | 64 .length = SZ_4K, 76 void __iomem *srcbase = ioremap(NOMADIK_SRC_BASE, SZ_4K); in cpu8815_restart()
|
/linux/arch/x86/crypto/ |
H A D | blake2s-glue.c | 32 BUILD_BUG_ON(SZ_4K / BLAKE2S_BLOCK_SIZE < 8); in blake2s_compress() 41 SZ_4K / BLAKE2S_BLOCK_SIZE); in blake2s_compress()
|
/linux/drivers/media/platform/qcom/venus/ |
H A D | helpers.c | 957 uv_plane = uv_stride * uv_sclines + SZ_4K; in get_framesize_raw_nv12() 960 return ALIGN(size, SZ_4K); in get_framesize_raw_nv12() 973 y_meta_plane = ALIGN(y_meta_plane, SZ_4K); in get_framesize_raw_nv12_ubwc() 976 y_plane = ALIGN(y_stride * ALIGN(height, 32), SZ_4K); in get_framesize_raw_nv12_ubwc() 980 uv_meta_plane = ALIGN(uv_meta_plane, SZ_4K); in get_framesize_raw_nv12_ubwc() 983 uv_plane = ALIGN(uv_stride * ALIGN(height / 2, 32), SZ_4K); in get_framesize_raw_nv12_ubwc() 986 max(extradata, y_stride * 48), SZ_4K); in get_framesize_raw_nv12_ubwc() 1000 return ALIGN((y_plane + uv_plane), SZ_4K); in get_framesize_raw_p010() 1017 y_ubwc_plane = ALIGN(y_stride * y_sclines, SZ_4K); in get_framesize_raw_p010_ubwc() 1018 uv_ubwc_plane = ALIGN(uv_stride * uv_sclines, SZ_4K); in get_framesize_raw_p010_ubwc() [all …]
|
/linux/sound/soc/intel/avs/ |
H A D | icl.c | 69 u8 rsvd[SZ_4K]; 71 u8 slot_array[AVS_ICL_MEMWND2_SLOTS_COUNT][SZ_4K]; 95 return offsetof(struct avs_icl_memwnd2, slot_array) + i * SZ_4K; in avs_icl_slot_offset()
|
/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_io.h | 21 #define HINIC_DB_PAGE_SIZE SZ_4K 23 #define HINIC_HW_WQ_PAGE_SIZE SZ_4K
|
H A D | hinic_hw_qp.h | 44 #define HINIC_SQ_DEPTH SZ_4K 45 #define HINIC_RQ_DEPTH SZ_4K 47 #define HINIC_MAX_QUEUE_DEPTH SZ_4K
|
/linux/drivers/acpi/arm64/ |
H A D | apmt.c | 33 res[num_res].end = node->base_address0 + SZ_4K - 1; in apmt_init_resources() 40 res[num_res].end = node->base_address1 + SZ_4K - 1; in apmt_init_resources()
|