Home
last modified time | relevance | path

Searched refs:coherent (Results 1 – 25 of 42) sorted by relevance

12

/drivers/net/ethernet/mellanox/mlx4/
Dicm.c79 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 …]
Dicm.h60 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/
Dmthca_memfree.c88 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 …]
Dmthca_memfree.h69 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/
Dsp-platform.c29 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/
Ddevice.c121 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()
DKconfig94 # arches should select this if DMA is coherent by default for OF devices
/drivers/iommu/
Ddma-iommu.c454 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/
Dbios_parser_types.h129 bool coherent; member
162 bool coherent; member
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c140 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/
Dif0008.h32 __u8 coherent; member
/drivers/cxl/
DKconfig9 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/
DKconfig11 tristate "OpenCAPI coherent accelerator support"
/drivers/iommu/intel/
Dcap_audit.c72 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/
Dcc_driver.c114 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()
Dcc_debugfs.c81 debugfs_create_bool("coherent", 0400, drvdata->dir, &drvdata->coherent); in cc_debugfs_init()
Dcc_driver.h147 bool coherent; member
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gpuvm.c404 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/
Dxgbe-platform.c446 pdata->coherent = (attr == DEV_DMA_COHERENT); in xgbe_platform_probe()
447 if (pdata->coherent) { in xgbe_platform_probe()
/drivers/gpu/drm/nouveau/nvif/
Dmmu.c107 if (args.coherent) mmu->type[i].type |= NVIF_MEM_COHERENT; in nvif_mmu_ctor()
/drivers/gpu/drm/panfrost/
Dpanfrost_device.h92 bool coherent; member
Dpanfrost_gem.c229 obj->base.map_wc = !pfdev->coherent; in panfrost_gem_create_object()
/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dummu.c97 args->v0.coherent = !!(type & NVKM_MEM_COHERENT); in nvkm_ummu_type()
/drivers/gpu/drm/amd/amdkfd/
Dkfd_svm.c1046 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/
Dcommand_table.c504 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()

12