Home
last modified time | relevance | path

Searched refs:dma_address (Results 1 – 25 of 42) sorted by relevance

12

/drivers/gpu/drm/nouveau/
Dnouveau_sgdma.c38 node->pages = nvbe->ttm.dma_address; in nv04_sgdma_bind()
73 node->pages = nvbe->ttm.dma_address; in nv50_sgdma_bind()
Dnouveau_bo.c1369 ttm_dma->dma_address, ttm->num_pages); in nouveau_ttm_tt_populate()
1404 dma_unmap_page(pdev, ttm_dma->dma_address[i], in nouveau_ttm_tt_populate()
1406 ttm_dma->dma_address[i] = 0; in nouveau_ttm_tt_populate()
1412 ttm_dma->dma_address[i] = addr; in nouveau_ttm_tt_populate()
1451 if (ttm_dma->dma_address[i]) { in nouveau_ttm_tt_unpopulate()
1452 dma_unmap_page(pdev, ttm_dma->dma_address[i], PAGE_SIZE, in nouveau_ttm_tt_unpopulate()
/drivers/gpu/drm/radeon/
Dradeon_ttm.c557 gtt->ttm.dma_address, ttm->num_pages); in radeon_ttm_tt_pin_userptr()
619 ttm->pages, gtt->ttm.dma_address, flags); in radeon_ttm_backend_bind()
712 gtt->ttm.dma_address, ttm->num_pages); in radeon_ttm_tt_populate()
736 gtt->ttm.dma_address[i] = pci_map_page(rdev->pdev, ttm->pages[i], in radeon_ttm_tt_populate()
739 if (pci_dma_mapping_error(rdev->pdev, gtt->ttm.dma_address[i])) { in radeon_ttm_tt_populate()
741 pci_unmap_page(rdev->pdev, gtt->ttm.dma_address[i], in radeon_ttm_tt_populate()
743 gtt->ttm.dma_address[i] = 0; in radeon_ttm_tt_populate()
784 if (gtt->ttm.dma_address[i]) { in radeon_ttm_tt_unpopulate()
785 pci_unmap_page(rdev->pdev, gtt->ttm.dma_address[i], in radeon_ttm_tt_unpopulate()
/drivers/gpu/drm/ttm/
Dttm_tt.c60 sizeof(*ttm->dma_address) + in ttm_dma_tt_alloc_page_directory()
63 ttm->dma_address = (void *) (ttm->cpu_address + ttm->ttm.num_pages); in ttm_dma_tt_alloc_page_directory()
250 ttm_dma->dma_address = NULL; in ttm_dma_tt_fini()
Dttm_page_alloc_dma.c859 ttm_dma->dma_address[index] = d_page->dma; in ttm_dma_pool_get_pages()
991 ttm_dma->dma_address[i] = 0; in ttm_dma_unpopulate()
/drivers/xen/
Dswiotlb-xen.c582 sg->dma_address = xen_phys_to_bus(map); in xen_swiotlb_map_sg_attrs()
592 sg->dma_address = dev_addr; in xen_swiotlb_map_sg_attrs()
615 xen_unmap_single(hwdev, sg->dma_address, sg_dma_len(sg), dir, attrs); in xen_swiotlb_unmap_sg_attrs()
636 xen_swiotlb_sync_single(hwdev, sg->dma_address, in xen_swiotlb_sync_sg()
/drivers/spi/
Dspi-dw-mid.c129 dws->tx_sgl.dma_address = dws->tx_dma; in dw_spi_dma_prepare_tx()
161 dws->rx_sgl.dma_address = dws->rx_dma; in dw_spi_dma_prepare_rx()
Dspi-atmel.c573 as->dma.sgrx.dma_address = xfer->rx_dma + xfer->len - *plen; in atmel_spi_next_xfer_dma_submit()
575 as->dma.sgrx.dma_address = as->buffer_dma; in atmel_spi_next_xfer_dma_submit()
583 as->dma.sgtx.dma_address = xfer->tx_dma + xfer->len - *plen; in atmel_spi_next_xfer_dma_submit()
585 as->dma.sgtx.dma_address = as->buffer_dma; in atmel_spi_next_xfer_dma_submit()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_buffer.c300 viter->dma_address = &__vmw_piter_phys_addr; in vmw_piter_start()
306 viter->dma_address = &__vmw_piter_dma_addr; in vmw_piter_start()
314 viter->dma_address = &__vmw_piter_sg_addr; in vmw_piter_start()
396 vsgt->addrs = vmw_tt->dma_ttm.dma_address; in vmw_ttm_map_dma()
Dvmwgfx_drv.h262 dma_addr_t (*dma_address)(struct vmw_piter *); member
784 return viter->dma_address(viter); in vmw_piter_dma_addr()
/drivers/mmc/host/
Dwmt-sdmmc.c576 u32 dma_address; in wmt_mci_request() local
636 dma_address = priv->dma_desc_device_addr + 16; in wmt_mci_request()
644 dma_address, 0); in wmt_mci_request()
648 dma_address += 16; in wmt_mci_request()
/drivers/dma/
Dimx-dma.c299 imx_dmav1_writel(imxdma, sg->dma_address, in imxdma_sg_next()
302 imx_dmav1_writel(imxdma, sg->dma_address, in imxdma_sg_next()
837 if (sg_dma_len(sgl) & 3 || sgl->dma_address & 3) in imxdma_prep_slave_sg()
841 if (sg_dma_len(sgl) & 1 || sgl->dma_address & 1) in imxdma_prep_slave_sg()
898 imxdmac->sg_list[i].dma_address = dma_addr; in imxdma_prep_dma_cyclic()
Dimx-sdma.c1067 bd->buffer_addr = sg->dma_address; in sdma_prep_slave_sg()
1089 if (count & 3 || sg->dma_address & 3) in sdma_prep_slave_sg()
1094 if (count & 1 || sg->dma_address & 1) in sdma_prep_slave_sg()
1113 i, count, (u64)sg->dma_address, in sdma_prep_slave_sg()
/drivers/infiniband/hw/qib/
Dqib_dma.c111 sg->dma_address = addr + sg->offset; in qib_map_sg()
/drivers/infiniband/hw/ipath/
Dipath_dma.c118 sg->dma_address = addr + sg->offset; in ipath_map_sg()
/drivers/atm/
Dnicstar.h308 u32 dma_address; member
345 u32 dma_address; member
Didt77252.h233 u32 dma_address; member
/drivers/scsi/lpfc/
Dlpfc_hw4.h58 struct dma_address { struct
1040 struct dma_address page[LPFC_MAX_EQ_PAGE];
1121 struct dma_address page[LPFC_MAX_CQ_PAGE];
1168 struct dma_address page[LPFC_MAX_WQ_PAGE_V0];
1192 struct dma_address page[LPFC_MAX_WQ_PAGE-1];
1283 struct dma_address page[LPFC_MAX_WQ_PAGE];
1346 struct dma_address page[LPFC_MAX_MQ_PAGE];
1397 struct dma_address page[LPFC_MAX_MQ_PAGE];
Dlpfc_sli4.h321 struct dma_address dma_address; member
/drivers/net/fddi/skfp/
Dskfddi.c1111 dma_addr_t dma_address; in send_queued_packets() local
1176 dma_address = pci_map_single(&bp->pdev, skb->data, in send_queued_packets()
1180 txd->txd_os.dma_addr = dma_address; // save dma mapping in send_queued_packets()
1182 hwm_tx_frag(smc, skb->data, dma_address, skb->len, in send_queued_packets()
1186 pci_unmap_single(&bp->pdev, dma_address, in send_queued_packets()
/drivers/usb/serial/
Dio_ti.c76 __u16 dma_address; member
497 status = read_ram(port->port->serial->dev, port->dma_address, in tx_active()
2434 edge_port->dma_address = UMPD_OEDB1_ADDRESS; in edge_port_probe()
2438 edge_port->dma_address = UMPD_OEDB2_ADDRESS; in edge_port_probe()
2449 edge_port->dma_address); in edge_port_probe()
/drivers/iommu/
Damd_iommu.c2865 s->dma_address = __map_single(dev, domain->priv, in map_sg()
2869 if (s->dma_address) { in map_sg()
2884 if (s->dma_address) in map_sg()
2885 __unmap_single(domain->priv, s->dma_address, in map_sg()
2887 s->dma_address = s->dma_length = 0; in map_sg()
2917 __unmap_single(domain->priv, s->dma_address, in unmap_sg()
2919 s->dma_address = s->dma_length = 0; in unmap_sg()
/drivers/crypto/
Dsahara.c483 dev->hw_link[i]->p = sg->dma_address; in sahara_hw_descriptor_create()
497 dev->hw_link[j]->p = sg->dma_address; in sahara_hw_descriptor_create()
/drivers/scsi/bnx2fc/
Dbnx2fc_hwi.c1978 dma_addr_t dma_address; in bnx2fc_free_hash_table() local
1980 dma_address = le32_to_cpu(*pbl); in bnx2fc_free_hash_table()
1982 dma_address += ((u64)le32_to_cpu(*pbl)) << 32; in bnx2fc_free_hash_table()
1987 dma_address); in bnx2fc_free_hash_table()
/drivers/scsi/
Dmac_esp.c89 sg[i].dma_address = (u32)sg_virt(&sg[i]); in mac_esp_map_sg()

12