/Linux-v5.10/drivers/gpu/drm/etnaviv/ |
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 …]
|
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() 161 drm_mm_init(&context->mm, GPU_MEM_START, PT_ENTRIES * SZ_4K); in etnaviv_iommuv1_context_alloc()
|
D | etnaviv_mmu.c | 20 size_t pgsize = SZ_4K; in etnaviv_context_unmap() 44 size_t pgsize = SZ_4K; in etnaviv_context_map() 453 global->bad_page_cpu = dma_alloc_wc(dev, SZ_4K, &global->bad_page_dma, in etnaviv_iommu_global_init() 458 memset32(global->bad_page_cpu, 0xdead55aa, SZ_4K / sizeof(u32)); in etnaviv_iommu_global_init() 482 dma_free_wc(dev, SZ_4K, global->bad_page_cpu, global->bad_page_dma); in etnaviv_iommu_global_init() 502 dma_free_wc(global->dev, SZ_4K, in etnaviv_iommu_global_fini()
|
/Linux-v5.10/arch/arm64/kernel/ |
D | vmlinux.lds.S | 52 . = ALIGN(SZ_4K); \ 62 . = ALIGN(SZ_4K); \ 69 . = ALIGN(SZ_4K); \ 295 ASSERT(__hyp_idmap_text_end - (__hyp_idmap_text_start & ~(SZ_4K - 1)) <= SZ_4K, 297 ASSERT(__idmap_text_end - (__idmap_text_start & ~(SZ_4K - 1)) <= SZ_4K, 300 ASSERT(__hibernate_exit_text_end - (__hibernate_exit_text_start & ~(SZ_4K - 1)) 301 <= SZ_4K, "Hibernate exit text too big or misaligned")
|
D | module-plts.c | 18 add = aarch64_insn_gen_add_sub_imm(reg, reg, dst % SZ_4K, in __get_adrp_add_pair() 53 p = ALIGN_DOWN((u64)a, SZ_4K); in plt_entries_equal() 54 q = ALIGN_DOWN((u64)b, SZ_4K); in plt_entries_equal() 236 if (min_align > SZ_4K) in count_plts() 251 ret += DIV_ROUND_UP(ret, (SZ_4K / sizeof(struct plt_entry))); in count_plts()
|
/Linux-v5.10/fs/btrfs/tests/ |
D | extent-map-tests.c | 90 em->len = SZ_4K; in test_case_1() 92 em->block_len = SZ_4K; in test_case_1() 177 em->start = SZ_4K; in test_case_2() 178 em->len = SZ_4K; in test_case_2() 179 em->block_start = SZ_4K; in test_case_2() 180 em->block_len = SZ_4K; in test_case_2() 229 u64 len = SZ_4K; in __test_case_3() 239 em->start = SZ_4K; in __test_case_3() 240 em->len = SZ_4K; in __test_case_3() 241 em->block_start = SZ_4K; in __test_case_3() [all …]
|
/Linux-v5.10/arch/arm/mach-tegra/ |
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-v5.10/arch/arm/mach-davinci/ |
D | devices.c | 125 .end = DAVINCI_MMCSD0_BASE + SZ_4K - 1, 155 .end = DM355_MMCSD1_BASE + SZ_4K - 1, 215 SZ_4K - 1; in davinci_setup_mmc() 227 mmcsd0_resources[0].end = DM355_MMCSD0_BASE + SZ_4K - 1; in davinci_setup_mmc() 239 SZ_4K - 1; in davinci_setup_mmc()
|
D | devices-da8xx.c | 302 .end = DA8XX_I2C0_BASE + SZ_4K - 1, 322 .end = DA8XX_I2C1_BASE + SZ_4K - 1, 358 .end = DA8XX_WDOG_BASE + SZ_4K - 1, 424 .end = DA8XX_EMAC_MDIO_BASE + SZ_4K - 1, 670 .end = DA8XX_LCD_CNTRL_BASE + SZ_4K - 1, 699 .end = DA8XX_GPIO_BASE + SZ_4K - 1, 765 .end = DA8XX_MMCSD0_BASE + SZ_4K - 1, 792 .end = DA850_MMCSD1_BASE + SZ_4K - 1, 939 .end = DA8XX_RTC_BASE + SZ_4K - 1, 1012 .end = DA8XX_SPI0_BASE + SZ_4K - 1, [all …]
|
D | pm.c | 134 pm_config.cpupll_reg_base = ioremap(DA8XX_PLL0_BASE, SZ_4K); in davinci_pm_init() 138 pm_config.ddrpll_reg_base = ioremap(DA850_PLL1_BASE, SZ_4K); in davinci_pm_init() 144 pm_config.ddrpsc_reg_base = ioremap(DA8XX_PSC1_BASE, SZ_4K); in davinci_pm_init()
|
D | da850.c | 342 .reg = DEFINE_RES_IO(DA8XX_TIMER64P0_BASE, SZ_4K), 626 da8xx_syscfg0_base = ioremap(DA8XX_SYSCFG0_BASE, SZ_4K); in da850_init() 630 da8xx_syscfg1_base = ioremap(DA8XX_SYSCFG1_BASE, SZ_4K); in da850_init() 657 pll0 = ioremap(DA8XX_PLL0_BASE, SZ_4K); in da850_init_time() 675 .end = DA850_PLL1_BASE + SZ_4K - 1, 695 .end = DA8XX_PSC0_BASE + SZ_4K - 1, 710 .end = DA8XX_PSC1_BASE + SZ_4K - 1,
|
/Linux-v5.10/arch/arm/mach-integrator/ |
D | integrator_cp.c | 43 .length = SZ_4K, 48 .length = SZ_4K, 53 .length = SZ_4K,
|
/Linux-v5.10/arch/arm/mach-s3c/ |
D | s3c64xx.c | 110 .length = SZ_4K, 115 .length = SZ_4K, 120 .length = SZ_4K, 140 .length = SZ_4K, 145 .length = SZ_4K, 150 .length = SZ_4K,
|
D | devs.c | 192 [0] = DEFINE_RES_MEM(S3C_PA_HSMMC0, SZ_4K), 222 [0] = DEFINE_RES_MEM(S3C_PA_HSMMC1, SZ_4K), 254 [0] = DEFINE_RES_MEM(S3C_PA_HSMMC2, SZ_4K), 284 [0] = DEFINE_RES_MEM(S3C_PA_HSMMC3, SZ_4K), 315 [0] = DEFINE_RES_MEM(S3C_PA_IIC, SZ_4K), 350 [0] = DEFINE_RES_MEM(S3C_PA_IIC1, SZ_4K), 379 [0] = DEFINE_RES_MEM(S3C_PA_IIC2, SZ_4K), 408 [0] = DEFINE_RES_MEM(S3C_PA_IIC3, SZ_4K), 437 [0] = DEFINE_RES_MEM(S3C_PA_IIC4, SZ_4K), 466 [0] = DEFINE_RES_MEM(S3C_PA_IIC5, SZ_4K), [all …]
|
/Linux-v5.10/arch/arm/mach-cns3xxx/ |
D | core.c | 35 .length = SZ_4K, 40 .length = SZ_4K, 45 .length = SZ_4K, 51 .length = SZ_4K, 66 .length = SZ_4K, 260 void __iomem *base = ioremap(CNS3XXX_L2C_BASE, SZ_4K); in cns3xxx_l2x0_init()
|
/Linux-v5.10/drivers/iommu/ |
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-v5.10/drivers/mtd/nand/raw/ |
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) },
|
/Linux-v5.10/arch/arm/mach-ixp4xx/ |
D | ixp4xx-of.c | 25 .length = SZ_4K, 33 .length = SZ_4K,
|
/Linux-v5.10/drivers/gpu/drm/meson/ |
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-v5.10/arch/arm/mach-nomadik/ |
D | cpu-8815.c | 77 .length = SZ_4K, 89 void __iomem *srcbase = ioremap(NOMADIK_SRC_BASE, SZ_4K); in cpu8815_restart()
|
/Linux-v5.10/arch/arm/mach-ep93xx/ |
D | vision_ep9307.c | 51 .length = SZ_4K, 177 .size = SZ_4K, 181 .size = SZ_4K,
|
/Linux-v5.10/drivers/media/platform/qcom/venus/ |
D | helpers.c | 836 uv_plane = uv_stride * uv_sclines + SZ_4K; in get_framesize_raw_nv12() 839 return ALIGN(size, SZ_4K); in get_framesize_raw_nv12() 852 y_meta_plane = ALIGN(y_meta_plane, SZ_4K); in get_framesize_raw_nv12_ubwc() 855 y_plane = ALIGN(y_stride * ALIGN(height, 32), SZ_4K); in get_framesize_raw_nv12_ubwc() 859 uv_meta_plane = ALIGN(uv_meta_plane, SZ_4K); in get_framesize_raw_nv12_ubwc() 862 uv_plane = ALIGN(uv_stride * ALIGN(height / 2, 32), SZ_4K); in get_framesize_raw_nv12_ubwc() 865 max(extradata, y_stride * 48), SZ_4K); in get_framesize_raw_nv12_ubwc() 879 return ALIGN((y_plane + uv_plane), SZ_4K); in get_framesize_raw_p010() 896 y_ubwc_plane = ALIGN(y_stride * y_sclines, SZ_4K); in get_framesize_raw_p010_ubwc() 897 uv_ubwc_plane = ALIGN(uv_stride * uv_sclines, SZ_4K); in get_framesize_raw_p010_ubwc() [all …]
|
/Linux-v5.10/drivers/acpi/arm64/ |
D | gtdt.c | 215 timer_mem->size = SZ_4K; in gtdt_parse_timer_block() 265 frame->size = SZ_4K; in gtdt_parse_timer_block() 339 DEFINE_RES_MEM(wd->control_frame_address, SZ_4K), in gtdt_import_sbsa_gwdt() 340 DEFINE_RES_MEM(wd->refresh_frame_address, SZ_4K), in gtdt_import_sbsa_gwdt()
|
/Linux-v5.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_io.h | 21 #define HINIC_DB_PAGE_SIZE SZ_4K 23 #define HINIC_HW_WQ_PAGE_SIZE SZ_4K
|
/Linux-v5.10/arch/powerpc/include/asm/nohash/32/ |
D | pgtable.h | 237 return PAGE_SIZE / SZ_4K; in number_of_cells_per_pte() 241 return SZ_16K / SZ_4K; in number_of_cells_per_pte() 243 return SZ_512K / SZ_4K; in number_of_cells_per_pte() 257 for (i = 0; i < num; i++, entry++, new += SZ_4K) in pte_update()
|