Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm/mm/
H A 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()
H A 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()
1494 if (dev->dma_coherent || !iova) in arm_iommu_sync_single_for_cpu()
1509 if (dev->dma_coherent || !iova) in arm_iommu_sync_single_for_device()
[all …]
/openbmc/linux/arch/arc/mm/
H A Ddma.c102 dev->dma_coherent = true; in arch_setup_dma_ops()
105 dev->dma_coherent ? "" : "non"); in arch_setup_dma_ops()
/openbmc/linux/arch/arm64/mm/
H A Ddma-mapping.c60 dev->dma_coherent = coherent; in arch_setup_dma_ops()
/openbmc/linux/drivers/scsi/arcmsr/
H A Darcmsr_hba.c676 void *dma_coherent; in arcmsr_alloc_io_queue() local
685 if (!dma_coherent) { in arcmsr_alloc_io_queue()
699 if (!dma_coherent) { in arcmsr_alloc_io_queue()
715 if (!dma_coherent){ in arcmsr_alloc_io_queue()
721 acb->pCompletionQ = dma_coherent; in arcmsr_alloc_io_queue()
736 if (!dma_coherent) { in arcmsr_alloc_io_queue()
742 acb->pCompletionQ = dma_coherent; in arcmsr_alloc_io_queue()
757 void *dma_coherent; in arcmsr_alloc_ccb_pool() local
785 if(!dma_coherent){ in arcmsr_alloc_ccb_pool()
789 acb->dma_coherent = dma_coherent; in arcmsr_alloc_ccb_pool()
[all …]
H A Darcmsr.h902 void * dma_coherent; member
/openbmc/linux/arch/mips/mm/
H A Ddma-noncoherent.c143 dev->dma_coherent = coherent; in arch_setup_dma_ops()
/openbmc/linux/arch/riscv/mm/
H A Ddma-noncoherent.c144 dev->dma_coherent = coherent; in arch_setup_dma_ops()
/openbmc/linux/arch/arm/mach-highbank/
H A Dhighbank.c101 dev->dma_coherent = true; in highbank_platform_notifier()
/openbmc/linux/arch/arm/mach-mvebu/
H A Dcoherency.c98 dev->dma_coherent = true; in mvebu_hwcc_notifier()
/openbmc/linux/drivers/scsi/
H A Dhptiop.h322 void *dma_coherent[HPTIOP_MAX_REQUESTS]; member
H A 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()
/openbmc/linux/drivers/dma/ti/
H A 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()
H A 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()
/openbmc/linux/include/linux/
H A Ddma-map-ops.h264 return dev->dma_coherent; in dev_is_dma_coherent()
H A Ddevice.h803 bool dma_coherent:1; member
/openbmc/linux/drivers/base/
H A Dcore.c3134 dev->dma_coherent = dma_default_coherent; in device_initialize()