Home
last modified time | relevance | path

Searched refs:coherent (Results 1 – 25 of 39) 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()
206 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/iommu/
Ddma-iommu.c431 static int dma_info_to_prot(enum dma_data_direction dir, bool coherent, in dma_info_to_prot() argument
434 int prot = coherent ? IOMMU_CACHE : 0; in dma_info_to_prot()
646 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc_remap() local
647 int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs); in iommu_dma_alloc_remap()
787 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_map_page() local
788 int prot = dma_info_to_prot(dir, coherent, attrs); in iommu_dma_map_page()
792 if (!coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC) && in iommu_dma_map_page()
1045 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc_pages() local
1057 if (IS_ENABLED(CONFIG_DMA_REMAP) && (!coherent || PageHighMem(page))) { in iommu_dma_alloc_pages()
1065 if (!coherent) in iommu_dma_alloc_pages()
[all …]
/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.c142 bool coherent; in of_dma_configure_id() local
215 coherent = of_dma_is_coherent(np); in of_dma_configure_id()
217 coherent ? " " : " not "); in of_dma_configure_id()
231 arch_setup_dma_ops(dev, dma_start, size, iommu, coherent); in of_dma_configure_id()
DKconfig100 # arches should select this if DMA is coherent by default for OF devices
/drivers/gpu/drm/amd/display/include/
Dbios_parser_types.h129 bool coherent; member
162 bool coherent; member
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c138 if (res->coherent) in vmw_resource_release()
229 res->coherent = false; in vmw_resource_init()
424 !res->coherent) { in vmw_resource_do_validate()
490 if (res->coherent) in vmw_resource_unreserve()
502 WARN_ON(res->coherent && !new_backup->dirty); in vmw_resource_unreserve()
508 } else if (switch_backup && res->coherent) { in vmw_resource_unreserve()
/drivers/gpu/drm/nouveau/include/nvif/
Dif0008.h32 __u8 coherent; member
/drivers/misc/ocxl/
DKconfig11 tristate "OpenCAPI coherent accelerator support"
/drivers/crypto/ccree/
Dcc_debugfs.c81 debugfs_create_bool("coherent", 0400, drvdata->dir, &drvdata->coherent); in cc_debugfs_init()
Dcc_driver.h149 bool coherent; member
Dcc_driver.c248 cache_params = (drvdata->coherent ? CC_COHERENT_CACHE_PARAMS : 0x0); in init_cc_regs()
307 new_drvdata->coherent = of_dma_is_coherent(np); in init_cc_resources()
Dcc_buffer_mgr.c527 if (drvdata->coherent && in cc_unmap_aead_request()
709 if (!drvdata->coherent) in cc_prepare_aead_data_mlli()
966 if (drvdata->coherent && in cc_map_aead_request()
/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()
Dxgbe-pci.c333 pdata->coherent = 1; in xgbe_pci_probe()
/drivers/gpu/drm/panfrost/
Dpanfrost_device.h91 bool coherent; member
Dpanfrost_gem.c229 obj->base.map_cached = pfdev->coherent; in panfrost_gem_create_object()
/drivers/gpu/drm/nouveau/nvif/
Dmmu.c107 if (args.coherent) mmu->type[i].type |= NVIF_MEM_COHERENT; in nvif_mmu_ctor()
/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dummu.c97 args->v0.coherent = !!(type & NVKM_MEM_COHERENT); in nvkm_ummu_type()
/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()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gpuvm.c393 bool coherent = mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_COHERENT; in get_pte_flags() local
406 mapping_flags |= coherent ? in get_pte_flags()
411 mapping_flags |= coherent ? in get_pte_flags()
416 mapping_flags |= coherent ? in get_pte_flags()
/drivers/parisc/
DKconfig27 generation of PA-RISC cache-coherent machines. Programs the

12