Searched refs:test_dma_addr (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/hw/net/rocker/ |
H A D | rocker.c | 63 dma_addr_t test_dma_addr; member 713 pci_dma_read(dev, r->test_dma_addr, buf, r->test_dma_size); in rocker_test_dma_ctrl() 722 pci_dma_write(dev, r->test_dma_addr, buf, r->test_dma_size); in rocker_test_dma_ctrl() 841 r->test_dma_addr = ((uint64_t)val) << 32 | r->lower32; in rocker_io_writel() 887 r->test_dma_addr = val; in rocker_io_writeq() 1086 ret = (uint32_t)r->test_dma_addr; in rocker_io_readl() 1089 ret = (uint32_t)(r->test_dma_addr >> 32); in rocker_io_readl() 1151 ret = r->test_dma_addr; in rocker_io_readq() 1452 r->test_dma_addr = 0; in rocker_reset()
|
/openbmc/linux/drivers/net/ethernet/nvidia/ |
H A D | forcedeth.c | 5142 dma_addr_t test_dma_addr; in nv_loopback_test() local 5184 test_dma_addr = dma_map_single(&np->pci_dev->dev, tx_skb->data, in nv_loopback_test() 5188 test_dma_addr))) { in nv_loopback_test() 5197 np->tx_ring.orig[0].buf = cpu_to_le32(test_dma_addr); in nv_loopback_test() 5200 np->tx_ring.ex[0].bufhigh = cpu_to_le32(dma_high(test_dma_addr)); in nv_loopback_test() 5201 np->tx_ring.ex[0].buflow = cpu_to_le32(dma_low(test_dma_addr)); in nv_loopback_test() 5243 dma_unmap_single(&np->pci_dev->dev, test_dma_addr, in nv_loopback_test()
|