Searched refs:virt_to_dma (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/i825xx/ |
H A D | lib82596.c | 377 virt_to_dma(netdev_priv(ndev), addr), len, in dma_sync_dev() 385 virt_to_dma(netdev_priv(ndev), addr), len, in dma_sync_cpu() 507 rbd->b_next = SWAP32(virt_to_dma(lp, rbd+1)); in init_rx_bufs() 508 rbd->b_addr = SWAP32(virt_to_dma(lp, rbd)); in init_rx_bufs() 517 rbd->b_next = SWAP32(virt_to_dma(lp, dma->rbds)); in init_rx_bufs() 525 rfd->b_next = SWAP32(virt_to_dma(lp, rfd+1)); in init_rx_bufs() 529 dma->scb.rfd = SWAP32(virt_to_dma(lp, dma->rfds)); in init_rx_bufs() 531 rfd->rbd = SWAP32(virt_to_dma(lp, lp->rbd_head)); in init_rx_bufs() 535 rfd->b_next = SWAP32(virt_to_dma(lp, dma->rfds)); in init_rx_bufs() 573 dma->scb.rfd = SWAP32(virt_to_dma(lp, dma->rfds)); in rebuild_rx_bufs() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | 53c700.c | 271 static inline dma_addr_t virt_to_dma(struct NCR_700_Host_Parameters *h, void *p) in virt_to_dma() function 280 dma_sync_single_for_device(h->dev, virt_to_dma(h, addr), in dma_sync_to_dev() 288 dma_sync_single_for_device(h->dev, virt_to_dma(h, addr), size, in dma_sync_from_dev()
|