Home
last modified time | relevance | path

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

/drivers/mmc/host/
Drenesas_sdhi_sys_dmac.c258 void *sg_vaddr = kmap_local_page(sg_page(sg)); in renesas_sdhi_sys_dmac_start_dma_tx() local
261 memcpy(host->bounce_buf, sg_vaddr + sg->offset, host->bounce_sg.length); in renesas_sdhi_sys_dmac_start_dma_tx()
262 kunmap_local(sg_vaddr); in renesas_sdhi_sys_dmac_start_dma_tx()
/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c1810 void *vaddr, *sg_vaddr; in sg_fd_to_skb() local
1830 sg_vaddr = phys_to_virt(sg_addr); in sg_fd_to_skb()
1831 WARN_ON(!PTR_IS_ALIGNED(sg_vaddr, SMP_CACHE_BYTES)); in sg_fd_to_skb()
1844 skb = build_skb(sg_vaddr, sz); in sg_fd_to_skb()
1864 page = virt_to_page(sg_vaddr); in sg_fd_to_skb()
1865 head_page = virt_to_head_page(sg_vaddr); in sg_fd_to_skb()
1868 page_offset = ((unsigned long)sg_vaddr & in sg_fd_to_skb()
1902 sg_vaddr = phys_to_virt(sg_addr); in sg_fd_to_skb()
1907 free_pages((unsigned long)sg_vaddr, 0); in sg_fd_to_skb()
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c147 void *sg_vaddr; in dpaa2_eth_free_rx_fd() local
163 sg_vaddr = dpaa2_iova_to_virt(priv->iommu_domain, addr); in dpaa2_eth_free_rx_fd()
167 free_pages((unsigned long)sg_vaddr, 0); in dpaa2_eth_free_rx_fd()
204 void *sg_vaddr; in dpaa2_eth_build_frag_skb() local
221 sg_vaddr = dpaa2_iova_to_virt(priv->iommu_domain, sg_addr); in dpaa2_eth_build_frag_skb()
229 skb = build_skb(sg_vaddr, DPAA2_ETH_RX_BUF_RAW_SIZE); in dpaa2_eth_build_frag_skb()
234 free_pages((unsigned long)sg_vaddr, 0); in dpaa2_eth_build_frag_skb()
250 page = virt_to_page(sg_vaddr); in dpaa2_eth_build_frag_skb()
251 head_page = virt_to_head_page(sg_vaddr); in dpaa2_eth_build_frag_skb()
258 page_offset = ((unsigned long)sg_vaddr & in dpaa2_eth_build_frag_skb()
/drivers/scsi/aic7xxx/
Daic7xxx.h515 struct ahc_dma_seg* sg_vaddr; member
Daic7xxx_core.c410 /*offset*/(scb->sg_list - scb->sg_map->sg_vaddr) in ahc_sync_sglist()
4889 sg_map->sg_vaddr, in ahc_fini_scbdata()
4953 (void **)&sg_map->sg_vaddr, in ahc_alloc_scbs()
4962 sg_map->sg_vaddr, PAGE_SIZE, ahc_dmamap_cb, in ahc_alloc_scbs()
4965 segs = sg_map->sg_vaddr; in ahc_alloc_scbs()