Searched refs:dma_coherent (Results 1 – 17 of 17) sorted by relevance
102 dev->dma_coherent = true; in arch_setup_dma_ops()105 dev->dma_coherent ? "" : "non"); in arch_setup_dma_ops()
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()
1087 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 …]
75 dev->dma_coherent = coherent; in arch_setup_dma_ops()
72 dev->dma_coherent = coherent; in arch_setup_dma_ops()
672 void *dma_coherent; in arcmsr_alloc_io_queue() local679 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 …]
897 void * dma_coherent; member
143 dev->dma_coherent = coherent; in arch_setup_dma_ops()
101 dev->dma_coherent = true; in highbank_platform_notifier()
98 dev->dma_coherent = true; in mvebu_hwcc_notifier()
322 void *dma_coherent[HPTIOP_MAX_REQUESTS]; member
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()
309 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()
428 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()
269 return dev->dma_coherent; in dev_is_dma_coherent()
648 bool dma_coherent:1; member
2994 dev->dma_coherent = dma_default_coherent; in device_initialize()