Searched refs:pd_dma (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/iommu/ |
D | tegra-smmu.c | 60 dma_addr_t pd_dma; member 421 as->pd_dma = dma_map_page(smmu->dev, as->pd, 0, SMMU_SIZE_PD, in tegra_smmu_as_prepare() 423 if (dma_mapping_error(smmu->dev, as->pd_dma)) { in tegra_smmu_as_prepare() 429 if (!smmu_dma_addr_valid(smmu, as->pd_dma)) { in tegra_smmu_as_prepare() 438 smmu_flush_ptc(smmu, as->pd_dma, 0); in tegra_smmu_as_prepare() 442 value = SMMU_PTB_DATA_VALUE(as->pd_dma, as->attr); in tegra_smmu_as_prepare() 454 dma_unmap_page(smmu->dev, as->pd_dma, SMMU_SIZE_PD, DMA_TO_DEVICE); in tegra_smmu_as_prepare() 473 dma_unmap_page(smmu->dev, as->pd_dma, SMMU_SIZE_PD, DMA_TO_DEVICE); in tegra_smmu_as_unprepare() 542 dma_sync_single_range_for_device(smmu->dev, as->pd_dma, offset, in tegra_smmu_set_pde() 546 smmu_flush_ptc(smmu, as->pd_dma, offset); in tegra_smmu_set_pde()
|
D | omap-iommu.c | 527 flush_iopte_range(obj->dev, obj->pd_dma, offset, 1); in iopte_alloc() 556 flush_iopte_range(obj->dev, obj->pd_dma, offset, 1); in iopgd_alloc_section() 574 flush_iopte_range(obj->dev, obj->pd_dma, offset, 16); in iopgd_alloc_super() 747 flush_iopte_range(obj->dev, obj->pd_dma, pd_offset, nent); in iopgtable_clear_entry_core() 793 flush_iopte_range(obj->dev, obj->pd_dma, offset, 1); in iopgtable_clear_entry_all() 852 obj->pd_dma = dma_map_single(obj->dev, iopgd, IOPGD_TABLE_SIZE, in omap_iommu_attach() 854 if (dma_mapping_error(obj->dev, obj->pd_dma)) { in omap_iommu_attach() 889 dma_unmap_single(obj->dev, obj->pd_dma, IOPGD_TABLE_SIZE, in omap_iommu_detach() 891 obj->pd_dma = 0; in omap_iommu_detach()
|
D | omap-iommu.h | 70 dma_addr_t pd_dma; member
|
/linux-6.1.9/drivers/scsi/qla2xxx/ |
D | qla_mbx.c | 1972 dma_addr_t pd_dma; in qla2x00_get_port_database() local 1979 pd = dma_pool_zalloc(ha->s_dma_pool, GFP_KERNEL, &pd_dma); in qla2x00_get_port_database() 1990 mcp->mb[2] = MSW(pd_dma); in qla2x00_get_port_database() 1991 mcp->mb[3] = LSW(pd_dma); in qla2x00_get_port_database() 1992 mcp->mb[6] = MSW(MSD(pd_dma)); in qla2x00_get_port_database() 1993 mcp->mb[7] = LSW(MSD(pd_dma)); in qla2x00_get_port_database() 2123 dma_pool_free(ha->s_dma_pool, pd, pd_dma); in qla2x00_get_port_database() 6608 dma_addr_t pd_dma; in qla24xx_gpdb_wait() local 6616 pd = dma_pool_zalloc(ha->s_dma_pool, GFP_KERNEL, &pd_dma); in qla24xx_gpdb_wait() 6626 mc.mb[2] = MSW(pd_dma); in qla24xx_gpdb_wait() [all …]
|
D | qla_init.c | 1359 dma_addr_t pd_dma; in qla24xx_async_gpdb() local 1392 pd = dma_pool_zalloc(ha->s_dma_pool, GFP_KERNEL, &pd_dma); in qla24xx_async_gpdb() 1402 mb[2] = MSW(pd_dma); in qla24xx_async_gpdb() 1403 mb[3] = LSW(pd_dma); in qla24xx_async_gpdb() 1404 mb[6] = MSW(MSD(pd_dma)); in qla24xx_async_gpdb() 1405 mb[7] = LSW(MSD(pd_dma)); in qla24xx_async_gpdb() 1411 mbx->u.mbx.in_dma = pd_dma; in qla24xx_async_gpdb() 1424 dma_pool_free(ha->s_dma_pool, pd, pd_dma); in qla24xx_async_gpdb()
|