/drivers/net/ethernet/packetengines/ |
D | yellowfin.c | 314 dma_addr_t tx_ring_dma; member 442 np->tx_ring_dma = ring_dma; in yellowfin_init_one() 518 np->tx_ring_dma); in yellowfin_init_one() 588 iowrite32(yp->tx_ring_dma, ioaddr + TxPtr); in yellowfin_open() 767 yp->tx_ring[i].branch_addr = cpu_to_le32(yp->tx_ring_dma + in yellowfin_init_ring() 780 yp->tx_ring[j].branch_addr = cpu_to_le32(yp->tx_ring_dma + in yellowfin_init_ring() 800 yp->tx_ring[j].branch_addr = cpu_to_le32(yp->tx_ring_dma + in yellowfin_init_ring() 1228 (unsigned long long)yp->tx_ring_dma); in yellowfin_close() 1400 np->tx_ring_dma); in yellowfin_remove_one()
|
D | hamachi.c | 488 dma_addr_t tx_ring_dma; member 655 hmp->tx_ring_dma = ring_dma; in hamachi_init_one() 785 hmp->tx_ring_dma); in hamachi_init_one() 873 writel(hmp->tx_ring_dma, ioaddr + TxPtr); in hamachi_open() 874 writel(hmp->tx_ring_dma >> 32, ioaddr + TxPtr + 4); in hamachi_open() 877 writel(hmp->tx_ring_dma, ioaddr + TxPtr); in hamachi_open() 1686 (int)hmp->tx_ring_dma); in hamachi_close() 1929 hmp->tx_ring_dma); in hamachi_remove_one()
|
/drivers/net/ethernet/rdc/ |
D | r6040.c | 184 dma_addr_t tx_ring_dma; member 318 r6040_init_ring_desc(lp->tx_ring, lp->tx_ring_dma, TX_DCNT); in r6040_init_txbufs() 398 iowrite16(lp->tx_ring_dma, ioaddr + MTD_SA0); in r6040_init_mac_regs() 399 iowrite16(lp->tx_ring_dma >> 16, ioaddr + MTD_SA1); in r6040_init_mac_regs() 502 lp->tx_ring_dma); in r6040_close() 771 &lp->tx_ring_dma, GFP_KERNEL); in r6040_open() 788 lp->tx_ring_dma); in r6040_open()
|
/drivers/net/ethernet/ |
D | fealnx.c | 374 dma_addr_t tx_ring_dma; member 562 np->tx_ring_dma = ring_dma; in fealnx_init_one() 662 np->tx_ring_dma); in fealnx_init_one() 684 np->tx_ring_dma); in fealnx_remove_one() 836 iowrite32(np->tx_ring_dma, ioaddr + TXLBA); in netdev_open() 1144 iowrite32(np->tx_ring_dma + ((char*)np->cur_tx - (char*)np->tx_ring), in enable_rxtx() 1277 np->tx_ring[i].next_desc = np->tx_ring_dma + in init_ring() 1284 np->tx_ring[i - 1].next_desc = np->tx_ring_dma; in init_ring() 1393 cur->next_desc = np->tx_ring_dma + in reset_tx_descriptors() 1398 np->tx_ring[TX_RING_SIZE - 1].next_desc = np->tx_ring_dma; in reset_tx_descriptors()
|
/drivers/net/ethernet/smsc/ |
D | epic100.c | 260 dma_addr_t tx_ring_dma; member 382 ep->tx_ring_dma = ring_dma; in epic_init_one() 502 ep->tx_ring_dma); in epic_init_one() 724 ew32(PTxCDAR, ep->tx_ring_dma); in epic_open() 812 ew32(PTxCDAR, ep->tx_ring_dma + in epic_restart() 938 ep->tx_ring[i].next = ep->tx_ring_dma + in epic_init_ring() 941 ep->tx_ring[i-1].next = ep->tx_ring_dma; in epic_init_ring() 1518 ep->tx_ring_dma); in epic_remove_one()
|
/drivers/net/ethernet/broadcom/ |
D | b44.c | 1028 b44_sync_dma_desc_for_device(bp->sdev, bp->tx_ring_dma, in b44_start_xmit() 1139 dma_sync_single_for_device(bp->sdev->dma_dev, bp->tx_ring_dma, in b44_init_rings() 1171 dma_unmap_single(bp->sdev->dma_dev, bp->tx_ring_dma, in b44_free_consistent() 1176 bp->tx_ring, bp->tx_ring_dma); in b44_free_consistent() 1230 &bp->tx_ring_dma, gfp); in b44_alloc_consistent() 1236 dma_addr_t tx_ring_dma; in b44_alloc_consistent() local 1242 tx_ring_dma = dma_map_single(bp->sdev->dma_dev, tx_ring, in b44_alloc_consistent() 1246 if (dma_mapping_error(bp->sdev->dma_dev, tx_ring_dma) || in b44_alloc_consistent() 1247 tx_ring_dma + size > DMA_BIT_MASK(30)) { in b44_alloc_consistent() 1253 bp->tx_ring_dma = tx_ring_dma; in b44_alloc_consistent() [all …]
|
D | b44.h | 402 dma_addr_t rx_ring_dma, tx_ring_dma; member
|
/drivers/net/ethernet/sgi/ |
D | meth.c | 77 dma_addr_t tx_ring_dma; member 213 TX_RING_BUFFER_SIZE, &priv->tx_ring_dma, GFP_ATOMIC); in meth_init_tx_ring() 218 mace->eth.tx_ring_base = priv->tx_ring_dma; in meth_init_tx_ring() 254 priv->tx_ring_dma); in meth_free_tx_ring()
|
/drivers/net/ethernet/dlink/ |
D | sundance.c | 367 dma_addr_t tx_ring_dma; member 550 np->tx_ring_dma = ring_dma; in sundance_probe1() 695 np->tx_ring, np->tx_ring_dma); in sundance_probe1() 977 (unsigned long long)(np->tx_ring_dma + i*sizeof(*np->tx_ring)), in tx_timeout() 1071 np->last_tx->next_desc = cpu_to_le32(np->tx_ring_dma + in tx_poll() 1080 iowrite32 (np->tx_ring_dma + head * sizeof(struct netdev_desc), in tx_poll() 1868 (int)(np->tx_ring_dma)); in netdev_close() 1925 np->tx_ring, np->tx_ring_dma); in sundance_remove1()
|
D | dl2k.c | 230 np->tx_ring_dma = ring_dma; in rio_probe1() 288 np->tx_ring_dma); in rio_probe1() 491 np->tx_ring[i].next_desc = cpu_to_le64(np->tx_ring_dma + in alloc_list() 765 dw32(TFDListPtr0, np->tx_ring_dma + in start_xmit() 889 dw32(TFDListPtr0, np->tx_ring_dma + in tx_error() 1804 np->tx_ring_dma); in rio_remove1()
|
D | dl2k.h | 370 dma_addr_t tx_ring_dma; member
|
/drivers/net/ethernet/sis/ |
D | sis900.c | 188 dma_addr_t tx_ring_dma; member 491 sis_priv->tx_ring_dma = ring_dma; in sis900_probe() 581 sis_priv->tx_ring_dma); in sis900_probe() 1136 sis_priv->tx_ring[i].link = sis_priv->tx_ring_dma + in sis900_init_tx_ring() 1143 sw32(txdp, sis_priv->tx_ring_dma); in sis900_init_tx_ring() 1584 sw32(txdp, sis_priv->tx_ring_dma); in sis900_tx_timeout() 2497 sis_priv->tx_ring_dma); in sis900_remove()
|
/drivers/net/ethernet/via/ |
D | via-rhine.c | 439 dma_addr_t tx_ring_dma; member 1169 rp->tx_ring_dma = ring_dma + RX_RING_SIZE * sizeof(struct rx_desc); in alloc_ring() 1306 next = rp->tx_ring_dma; in alloc_tbufs() 1316 rp->tx_ring[i-1].next_desc = cpu_to_le32(rp->tx_ring_dma); in alloc_tbufs() 1562 iowrite32(rp->tx_ring_dma, ioaddr + TxRingPtr); in init_registers() 2156 iowrite32(rp->tx_ring_dma + entry * sizeof(struct tx_desc), in rhine_restart_tx()
|
/drivers/net/ethernet/adaptec/ |
D | starfire.c | 528 dma_addr_t tx_ring_dma; member 902 np->tx_ring_dma = np->rx_done_q_dma + rx_done_q_size; in netdev_open() 904 np->rx_ring_dma = np->tx_ring_dma + tx_ring_size; in netdev_open() 938 writel(np->tx_ring_dma, ioaddr + TxRingPtr); in netdev_open() 1950 (long long) np->tx_ring_dma); in netdev_close()
|
/drivers/net/hippi/ |
D | rrunner.c | 157 rrpriv->tx_ring_dma = ring_dma; in rr_init_one() 211 rrpriv->tx_ring_dma); in rr_init_one() 239 rr->tx_ring_dma); in rr_remove_one() 608 set_rraddr(&rrpriv->info->tx_ctrl.rngptr, rrpriv->tx_ring_dma); in rr_init1()
|
D | rrunner.h | 805 dma_addr_t tx_ring_dma; member
|
/drivers/net/ethernet/dec/tulip/ |
D | tulip.h | 407 dma_addr_t tx_ring_dma; member
|
D | tulip_core.c | 322 iowrite32(tp->tx_ring_dma, ioaddr + CSR4); in tulip_up() 647 tp->tx_ring[i].buffer2 = cpu_to_le32(tp->tx_ring_dma + sizeof(struct tulip_tx_desc) * (i + 1)); in tulip_init_ring() 649 tp->tx_ring[i-1].buffer2 = cpu_to_le32(tp->tx_ring_dma); in tulip_init_ring() 1439 tp->tx_ring_dma = tp->rx_ring_dma + sizeof(struct tulip_rx_desc) * RX_RING_SIZE; in tulip_init_one()
|
/drivers/net/ethernet/3com/ |
D | 3c59x.c | 600 dma_addr_t tx_ring_dma; member 1218 vp->tx_ring_dma = vp->rx_ring_dma + sizeof(struct boom_rx_desc) * RX_RING_SIZE; in vortex_probe1() 1913 iowrite32(vp->tx_ring_dma + (vp->dirty_tx % TX_RING_SIZE) * sizeof(struct boom_tx_desc), in vortex_tx_timeout() 2214 prev_entry->next = cpu_to_le32(vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc)); in boomerang_start_xmit() 2216 iowrite32(vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc), ioaddr + DownListPtr); in boomerang_start_xmit() 2423 vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc)) in _boomerang_interrupt()
|
/drivers/net/wireless/admtek/ |
D | adm8211.h | 544 dma_addr_t tx_ring_dma; member
|
D | adm8211.c | 1477 ADM8211_CSR_WRITE(TDBD, priv->tx_ring_dma); in adm8211_init_rings() 1755 priv->tx_ring_dma = priv->rx_ring_dma + in adm8211_alloc_rings()
|
/drivers/net/ethernet/cadence/ |
D | macb_main.c | 207 return queue->tx_ring_dma + offset; in macb_tx_dma() 453 queue_writel(queue, TBQP, lower_32_bits(queue->tx_ring_dma)); in macb_init_buffers() 457 upper_32_bits(queue->tx_ring_dma)); in macb_init_buffers() 1144 queue_writel(queue, TBQP, lower_32_bits(queue->tx_ring_dma)); in macb_tx_error_task() 1147 queue_writel(queue, TBQPH, upper_32_bits(queue->tx_ring_dma)); in macb_tx_error_task() 2381 queue->tx_ring, queue->tx_ring_dma); in macb_free_consistent() 2438 &queue->tx_ring_dma, in macb_alloc_consistent() 2444 q, size, (unsigned long)queue->tx_ring_dma, in macb_alloc_consistent()
|
D | macb.h | 1206 dma_addr_t tx_ring_dma; member
|
/drivers/net/ethernet/alteon/ |
D | acenic.h | 677 dma_addr_t tx_ring_dma; /* 32/64 bit */ member
|
D | acenic.c | 731 ap->tx_ring_dma); in ace_free_descriptors() 789 &ap->tx_ring_dma, GFP_KERNEL); in ace_allocate_descriptors() 1293 set_aceaddr(&info->tx_ctrl.rngptr, ap->tx_ring_dma); in ace_init()
|