/kernel/linux/linux-5.10/arch/arc/mm/ |
H A D | dma.c | 102 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 D | dma.c | 102 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 D | dma-mapping-nommu.c | 46 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 D | dma-mapping.c | 1084 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 D | dma-mapping-nommu.c | 204 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 D | dma-mapping.c | 2196 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 D | device.h | 15 unsigned int dma_coherent:1; member
|
/kernel/linux/linux-5.10/arch/arm64/mm/ |
H A D | dma-mapping.c | 51 dev->dma_coherent = coherent; in arch_setup_dma_ops()
|
/kernel/linux/linux-6.6/arch/arm64/mm/ |
H A D | dma-mapping.c | 60 dev->dma_coherent = coherent; in arch_setup_dma_ops()
|
/kernel/linux/linux-5.10/drivers/scsi/arcmsr/ |
H A D | arcmsr_hba.c | 669 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 D | arcmsr.h | 900 void * dma_coherent; member 901 /* dma_coherent used for memory free */
|
/kernel/linux/linux-6.6/drivers/scsi/arcmsr/ |
H A D | arcmsr_hba.c | 676 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 D | dma-noncoherent.c | 143 dev->dma_coherent = coherent; in arch_setup_dma_ops()
|
/kernel/linux/linux-6.6/arch/arm/mach-highbank/ |
H A D | highbank.c | 101 dev->dma_coherent = true; in highbank_platform_notifier()
|
/kernel/linux/linux-6.6/arch/mips/mm/ |
H A D | dma-noncoherent.c | 143 dev->dma_coherent = coherent; in arch_setup_dma_ops()
|
/kernel/linux/linux-6.6/arch/riscv/mm/ |
H A D | dma-noncoherent.c | 144 dev->dma_coherent = coherent; in arch_setup_dma_ops()
|
/kernel/linux/linux-6.6/arch/arm/mach-mvebu/ |
H A D | coherency.c | 98 dev->dma_coherent = true; in mvebu_hwcc_notifier()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | hptiop.c | 1445 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 D | hptiop.h | 322 void *dma_coherent[HPTIOP_MAX_REQUESTS]; member
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | hptiop.c | 1440 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 D | hptiop.h | 322 void *dma_coherent[HPTIOP_MAX_REQUESTS]; member
|
/kernel/linux/linux-6.6/drivers/dma/ti/ |
H A D | k3-udma-glue.c | 310 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 D | dma-map-ops.h | 239 return dev->dma_coherent; in dev_is_dma_coherent()
|
H A D | device.h | 465 * @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 D | dma-map-ops.h | 264 return dev->dma_coherent; in dev_is_dma_coherent()
|