/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() 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 …]
|
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/iommu/ |
D | dma-iommu.c | 431 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/ |
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 | 142 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()
|
D | Kconfig | 100 # arches should select this if DMA is coherent by default for OF devices
|
/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 | 138 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/ |
D | if0008.h | 32 __u8 coherent; member
|
/drivers/misc/ocxl/ |
D | Kconfig | 11 tristate "OpenCAPI coherent accelerator support"
|
/drivers/crypto/ccree/ |
D | cc_debugfs.c | 81 debugfs_create_bool("coherent", 0400, drvdata->dir, &drvdata->coherent); in cc_debugfs_init()
|
D | cc_driver.h | 149 bool coherent; member
|
D | cc_driver.c | 248 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()
|
D | cc_buffer_mgr.c | 527 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/ |
D | xgbe-platform.c | 446 pdata->coherent = (attr == DEV_DMA_COHERENT); in xgbe_platform_probe() 447 if (pdata->coherent) { in xgbe_platform_probe()
|
D | xgbe-pci.c | 333 pdata->coherent = 1; in xgbe_pci_probe()
|
/drivers/gpu/drm/panfrost/ |
D | panfrost_device.h | 91 bool coherent; member
|
D | panfrost_gem.c | 229 obj->base.map_cached = pfdev->coherent; in panfrost_gem_create_object()
|
/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/nouveau/nvkm/subdev/mmu/ |
D | ummu.c | 97 args->v0.coherent = !!(type & NVKM_MEM_COHERENT); in nvkm_ummu_type()
|
/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()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gpuvm.c | 393 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/ |
D | Kconfig | 27 generation of PA-RISC cache-coherent machines. Programs the
|