coherent 94 arch/arc/mm/dma.c const struct iommu_ops *iommu, bool coherent) coherent 101 arch/arc/mm/dma.c if (is_isa_arcv2() && ioc_enable && coherent) coherent 104 arch/arc/plat-hsdk/platform.c static int __init hsdk_tweak_node_coherency(const char *path, bool coherent) coherent 123 arch/arc/plat-hsdk/platform.c if (dt_coh_set && !coherent) coherent 127 arch/arc/plat-hsdk/platform.c if (!dt_coh_set && coherent) coherent 136 arch/arc/plat-hsdk/platform.c pr_err("failed to tweak %s to %scoherent\n", path, coherent ? "" : "non"); coherent 207 arch/arc/plat-hsdk/platform.c bool coherent = !!arc_hsdk_axi_dmac_coherent; coherent 214 arch/arc/plat-hsdk/platform.c if (hsdk_tweak_node_coherency("/soc/dmac@80000", coherent)) coherent 217 arch/arc/plat-hsdk/platform.c if (coherent) { coherent 192 arch/arm/mm/dma-mapping-nommu.c const struct iommu_ops *iommu, bool coherent) coherent 201 arch/arm/mm/dma-mapping-nommu.c dev->archdata.dma_coherent = (cacheid) ? coherent : true; coherent 206 arch/arm/mm/dma-mapping-nommu.c dev->archdata.dma_coherent = (get_cr() & CR_M) ? coherent : true; coherent 1101 arch/arm/mm/dma-mapping.c static const struct dma_map_ops *arm_get_dma_map_ops(bool coherent) coherent 1112 arch/arm/mm/dma-mapping.c return coherent ? &arm_coherent_dma_ops : &arm_dma_ops; coherent 2237 arch/arm/mm/dma-mapping.c static const struct dma_map_ops *arm_get_iommu_dma_map_ops(bool coherent) coherent 2239 arch/arm/mm/dma-mapping.c return coherent ? &iommu_coherent_ops : &iommu_ops; coherent 2293 arch/arm/mm/dma-mapping.c const struct iommu_ops *iommu, bool coherent) coherent 2297 arch/arm/mm/dma-mapping.c dev->archdata.dma_coherent = coherent; coherent 2299 arch/arm/mm/dma-mapping.c dev->dma_coherent = coherent; coherent 2311 arch/arm/mm/dma-mapping.c dma_ops = arm_get_iommu_dma_map_ops(coherent); coherent 2313 arch/arm/mm/dma-mapping.c dma_ops = arm_get_dma_map_ops(coherent); coherent 41 arch/arm64/mm/dma-mapping.c const struct iommu_ops *iommu, bool coherent) coherent 45 arch/arm64/mm/dma-mapping.c WARN_TAINT(!coherent && cls > ARCH_DMA_MINALIGN, coherent 51 arch/arm64/mm/dma-mapping.c dev->dma_coherent = coherent; coherent 146 arch/mips/mm/dma-noncoherent.c const struct iommu_ops *iommu, bool coherent) coherent 148 arch/mips/mm/dma-noncoherent.c dev->dma_coherent = coherent; coherent 29 drivers/crypto/ccp/sp-platform.c int coherent; coherent 160 drivers/crypto/ccp/sp-platform.c sp_platform->coherent = (attr == DEV_DMA_COHERENT); coherent 161 drivers/crypto/ccp/sp-platform.c if (sp_platform->coherent) coherent 557 drivers/crypto/ccree/cc_buffer_mgr.c if (drvdata->coherent && coherent 756 drivers/crypto/ccree/cc_buffer_mgr.c if (!drvdata->coherent) coherent 1027 drivers/crypto/ccree/cc_buffer_mgr.c if (drvdata->coherent && coherent 88 drivers/crypto/ccree/cc_debugfs.c debugfs_create_bool("coherent", 0400, ctx->dir, &drvdata->coherent); coherent 246 drivers/crypto/ccree/cc_driver.c cache_params = (drvdata->coherent ? CC_COHERENT_CACHE_PARAMS : 0x0); coherent 322 drivers/crypto/ccree/cc_driver.c new_drvdata->coherent = of_dma_is_coherent(np); coherent 155 drivers/crypto/ccree/cc_driver.h bool coherent; coherent 470 drivers/gpu/drm/amd/display/dc/bios/command_table.c params.acConfig.fCoherentMode = cntl->coherent; coherent 608 drivers/gpu/drm/amd/display/dc/bios/command_table.c params.acConfig.fCoherentMode = cntl->coherent; coherent 734 drivers/gpu/drm/amd/display/dc/bios/command_table.c params.acConfig.fCoherentMode = cntl->coherent; coherent 792 drivers/gpu/drm/amd/display/dc/bios/command_table.c params.asConfig.ucCoherentMode = cntl->coherent; coherent 838 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c cntl.coherent = false; coherent 857 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c cntl.coherent = false; coherent 831 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c cntl.coherent = false; coherent 122 drivers/gpu/drm/amd/display/include/bios_parser_types.h bool coherent; coherent 155 drivers/gpu/drm/amd/display/include/bios_parser_types.h bool coherent; coherent 32 drivers/gpu/drm/nouveau/include/nvif/if0008.h __u8 coherent; coherent 106 drivers/gpu/drm/nouveau/nvif/mmu.c if (args.coherent) mmu->type[i].type |= NVIF_MEM_COHERENT; coherent 97 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c args->v0.coherent = !!(type & NVKM_MEM_COHERENT); coherent 88 drivers/infiniband/hw/mthca/mthca_memfree.c void mthca_free_icm(struct mthca_dev *dev, struct mthca_icm *icm, int coherent) coherent 96 drivers/infiniband/hw/mthca/mthca_memfree.c if (coherent) coherent 138 drivers/infiniband/hw/mthca/mthca_memfree.c gfp_t gfp_mask, int coherent) coherent 146 drivers/infiniband/hw/mthca/mthca_memfree.c BUG_ON(coherent && (gfp_mask & __GFP_HIGHMEM)); coherent 173 drivers/infiniband/hw/mthca/mthca_memfree.c if (coherent) coherent 184 drivers/infiniband/hw/mthca/mthca_memfree.c if (coherent) coherent 206 drivers/infiniband/hw/mthca/mthca_memfree.c if (!coherent && chunk) { coherent 218 drivers/infiniband/hw/mthca/mthca_memfree.c mthca_free_icm(dev, icm, coherent); coherent 236 drivers/infiniband/hw/mthca/mthca_memfree.c __GFP_NOWARN, table->coherent); coherent 244 drivers/infiniband/hw/mthca/mthca_memfree.c mthca_free_icm(dev, table->icm[i], table->coherent); coherent 271 drivers/infiniband/hw/mthca/mthca_memfree.c mthca_free_icm(dev, table->icm[i], table->coherent); coherent 379 drivers/infiniband/hw/mthca/mthca_memfree.c table->coherent = use_coherent; coherent 397 drivers/infiniband/hw/mthca/mthca_memfree.c mthca_free_icm(dev, table->icm[i], table->coherent); coherent 416 drivers/infiniband/hw/mthca/mthca_memfree.c mthca_free_icm(dev, table->icm[i], table->coherent); coherent 433 drivers/infiniband/hw/mthca/mthca_memfree.c mthca_free_icm(dev, table->icm[i], table->coherent); coherent 69 drivers/infiniband/hw/mthca/mthca_memfree.h int coherent; coherent 83 drivers/infiniband/hw/mthca/mthca_memfree.h gfp_t gfp_mask, int coherent); coherent 84 drivers/infiniband/hw/mthca/mthca_memfree.h void mthca_free_icm(struct mthca_dev *dev, struct mthca_icm *icm, int coherent); coherent 3307 drivers/iommu/arm-smmu-v3.c bool coherent = smmu->features & ARM_SMMU_FEAT_COHERENCY; coherent 3362 drivers/iommu/arm-smmu-v3.c if (!!(reg & IDR0_COHACC) != coherent) coherent 3364 drivers/iommu/arm-smmu-v3.c coherent ? "true" : "false"); coherent 364 drivers/iommu/dma-iommu.c static int dma_info_to_prot(enum dma_data_direction dir, bool coherent, coherent 367 drivers/iommu/dma-iommu.c int prot = coherent ? IOMMU_CACHE : 0; coherent 570 drivers/iommu/dma-iommu.c bool coherent = dev_is_dma_coherent(dev); coherent 571 drivers/iommu/dma-iommu.c int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs); coherent 709 drivers/iommu/dma-iommu.c bool coherent = dev_is_dma_coherent(dev); coherent 710 drivers/iommu/dma-iommu.c int prot = dma_info_to_prot(dir, coherent, attrs); coherent 714 drivers/iommu/dma-iommu.c if (!coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC) && coherent 963 drivers/iommu/dma-iommu.c bool coherent = dev_is_dma_coherent(dev); coherent 975 drivers/iommu/dma-iommu.c if (IS_ENABLED(CONFIG_DMA_REMAP) && (!coherent || PageHighMem(page))) { coherent 983 drivers/iommu/dma-iommu.c if (!coherent) coherent 1000 drivers/iommu/dma-iommu.c bool coherent = dev_is_dma_coherent(dev); coherent 1001 drivers/iommu/dma-iommu.c int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs); coherent 1012 drivers/iommu/dma-iommu.c !gfpflags_allow_blocking(gfp) && !coherent) coherent 333 drivers/net/ethernet/amd/xgbe/xgbe-pci.c pdata->coherent = 1; coherent 446 drivers/net/ethernet/amd/xgbe/xgbe-platform.c pdata->coherent = (attr == DEV_DMA_COHERENT); coherent 447 drivers/net/ethernet/amd/xgbe/xgbe-platform.c if (pdata->coherent) { coherent 1105 drivers/net/ethernet/amd/xgbe/xgbe.h unsigned int coherent; coherent 79 drivers/net/ethernet/mellanox/mlx4/icm.c void mlx4_free_icm(struct mlx4_dev *dev, struct mlx4_icm *icm, int coherent) coherent 87 drivers/net/ethernet/mellanox/mlx4/icm.c if (coherent) coherent 133 drivers/net/ethernet/mellanox/mlx4/icm.c gfp_t gfp_mask, int coherent) coherent 142 drivers/net/ethernet/mellanox/mlx4/icm.c BUG_ON(coherent && (gfp_mask & __GFP_HIGHMEM)); coherent 172 drivers/net/ethernet/mellanox/mlx4/icm.c chunk->coherent = coherent; coherent 174 drivers/net/ethernet/mellanox/mlx4/icm.c if (!coherent) coherent 186 drivers/net/ethernet/mellanox/mlx4/icm.c if (coherent) coherent 204 drivers/net/ethernet/mellanox/mlx4/icm.c if (coherent) coherent 221 drivers/net/ethernet/mellanox/mlx4/icm.c if (!coherent && chunk) { coherent 232 drivers/net/ethernet/mellanox/mlx4/icm.c mlx4_free_icm(dev, icm, coherent); coherent 273 drivers/net/ethernet/mellanox/mlx4/icm.c __GFP_NOWARN, table->coherent); coherent 281 drivers/net/ethernet/mellanox/mlx4/icm.c mlx4_free_icm(dev, table->icm[i], table->coherent); coherent 307 drivers/net/ethernet/mellanox/mlx4/icm.c mlx4_free_icm(dev, table->icm[i], table->coherent); coherent 340 drivers/net/ethernet/mellanox/mlx4/icm.c if (table->coherent) { coherent 438 drivers/net/ethernet/mellanox/mlx4/icm.c table->coherent = use_coherent; coherent 489 drivers/net/ethernet/mellanox/mlx4/icm.c mlx4_free_icm(dev, table->icm[i], table->coherent); coherent 60 drivers/net/ethernet/mellanox/mlx4/icm.h bool coherent; coherent 81 drivers/net/ethernet/mellanox/mlx4/icm.h gfp_t gfp_mask, int coherent); coherent 82 drivers/net/ethernet/mellanox/mlx4/icm.h void mlx4_free_icm(struct mlx4_dev *dev, struct mlx4_icm *icm, int coherent); coherent 127 drivers/net/ethernet/mellanox/mlx4/icm.h if (iter->chunk->coherent) coherent 135 drivers/net/ethernet/mellanox/mlx4/icm.h if (iter->chunk->coherent) coherent 266 drivers/net/ethernet/mellanox/mlx4/mlx4.h int coherent; coherent 93 drivers/of/device.c bool coherent; coherent 158 drivers/of/device.c coherent = of_dma_is_coherent(np); coherent 160 drivers/of/device.c coherent ? " " : " not "); coherent 169 drivers/of/device.c arch_setup_dma_ops(dev, dma_addr, size, iommu, coherent); coherent 104 drivers/xen/gntdev.c args.coherent = !!(map->dma_flags & GNTDEV_DMA_FLAG_COHERENT); coherent 172 drivers/xen/gntdev.c args.coherent = !!(dma_flags & GNTDEV_DMA_FLAG_COHERENT); coherent 857 drivers/xen/grant-table.c if (args->coherent) coherent 927 drivers/xen/grant-table.c if (args->coherent) coherent 706 include/linux/dma-mapping.h const struct iommu_ops *iommu, bool coherent); coherent 709 include/linux/dma-mapping.h u64 size, const struct iommu_ops *iommu, bool coherent) coherent 206 include/xen/grant_table.h bool coherent; coherent 14 sound/parisc/harmony.h int coherent;