Home
last modified time | relevance | path

Searched refs:tx_ring_dma (Results 1 – 25 of 25) sorted by relevance

/drivers/net/ethernet/packetengines/
Dyellowfin.c314 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()
Dhamachi.c488 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/
Dr6040.c184 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/
Dfealnx.c374 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/
Depic100.c260 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/
Db44.c1028 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 …]
Db44.h402 dma_addr_t rx_ring_dma, tx_ring_dma; member
/drivers/net/ethernet/sgi/
Dmeth.c77 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/
Dsundance.c367 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()
Ddl2k.c230 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()
Ddl2k.h370 dma_addr_t tx_ring_dma; member
/drivers/net/ethernet/sis/
Dsis900.c188 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/
Dvia-rhine.c439 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/
Dstarfire.c528 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/
Drrunner.c157 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()
Drrunner.h805 dma_addr_t tx_ring_dma; member
/drivers/net/ethernet/dec/tulip/
Dtulip.h407 dma_addr_t tx_ring_dma; member
Dtulip_core.c322 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/
D3c59x.c600 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/
Dadm8211.h544 dma_addr_t tx_ring_dma; member
Dadm8211.c1477 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/
Dmacb_main.c207 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()
Dmacb.h1206 dma_addr_t tx_ring_dma; member
/drivers/net/ethernet/alteon/
Dacenic.h677 dma_addr_t tx_ring_dma; /* 32/64 bit */ member
Dacenic.c731 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()