Home
last modified time | relevance | path

Searched refs:dma_coherent (Results 1 - 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
1420 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in arm_iommu_unmap_page()
1494 if (dev->dma_coherent || !iov in arm_iommu_sync_single_for_cpu()
[all...]
/kernel/linux/linux-5.10/arch/arm/mm/
H A Ddma-mapping-nommu.c204 dev->archdata.dma_coherent = (cacheid) ? coherent : true; in arch_setup_dma_ops()
209 dev->archdata.dma_coherent = (get_cr() & CR_M) ? coherent : true; in arch_setup_dma_ops()
212 if (!dev->archdata.dma_coherent) in arch_setup_dma_ops()
H A Ddma-mapping.c2196 set_dma_ops(dev, arm_get_dma_map_ops(dev->archdata.dma_coherent)); in arm_iommu_detach_device()
2262 dev->archdata.dma_coherent = coherent; in arch_setup_dma_ops()
2264 dev->dma_coherent = coherent; in arch_setup_dma_ops()
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A Ddevice.h15 unsigned int dma_coherent:1; member
/kernel/linux/linux-5.10/arch/arm64/mm/
H A Ddma-mapping.c51 dev->dma_coherent = coherent; in arch_setup_dma_ops()
/kernel/linux/linux-6.6/arch/arm64/mm/
H A Ddma-mapping.c60 dev->dma_coherent = coherent; in arch_setup_dma_ops()
/kernel/linux/linux-5.10/drivers/scsi/arcmsr/
H A Darcmsr_hba.c669 void *dma_coherent; in arcmsr_alloc_io_queue() local
676 dma_coherent = dma_alloc_coherent(&pdev->dev, acb->ioqueue_size, in arcmsr_alloc_io_queue()
678 if (!dma_coherent) { in arcmsr_alloc_io_queue()
683 acb->dma_coherent2 = dma_coherent; in arcmsr_alloc_io_queue()
684 acb->pmuB = (struct MessageUnit_B *)dma_coherent; in arcmsr_alloc_io_queue()
690 dma_coherent = dma_alloc_coherent(&pdev->dev, acb->ioqueue_size, in arcmsr_alloc_io_queue()
692 if (!dma_coherent) { in arcmsr_alloc_io_queue()
697 acb->dma_coherent2 = dma_coherent; in arcmsr_alloc_io_queue()
698 acb->pmuD = (struct MessageUnit_D *)dma_coherent; in arcmsr_alloc_io_queue()
706 dma_coherent in arcmsr_alloc_io_queue()
750 void *dma_coherent; arcmsr_alloc_ccb_pool() local
[all...]
H A Darcmsr.h900 void * dma_coherent; member
901 /* dma_coherent used for memory free */
/kernel/linux/linux-6.6/drivers/scsi/arcmsr/
H A 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 in arcmsr_alloc_io_queue()
757 void *dma_coherent; arcmsr_alloc_ccb_pool() local
[all...]
/kernel/linux/linux-5.10/arch/mips/mm/
H A Ddma-noncoherent.c143 dev->dma_coherent = coherent; in arch_setup_dma_ops()
/kernel/linux/linux-6.6/arch/arm/mach-highbank/
H A Dhighbank.c101 dev->dma_coherent = true; in highbank_platform_notifier()
/kernel/linux/linux-6.6/arch/mips/mm/
H A Ddma-noncoherent.c143 dev->dma_coherent = coherent; in arch_setup_dma_ops()
/kernel/linux/linux-6.6/arch/riscv/mm/
H A Ddma-noncoherent.c144 dev->dma_coherent = coherent; in arch_setup_dma_ops()
/kernel/linux/linux-6.6/arch/arm/mach-mvebu/
H A Dcoherency.c98 dev->dma_coherent = true; in mvebu_hwcc_notifier()
/kernel/linux/linux-5.10/drivers/scsi/
H A Dhptiop.c1445 hba->dma_coherent[i] = start_virt; in hptiop_probe()
1478 if (hba->dma_coherent[i] && hba->dma_coherent_handle[i]) in hptiop_probe()
1481 hba->dma_coherent[i], in hptiop_probe()
1565 if (hba->dma_coherent[i] && hba->dma_coherent_handle[i]) in hptiop_remove()
1568 hba->dma_coherent[i], in hptiop_remove()
H A Dhptiop.h322 void *dma_coherent[HPTIOP_MAX_REQUESTS]; member
/kernel/linux/linux-6.6/drivers/scsi/
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()
H A Dhptiop.h322 void *dma_coherent[HPTIOP_MAX_REQUESTS]; member
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/include/linux/
H A Ddma-map-ops.h239 return dev->dma_coherent; in dev_is_dma_coherent()
H A Ddevice.h465 * @dma_coherent: this particular device is dma coherent, even if the
577 bool dma_coherent:1; member
/kernel/linux/linux-6.6/include/linux/
H A Ddma-map-ops.h264 return dev->dma_coherent; in dev_is_dma_coherent()

Completed in 30 milliseconds

12