Home
last modified time | relevance | path

Searched refs:dma_coherent (Results 1 – 17 of 17) sorted by relevance

/Linux-v6.1/arch/arc/mm/
Ddma.c102 dev->dma_coherent = true; in arch_setup_dma_ops()
105 dev->dma_coherent ? "" : "non"); in arch_setup_dma_ops()
/Linux-v6.1/arch/arm/mm/
Ddma-mapping-nommu.c46 dev->dma_coherent = cacheid ? coherent : true; in arch_setup_dma_ops()
51 dev->dma_coherent = (get_cr() & CR_M) ? coherent : true; in arch_setup_dma_ops()
Ddma-mapping.c1087 int coherent_flag = dev->dma_coherent ? COHERENT : NORMAL; in arm_iommu_alloc_attrs()
1144 if (!dev->dma_coherent) in arm_iommu_mmap_attrs()
1161 int coherent_flag = dev->dma_coherent ? COHERENT : NORMAL; in arm_iommu_free_attrs()
1222 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in __map_sg_chunk()
1323 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in arm_iommu_unmap_sg()
1343 if (dev->dma_coherent) in arm_iommu_sync_sg_for_cpu()
1365 if (dev->dma_coherent) in arm_iommu_sync_sg_for_device()
1390 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in arm_iommu_map_page()
1430 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in arm_iommu_unmap_page()
1504 if (dev->dma_coherent || !iova) in arm_iommu_sync_single_for_cpu()
[all …]
/Linux-v6.1/arch/arm64/mm/
Ddma-mapping.c75 dev->dma_coherent = coherent; in arch_setup_dma_ops()
/Linux-v6.1/arch/riscv/mm/
Ddma-noncoherent.c72 dev->dma_coherent = coherent; in arch_setup_dma_ops()
/Linux-v6.1/drivers/scsi/arcmsr/
Darcmsr_hba.c672 void *dma_coherent; in arcmsr_alloc_io_queue() local
679 dma_coherent = dma_alloc_coherent(&pdev->dev, acb->ioqueue_size, in arcmsr_alloc_io_queue()
681 if (!dma_coherent) { in arcmsr_alloc_io_queue()
686 acb->dma_coherent2 = dma_coherent; in arcmsr_alloc_io_queue()
687 acb->pmuB = (struct MessageUnit_B *)dma_coherent; in arcmsr_alloc_io_queue()
693 dma_coherent = dma_alloc_coherent(&pdev->dev, acb->ioqueue_size, in arcmsr_alloc_io_queue()
695 if (!dma_coherent) { in arcmsr_alloc_io_queue()
700 acb->dma_coherent2 = dma_coherent; in arcmsr_alloc_io_queue()
701 acb->pmuD = (struct MessageUnit_D *)dma_coherent; in arcmsr_alloc_io_queue()
709 dma_coherent = dma_alloc_coherent(&pdev->dev, acb->ioqueue_size, in arcmsr_alloc_io_queue()
[all …]
Darcmsr.h897 void * dma_coherent; member
/Linux-v6.1/arch/mips/mm/
Ddma-noncoherent.c143 dev->dma_coherent = coherent; in arch_setup_dma_ops()
/Linux-v6.1/arch/arm/mach-highbank/
Dhighbank.c101 dev->dma_coherent = true; in highbank_platform_notifier()
/Linux-v6.1/arch/arm/mach-mvebu/
Dcoherency.c98 dev->dma_coherent = true; in mvebu_hwcc_notifier()
/Linux-v6.1/drivers/scsi/
Dhptiop.h322 void *dma_coherent[HPTIOP_MAX_REQUESTS]; member
Dhptiop.c1440 hba->dma_coherent[i] = start_virt; in hptiop_probe()
1473 if (hba->dma_coherent[i] && hba->dma_coherent_handle[i]) in hptiop_probe()
1476 hba->dma_coherent[i], in hptiop_probe()
1560 if (hba->dma_coherent[i] && hba->dma_coherent_handle[i]) in hptiop_remove()
1563 hba->dma_coherent[i], in hptiop_remove()
/Linux-v6.1/drivers/dma/ti/
Dk3-udma-glue.c309 tx_chn->common.chan_dev.dma_coherent = true; in k3_udma_glue_request_tx_chn()
928 rx_chn->common.chan_dev.dma_coherent = true; in k3_udma_glue_request_rx_chn_priv()
1060 rx_chn->common.chan_dev.dma_coherent = true; in k3_udma_glue_request_remote_rx_chn()
Dk3-udma.c428 chan_dev->dma_coherent = false; in k3_configure_chan_coherency()
433 chan_dev->dma_coherent = true; in k3_configure_chan_coherency()
439 chan_dev->dma_coherent = false; in k3_configure_chan_coherency()
/Linux-v6.1/include/linux/
Ddma-map-ops.h269 return dev->dma_coherent; in dev_is_dma_coherent()
Ddevice.h648 bool dma_coherent:1; member
/Linux-v6.1/drivers/base/
Dcore.c2994 dev->dma_coherent = dma_default_coherent; in device_initialize()