Home
last modified time | relevance | path

Searched refs:pd_dma (Results 1 – 5 of 5) sorted by relevance

/drivers/iommu/
Dtegra-smmu.c55 dma_addr_t pd_dma; member
414 as->pd_dma = dma_map_page(smmu->dev, as->pd, 0, SMMU_SIZE_PD, in tegra_smmu_as_prepare()
416 if (dma_mapping_error(smmu->dev, as->pd_dma)) in tegra_smmu_as_prepare()
420 if (!smmu_dma_addr_valid(smmu, as->pd_dma)) { in tegra_smmu_as_prepare()
429 smmu_flush_ptc(smmu, as->pd_dma, 0); in tegra_smmu_as_prepare()
433 value = SMMU_PTB_DATA_VALUE(as->pd_dma, as->attr); in tegra_smmu_as_prepare()
443 dma_unmap_page(smmu->dev, as->pd_dma, SMMU_SIZE_PD, DMA_TO_DEVICE); in tegra_smmu_as_prepare()
455 dma_unmap_page(smmu->dev, as->pd_dma, SMMU_SIZE_PD, DMA_TO_DEVICE); in tegra_smmu_as_unprepare()
532 dma_sync_single_range_for_device(smmu->dev, as->pd_dma, offset, in tegra_smmu_set_pde()
536 smmu_flush_ptc(smmu, as->pd_dma, offset); in tegra_smmu_set_pde()
Domap-iommu.c539 flush_iopte_range(obj->dev, obj->pd_dma, offset, 1); in iopte_alloc()
568 flush_iopte_range(obj->dev, obj->pd_dma, offset, 1); in iopgd_alloc_section()
586 flush_iopte_range(obj->dev, obj->pd_dma, offset, 16); in iopgd_alloc_super()
759 flush_iopte_range(obj->dev, obj->pd_dma, pd_offset, nent); in iopgtable_clear_entry_core()
805 flush_iopte_range(obj->dev, obj->pd_dma, offset, 1); in iopgtable_clear_entry_all()
864 obj->pd_dma = dma_map_single(obj->dev, iopgd, IOPGD_TABLE_SIZE, in omap_iommu_attach()
866 if (dma_mapping_error(obj->dev, obj->pd_dma)) { in omap_iommu_attach()
901 dma_unmap_single(obj->dev, obj->pd_dma, IOPGD_TABLE_SIZE, in omap_iommu_detach()
903 obj->pd_dma = 0; in omap_iommu_detach()
Domap-iommu.h70 dma_addr_t pd_dma; member
/drivers/scsi/qla2xxx/
Dqla_mbx.c1882 dma_addr_t pd_dma; in qla2x00_get_port_database() local
1889 pd = dma_pool_zalloc(ha->s_dma_pool, GFP_KERNEL, &pd_dma); in qla2x00_get_port_database()
1900 mcp->mb[2] = MSW(pd_dma); in qla2x00_get_port_database()
1901 mcp->mb[3] = LSW(pd_dma); in qla2x00_get_port_database()
1902 mcp->mb[6] = MSW(MSD(pd_dma)); in qla2x00_get_port_database()
1903 mcp->mb[7] = LSW(MSD(pd_dma)); in qla2x00_get_port_database()
2033 dma_pool_free(ha->s_dma_pool, pd, pd_dma); in qla2x00_get_port_database()
6311 dma_addr_t pd_dma; in qla24xx_gpdb_wait() local
6319 pd = dma_pool_zalloc(ha->s_dma_pool, GFP_KERNEL, &pd_dma); in qla24xx_gpdb_wait()
6329 mc.mb[2] = MSW(pd_dma); in qla24xx_gpdb_wait()
[all …]
Dqla_init.c1289 dma_addr_t pd_dma; in qla24xx_async_gpdb() local
1317 pd = dma_pool_zalloc(ha->s_dma_pool, GFP_KERNEL, &pd_dma); in qla24xx_async_gpdb()
1327 mb[2] = MSW(pd_dma); in qla24xx_async_gpdb()
1328 mb[3] = LSW(pd_dma); in qla24xx_async_gpdb()
1329 mb[6] = MSW(MSD(pd_dma)); in qla24xx_async_gpdb()
1330 mb[7] = LSW(MSD(pd_dma)); in qla24xx_async_gpdb()
1335 mbx->u.mbx.in_dma = pd_dma; in qla24xx_async_gpdb()
1350 dma_pool_free(ha->s_dma_pool, pd, pd_dma); in qla24xx_async_gpdb()