/drivers/net/ethernet/mellanox/mlx4/ |
D | icm.c | 79 void mlx4_free_icm(struct mlx4_dev *dev, struct mlx4_icm *icm, int coherent) in mlx4_free_icm() argument 87 if (coherent) in mlx4_free_icm() 133 gfp_t gfp_mask, int coherent) in mlx4_alloc_icm() argument 142 BUG_ON(coherent && (gfp_mask & __GFP_HIGHMEM)); in mlx4_alloc_icm() 172 chunk->coherent = coherent; in mlx4_alloc_icm() 174 if (!coherent) in mlx4_alloc_icm() 186 if (coherent) in mlx4_alloc_icm() 204 if (coherent) in mlx4_alloc_icm() 221 if (!coherent && chunk) { in mlx4_alloc_icm() 232 mlx4_free_icm(dev, icm, coherent); in mlx4_alloc_icm() [all …]
|
D | icm.h | 60 bool coherent; member 81 gfp_t gfp_mask, int coherent); 82 void mlx4_free_icm(struct mlx4_dev *dev, struct mlx4_icm *icm, int coherent); 127 if (iter->chunk->coherent) in mlx4_icm_addr() 135 if (iter->chunk->coherent) in mlx4_icm_size()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_memfree.c | 88 void mthca_free_icm(struct mthca_dev *dev, struct mthca_icm *icm, int coherent) in mthca_free_icm() argument 96 if (coherent) in mthca_free_icm() 138 gfp_t gfp_mask, int coherent) in mthca_alloc_icm() argument 146 BUG_ON(coherent && (gfp_mask & __GFP_HIGHMEM)); in mthca_alloc_icm() 173 if (coherent) in mthca_alloc_icm() 184 if (coherent) in mthca_alloc_icm() 207 if (!coherent && chunk) { in mthca_alloc_icm() 218 mthca_free_icm(dev, icm, coherent); in mthca_alloc_icm() 236 __GFP_NOWARN, table->coherent); in mthca_table_get() 244 mthca_free_icm(dev, table->icm[i], table->coherent); in mthca_table_get() [all …]
|
D | mthca_memfree.h | 69 int coherent; member 83 gfp_t gfp_mask, int coherent); 84 void mthca_free_icm(struct mthca_dev *dev, struct mthca_icm *icm, int coherent);
|
/drivers/crypto/ccp/ |
D | sp-platform.c | 29 int coherent; member 160 sp_platform->coherent = (attr == DEV_DMA_COHERENT); in sp_platform_probe() 161 if (sp_platform->coherent) in sp_platform_probe()
|
/drivers/of/ |
D | device.c | 121 bool coherent; in of_dma_configure_id() local 194 coherent = of_dma_is_coherent(np); in of_dma_configure_id() 196 coherent ? " " : " not "); in of_dma_configure_id() 210 arch_setup_dma_ops(dev, dma_start, size, iommu, coherent); in of_dma_configure_id()
|
D | Kconfig | 94 # arches should select this if DMA is coherent by default for OF devices
|
/drivers/iommu/ |
D | dma-iommu.c | 454 static int dma_info_to_prot(enum dma_data_direction dir, bool coherent, in dma_info_to_prot() argument 457 int prot = coherent ? IOMMU_CACHE : 0; in dma_info_to_prot() 662 bool coherent = dev_is_dma_coherent(dev); in __iommu_dma_alloc_noncontiguous() local 663 int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs); in __iommu_dma_alloc_noncontiguous() 850 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_map_page() local 851 int prot = dma_info_to_prot(dir, coherent, attrs); in iommu_dma_map_page() 887 if (!coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in iommu_dma_map_page() 1204 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc_pages() local 1216 if (IS_ENABLED(CONFIG_DMA_REMAP) && (!coherent || PageHighMem(page))) { in iommu_dma_alloc_pages() 1224 if (!coherent) in iommu_dma_alloc_pages() [all …]
|
/drivers/gpu/drm/amd/display/include/ |
D | bios_parser_types.h | 129 bool coherent; member 162 bool coherent; member
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_resource.c | 140 if (res->coherent) in vmw_resource_release() 230 res->coherent = false; in vmw_resource_init() 423 !res->coherent) { in vmw_resource_do_validate() 489 if (res->coherent) in vmw_resource_unreserve() 501 WARN_ON(res->coherent && !new_backup->dirty); in vmw_resource_unreserve() 507 } else if (switch_backup && res->coherent) { in vmw_resource_unreserve()
|
/drivers/gpu/drm/nouveau/include/nvif/ |
D | if0008.h | 32 __u8 coherent; member
|
/drivers/cxl/ |
D | Kconfig | 9 locally, the CXL.mem protocol allows devices to be fully coherent 21 "System RAM" and/or "Persistent Memory" that is fully coherent
|
/drivers/misc/ocxl/ |
D | Kconfig | 11 tristate "OpenCAPI coherent accelerator support"
|
/drivers/iommu/intel/ |
D | cap_audit.c | 72 CHECK_FEATURE_MISMATCH(a, b, ecap, coherent, ECAP_C_MASK); in check_dmar_capabilities() 119 CHECK_FEATURE_MISMATCH_HOTPLUG(iommu, ecap, coherent, ECAP_C_MASK); in cap_audit_hotplug()
|
/drivers/crypto/ccree/ |
D | cc_driver.c | 114 val = drvdata->coherent ? 0xb : 0x2; in init_cc_cache_params() 140 val = drvdata->coherent ? 0x2 : 0x3; in init_cc_cache_params() 349 new_drvdata->coherent = of_dma_is_coherent(np); in init_cc_resources()
|
D | cc_debugfs.c | 81 debugfs_create_bool("coherent", 0400, drvdata->dir, &drvdata->coherent); in cc_debugfs_init()
|
D | cc_driver.h | 147 bool coherent; member
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gpuvm.c | 404 bool coherent = mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_COHERENT; in get_pte_flags() local 420 mapping_flags |= coherent ? in get_pte_flags() 423 mapping_flags |= coherent ? in get_pte_flags() 426 mapping_flags |= coherent ? in get_pte_flags() 431 if (coherent && uncached) { in get_pte_flags() 438 mapping_flags |= coherent ? in get_pte_flags() 443 mapping_flags |= coherent ? in get_pte_flags() 450 mapping_flags |= coherent ? in get_pte_flags() 455 mapping_flags |= coherent ? in get_pte_flags()
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-platform.c | 446 pdata->coherent = (attr == DEV_DMA_COHERENT); in xgbe_platform_probe() 447 if (pdata->coherent) { in xgbe_platform_probe()
|
/drivers/gpu/drm/nouveau/nvif/ |
D | mmu.c | 107 if (args.coherent) mmu->type[i].type |= NVIF_MEM_COHERENT; in nvif_mmu_ctor()
|
/drivers/gpu/drm/panfrost/ |
D | panfrost_device.h | 92 bool coherent; member
|
D | panfrost_gem.c | 229 obj->base.map_wc = !pfdev->coherent; in panfrost_gem_create_object()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | ummu.c | 97 args->v0.coherent = !!(type & NVKM_MEM_COHERENT); in nvkm_ummu_type()
|
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_svm.c | 1046 bool coherent = flags & KFD_IOCTL_SVM_FLAG_COHERENT; in svm_range_get_pte_flags() local 1055 mapping_flags |= coherent ? in svm_range_get_pte_flags() 1058 mapping_flags |= coherent ? in svm_range_get_pte_flags() 1064 mapping_flags |= coherent ? in svm_range_get_pte_flags() 1071 mapping_flags |= coherent ? in svm_range_get_pte_flags() 1076 mapping_flags |= coherent ? in svm_range_get_pte_flags() 1082 mapping_flags |= coherent ? in svm_range_get_pte_flags() 1087 mapping_flags |= coherent ? in svm_range_get_pte_flags()
|
/drivers/gpu/drm/amd/display/dc/bios/ |
D | command_table.c | 504 params.acConfig.fCoherentMode = cntl->coherent; in transmitter_control_v2() 642 params.acConfig.fCoherentMode = cntl->coherent; in transmitter_control_v3() 768 params.acConfig.fCoherentMode = cntl->coherent; in transmitter_control_v4() 826 params.asConfig.ucCoherentMode = cntl->coherent; in transmitter_control_v1_5()
|