Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c407 void *sg_vaddr = tmio_mmc_kmap_atomic(host->sg_orig, &flags); in tmio_mmc_check_bounce_buffer() local
409 memcpy(sg_vaddr, host->bounce_buf, host->bounce_sg.length); in tmio_mmc_check_bounce_buffer()
410 tmio_mmc_kunmap_atomic(host->sg_orig, &flags, sg_vaddr); in tmio_mmc_check_bounce_buffer()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c1760 void *vaddr, *sg_vaddr; in sg_fd_to_skb() local
1780 sg_vaddr = phys_to_virt(sg_addr); in sg_fd_to_skb()
1781 WARN_ON(!PTR_IS_ALIGNED(sg_vaddr, SMP_CACHE_BYTES)); in sg_fd_to_skb()
1794 skb = build_skb(sg_vaddr, sz); in sg_fd_to_skb()
1814 page = virt_to_page(sg_vaddr); in sg_fd_to_skb()
1815 head_page = virt_to_head_page(sg_vaddr); in sg_fd_to_skb()
1818 page_offset = ((unsigned long)sg_vaddr & in sg_fd_to_skb()
1852 sg_vaddr = phys_to_virt(sg_addr); in sg_fd_to_skb()
1857 free_pages((unsigned long)sg_vaddr, 0); in sg_fd_to_skb()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c77 void *sg_vaddr; in dpaa2_eth_free_rx_fd() local
93 sg_vaddr = dpaa2_iova_to_virt(priv->iommu_domain, addr); in dpaa2_eth_free_rx_fd()
97 free_pages((unsigned long)sg_vaddr, 0); in dpaa2_eth_free_rx_fd()
134 void *sg_vaddr; in dpaa2_eth_build_frag_skb() local
151 sg_vaddr = dpaa2_iova_to_virt(priv->iommu_domain, sg_addr); in dpaa2_eth_build_frag_skb()
159 skb = build_skb(sg_vaddr, DPAA2_ETH_RX_BUF_RAW_SIZE); in dpaa2_eth_build_frag_skb()
164 free_pages((unsigned long)sg_vaddr, 0); in dpaa2_eth_build_frag_skb()
180 page = virt_to_page(sg_vaddr); in dpaa2_eth_build_frag_skb()
181 head_page = virt_to_head_page(sg_vaddr); in dpaa2_eth_build_frag_skb()
188 page_offset = ((unsigned long)sg_vaddr & in dpaa2_eth_build_frag_skb()
/kernel/linux/linux-5.10/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()
4890 sg_map->sg_vaddr, in ahc_fini_scbdata()
4954 (void **)&sg_map->sg_vaddr, in ahc_alloc_scbs()
4963 sg_map->sg_vaddr, PAGE_SIZE, ahc_dmamap_cb, in ahc_alloc_scbs()
4966 segs = sg_map->sg_vaddr; in ahc_alloc_scbs()