Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mmc/host/
Drenesas_sdhi_sys_dmac.c256 void *sg_vaddr = tmio_mmc_kmap_atomic(sg, &flags); in renesas_sdhi_sys_dmac_start_dma_tx() local
259 memcpy(host->bounce_buf, sg_vaddr, host->bounce_sg.length); in renesas_sdhi_sys_dmac_start_dma_tx()
260 tmio_mmc_kunmap_atomic(sg, &flags, sg_vaddr); in renesas_sdhi_sys_dmac_start_dma_tx()
Dtmio_mmc_core.c409 void *sg_vaddr = tmio_mmc_kmap_atomic(host->sg_orig, &flags); in tmio_mmc_check_bounce_buffer() local
411 memcpy(sg_vaddr, host->bounce_buf, host->bounce_sg.length); in tmio_mmc_check_bounce_buffer()
412 tmio_mmc_kunmap_atomic(host->sg_orig, &flags, sg_vaddr); in tmio_mmc_check_bounce_buffer()
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c1735 void *vaddr, *sg_vaddr; in sg_fd_to_skb() local
1755 sg_vaddr = phys_to_virt(sg_addr); in sg_fd_to_skb()
1756 WARN_ON(!IS_ALIGNED((unsigned long)sg_vaddr, in sg_fd_to_skb()
1770 skb = build_skb(sg_vaddr, sz); in sg_fd_to_skb()
1790 page = virt_to_page(sg_vaddr); in sg_fd_to_skb()
1791 head_page = virt_to_head_page(sg_vaddr); in sg_fd_to_skb()
1794 page_offset = ((unsigned long)sg_vaddr & in sg_fd_to_skb()
1834 sg_vaddr = phys_to_virt(sg_addr); in sg_fd_to_skb()
1835 skb_free_frag(sg_vaddr); in sg_fd_to_skb()
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c72 void *sg_vaddr; in free_rx_fd() local
88 sg_vaddr = dpaa2_iova_to_virt(priv->iommu_domain, addr); in free_rx_fd()
92 free_pages((unsigned long)sg_vaddr, 0); in free_rx_fd()
129 void *sg_vaddr; in build_frag_skb() local
146 sg_vaddr = dpaa2_iova_to_virt(priv->iommu_domain, sg_addr); in build_frag_skb()
154 skb = build_skb(sg_vaddr, DPAA2_ETH_RX_BUF_RAW_SIZE); in build_frag_skb()
159 free_pages((unsigned long)sg_vaddr, 0); in build_frag_skb()
175 page = virt_to_page(sg_vaddr); in build_frag_skb()
176 head_page = virt_to_head_page(sg_vaddr); in build_frag_skb()
183 page_offset = ((unsigned long)sg_vaddr & in build_frag_skb()
/Linux-v5.4/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()
4917 sg_map->sg_vaddr, in ahc_fini_scbdata()
4982 (void **)&sg_map->sg_vaddr, in ahc_alloc_scbs()
4991 sg_map->sg_vaddr, PAGE_SIZE, ahc_dmamap_cb, in ahc_alloc_scbs()
4994 segs = sg_map->sg_vaddr; in ahc_alloc_scbs()