Home
last modified time | relevance | path

Searched refs:virt_to_dma (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/i825xx/
Dlib82596.c458 #define virt_to_dma(lp, v) ((lp)->dma_addr + (dma_addr_t)((unsigned long)(v)-(unsigned long)((lp)->… macro
480 rbd->b_next = SWAP32(virt_to_dma(lp, rbd+1)); in init_rx_bufs()
481 rbd->b_addr = SWAP32(virt_to_dma(lp, rbd)); in init_rx_bufs()
490 rbd->b_next = SWAP32(virt_to_dma(lp, dma->rbds)); in init_rx_bufs()
498 rfd->b_next = SWAP32(virt_to_dma(lp, rfd+1)); in init_rx_bufs()
502 dma->scb.rfd = SWAP32(virt_to_dma(lp, dma->rfds)); in init_rx_bufs()
504 rfd->rbd = SWAP32(virt_to_dma(lp, lp->rbd_head)); in init_rx_bufs()
508 rfd->b_next = SWAP32(virt_to_dma(lp, dma->rfds)); in init_rx_bufs()
546 dma->scb.rfd = SWAP32(virt_to_dma(lp, dma->rfds)); in rebuild_rx_bufs()
548 dma->rfds[0].rbd = SWAP32(virt_to_dma(lp, dma->rbds)); in rebuild_rx_bufs()
[all …]
/linux-4.4.14/arch/arm/include/asm/
Ddma-mapping.h89 static inline dma_addr_t virt_to_dma(struct device *dev, void *addr) in virt_to_dma() function
113 static inline dma_addr_t virt_to_dma(struct device *dev, void *addr) in virt_to_dma() function
/linux-4.4.14/arch/arm/common/
Ddmabounce.c262 __func__, buf->ptr, virt_to_dma(dev, buf->ptr), in map_single()
281 __func__, buf->ptr, virt_to_dma(dev, buf->ptr), in unmap_single()
381 __func__, buf->ptr, virt_to_dma(dev, buf->ptr), off, in __dmabounce_sync_for_cpu()
421 __func__, buf->ptr, virt_to_dma(dev, buf->ptr), off, in __dmabounce_sync_for_device()