Home
last modified time | relevance | path

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

/linux-6.6.21/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.c1084 int coherent_flag = dev->dma_coherent ? COHERENT : NORMAL; in arm_iommu_alloc_attrs()
1132 if (!dev->dma_coherent) in arm_iommu_mmap_attrs()
1149 int coherent_flag = dev->dma_coherent ? COHERENT : NORMAL; in arm_iommu_free_attrs()
1210 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in __map_sg_chunk()
1312 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in arm_iommu_unmap_sg()
1332 if (dev->dma_coherent) in arm_iommu_sync_sg_for_cpu()
1354 if (dev->dma_coherent) in arm_iommu_sync_sg_for_device()
1379 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in arm_iommu_map_page()
1420 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in arm_iommu_unmap_page()
1494 if (dev->dma_coherent || !iova) in arm_iommu_sync_single_for_cpu()
[all …]
/linux-6.6.21/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-6.6.21/arch/arm64/mm/
Ddma-mapping.c60 dev->dma_coherent = coherent; in arch_setup_dma_ops()
/linux-6.6.21/drivers/scsi/arcmsr/
Darcmsr_hba.c676 void *dma_coherent; in arcmsr_alloc_io_queue() local
683 dma_coherent = dma_alloc_coherent(&pdev->dev, acb->ioqueue_size, in arcmsr_alloc_io_queue()
685 if (!dma_coherent) { in arcmsr_alloc_io_queue()
690 acb->dma_coherent2 = dma_coherent; in arcmsr_alloc_io_queue()
691 acb->pmuB = (struct MessageUnit_B *)dma_coherent; in arcmsr_alloc_io_queue()
697 dma_coherent = dma_alloc_coherent(&pdev->dev, acb->ioqueue_size, in arcmsr_alloc_io_queue()
699 if (!dma_coherent) { in arcmsr_alloc_io_queue()
704 acb->dma_coherent2 = dma_coherent; in arcmsr_alloc_io_queue()
705 acb->pmuD = (struct MessageUnit_D *)dma_coherent; in arcmsr_alloc_io_queue()
713 dma_coherent = dma_alloc_coherent(&pdev->dev, acb->ioqueue_size, in arcmsr_alloc_io_queue()
[all …]
Darcmsr.h902 void * dma_coherent; member
/linux-6.6.21/arch/mips/mm/
Ddma-noncoherent.c143 dev->dma_coherent = coherent; in arch_setup_dma_ops()
/linux-6.6.21/arch/arm/mach-highbank/
Dhighbank.c101 dev->dma_coherent = true; in highbank_platform_notifier()
/linux-6.6.21/arch/riscv/mm/
Ddma-noncoherent.c144 dev->dma_coherent = coherent; in arch_setup_dma_ops()
/linux-6.6.21/arch/arm/mach-mvebu/
Dcoherency.c98 dev->dma_coherent = true; in mvebu_hwcc_notifier()
/linux-6.6.21/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-6.6.21/drivers/dma/ti/
Dk3-udma-glue.c310 tx_chn->common.chan_dev.dma_coherent = true; in k3_udma_glue_request_tx_chn()
932 rx_chn->common.chan_dev.dma_coherent = true; in k3_udma_glue_request_rx_chn_priv()
1064 rx_chn->common.chan_dev.dma_coherent = true; in k3_udma_glue_request_remote_rx_chn()
Dk3-udma.c431 chan_dev->dma_coherent = false; in k3_configure_chan_coherency()
436 chan_dev->dma_coherent = true; in k3_configure_chan_coherency()
442 chan_dev->dma_coherent = false; in k3_configure_chan_coherency()
/linux-6.6.21/include/linux/
Ddma-map-ops.h264 return dev->dma_coherent; in dev_is_dma_coherent()
Ddevice.h803 bool dma_coherent:1; member
/linux-6.6.21/drivers/base/
Dcore.c3116 dev->dma_coherent = dma_default_coherent; in device_initialize()