Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/packetengines/
Dyellowfin.c314 dma_addr_t tx_ring_dma; member
442 np->tx_ring_dma = ring_dma; in yellowfin_init_one()
514 pci_free_consistent(pdev, TX_TOTAL_SIZE, np->tx_ring, np->tx_ring_dma); in yellowfin_init_one()
584 iowrite32(yp->tx_ring_dma, ioaddr + TxPtr); in yellowfin_open()
763 yp->tx_ring[i].branch_addr = cpu_to_le32(yp->tx_ring_dma + in yellowfin_init_ring()
776 yp->tx_ring[j].branch_addr = cpu_to_le32(yp->tx_ring_dma + in yellowfin_init_ring()
796 yp->tx_ring[j].branch_addr = cpu_to_le32(yp->tx_ring_dma + in yellowfin_init_ring()
1218 (unsigned long long)yp->tx_ring_dma); in yellowfin_close()
1389 pci_free_consistent(pdev, TX_TOTAL_SIZE, np->tx_ring, np->tx_ring_dma); in yellowfin_remove_one()
Dhamachi.c488 dma_addr_t tx_ring_dma; member
652 hmp->tx_ring_dma = ring_dma; in hamachi_init_one()
781 hmp->tx_ring_dma); in hamachi_init_one()
869 writel(hmp->tx_ring_dma, ioaddr + TxPtr); in hamachi_open()
870 writel(hmp->tx_ring_dma >> 32, ioaddr + TxPtr + 4); in hamachi_open()
873 writel(hmp->tx_ring_dma, ioaddr + TxPtr); in hamachi_open()
1675 (int)hmp->tx_ring_dma); in hamachi_close()
1906 hmp->tx_ring_dma); in hamachi_remove_one()
/drivers/net/ethernet/rdc/
Dr6040.c198 dma_addr_t tx_ring_dma; member
333 r6040_init_ring_desc(lp->tx_ring, lp->tx_ring_dma, TX_DCNT); in r6040_init_txbufs()
412 iowrite16(lp->tx_ring_dma, ioaddr + MTD_SA0); in r6040_init_mac_regs()
413 iowrite16(lp->tx_ring_dma >> 16, ioaddr + MTD_SA1); in r6040_init_mac_regs()
516 TX_DESC_SIZE, lp->tx_ring, lp->tx_ring_dma); in r6040_close()
788 pci_alloc_consistent(lp->pdev, TX_DESC_SIZE, &lp->tx_ring_dma); in r6040_open()
805 lp->tx_ring_dma); in r6040_open()
/drivers/net/ethernet/
Dfealnx.c381 dma_addr_t tx_ring_dma; member
575 np->tx_ring_dma = ring_dma; in fealnx_init_one()
674 pci_free_consistent(pdev, TX_TOTAL_SIZE, np->tx_ring, np->tx_ring_dma); in fealnx_init_one()
695 np->tx_ring_dma); in fealnx_remove_one()
847 iowrite32(np->tx_ring_dma, ioaddr + TXLBA); in netdev_open()
1157 iowrite32(np->tx_ring_dma + ((char*)np->cur_tx - (char*)np->tx_ring), in enable_rxtx()
1288 np->tx_ring[i].next_desc = np->tx_ring_dma + in init_ring()
1295 np->tx_ring[i - 1].next_desc = np->tx_ring_dma; in init_ring()
1401 cur->next_desc = np->tx_ring_dma + in reset_tx_descriptors()
1406 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
384 ep->tx_ring_dma = ring_dma; in epic_init_one()
502 pci_free_consistent(pdev, TX_TOTAL_SIZE, ep->tx_ring, ep->tx_ring_dma); in epic_init_one()
724 ew32(PTxCDAR, ep->tx_ring_dma); in epic_open()
814 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()
1523 pci_free_consistent(pdev, TX_TOTAL_SIZE, ep->tx_ring, ep->tx_ring_dma); in epic_remove_one()
/drivers/net/ethernet/broadcom/
Db44.c1032 b44_sync_dma_desc_for_device(bp->sdev, bp->tx_ring_dma, in b44_start_xmit()
1146 dma_sync_single_for_device(bp->sdev->dma_dev, bp->tx_ring_dma, in b44_init_rings()
1178 dma_unmap_single(bp->sdev->dma_dev, bp->tx_ring_dma, in b44_free_consistent()
1183 bp->tx_ring, bp->tx_ring_dma); in b44_free_consistent()
1237 &bp->tx_ring_dma, gfp); in b44_alloc_consistent()
1243 dma_addr_t tx_ring_dma; in b44_alloc_consistent() local
1249 tx_ring_dma = dma_map_single(bp->sdev->dma_dev, tx_ring, in b44_alloc_consistent()
1253 if (dma_mapping_error(bp->sdev->dma_dev, tx_ring_dma) || in b44_alloc_consistent()
1254 tx_ring_dma + size > DMA_BIT_MASK(30)) { in b44_alloc_consistent()
1260 bp->tx_ring_dma = tx_ring_dma; in b44_alloc_consistent()
[all …]
Db44.h401 dma_addr_t rx_ring_dma, tx_ring_dma; member
/drivers/net/ethernet/sgi/
Dmeth.c79 dma_addr_t tx_ring_dma; member
215 &priv->tx_ring_dma, GFP_ATOMIC); in meth_init_tx_ring()
220 mace->eth.tx_ring_base = priv->tx_ring_dma; in meth_init_tx_ring()
257 priv->tx_ring_dma); in meth_free_tx_ring()
/drivers/net/ethernet/dlink/
Dsundance.c375 dma_addr_t tx_ring_dma; member
563 np->tx_ring_dma = ring_dma; in sundance_probe1()
704 np->tx_ring, np->tx_ring_dma); in sundance_probe1()
990 (unsigned long long)(np->tx_ring_dma + i*sizeof(*np->tx_ring)), in tx_timeout()
1085 np->last_tx->next_desc = cpu_to_le32(np->tx_ring_dma + in tx_poll()
1094 iowrite32 (np->tx_ring_dma + head * sizeof(struct netdev_desc), in tx_poll()
1882 (int)(np->tx_ring_dma)); in netdev_close()
1939 np->tx_ring, np->tx_ring_dma); in sundance_remove1()
Ddl2k.c240 np->tx_ring_dma = ring_dma; in rio_probe1()
310 pci_free_consistent (pdev, TX_TOTAL_SIZE, np->tx_ring, np->tx_ring_dma); in rio_probe1()
605 np->tx_ring[i].next_desc = cpu_to_le64 (np->tx_ring_dma + in alloc_list()
703 dw32(TFDListPtr0, np->tx_ring_dma + in start_xmit()
832 dw32(TFDListPtr0, np->tx_ring_dma + in tx_error()
1787 np->tx_ring_dma); in rio_remove1()
Ddl2k.h373 dma_addr_t tx_ring_dma; member
/drivers/net/ethernet/sis/
Dsis900.c188 dma_addr_t tx_ring_dma; member
487 sis_priv->tx_ring_dma = ring_dma; in sis900_probe()
576 sis_priv->tx_ring_dma); in sis900_probe()
1134 sis_priv->tx_ring[i].link = sis_priv->tx_ring_dma + in sis900_init_tx_ring()
1141 sw32(txdp, sis_priv->tx_ring_dma); in sis900_init_tx_ring()
1579 sw32(txdp, sis_priv->tx_ring_dma); in sis900_tx_timeout()
2423 sis_priv->tx_ring_dma); in sis900_remove()
/drivers/net/ethernet/micrel/
Dks8695net.c178 dma_addr_t tx_ring_dma; member
763 ks8695_writereg(ksp, KS8695_TDLB, (u32) ksp->tx_ring_dma); in ks8695_init_net()
1474 ksp->tx_ring_dma = ksp->ring_base_dma; in ks8695_probe()
1491 cpu_to_le32(ksp->tx_ring_dma + in ks8695_probe()
/drivers/net/ethernet/via/
Dvia-rhine.c445 dma_addr_t tx_ring_dma; member
1190 rp->tx_ring_dma = ring_dma + RX_RING_SIZE * sizeof(struct rx_desc); in alloc_ring()
1327 next = rp->tx_ring_dma; in alloc_tbufs()
1337 rp->tx_ring[i-1].next_desc = cpu_to_le32(rp->tx_ring_dma); in alloc_tbufs()
1583 iowrite32(rp->tx_ring_dma, ioaddr + TxRingPtr); in init_registers()
2176 iowrite32(rp->tx_ring_dma + entry * sizeof(struct tx_desc), in rhine_restart_tx()
/drivers/net/ethernet/adaptec/
Dstarfire.c536 dma_addr_t tx_ring_dma; member
916 np->tx_ring_dma = np->rx_done_q_dma + rx_done_q_size; in netdev_open()
918 np->rx_ring_dma = np->tx_ring_dma + tx_ring_size; in netdev_open()
952 writel(np->tx_ring_dma, ioaddr + TxRingPtr); in netdev_open()
1960 (long long) np->tx_ring_dma); in netdev_close()
/drivers/net/hippi/
Drrunner.c160 rrpriv->tx_ring_dma = ring_dma; in rr_init_one()
212 rrpriv->tx_ring_dma); in rr_init_one()
240 rr->tx_ring_dma); in rr_remove_one()
609 set_rraddr(&rrpriv->info->tx_ctrl.rngptr, rrpriv->tx_ring_dma); in rr_init1()
Drrunner.h804 dma_addr_t tx_ring_dma; member
/drivers/net/ethernet/dec/tulip/
Dtulip.h407 dma_addr_t tx_ring_dma; member
Dtulip_core.c333 iowrite32(tp->tx_ring_dma, ioaddr + CSR4); in tulip_up()
660 tp->tx_ring[i].buffer2 = cpu_to_le32(tp->tx_ring_dma + sizeof(struct tulip_tx_desc) * (i + 1)); in tulip_init_ring()
662 tp->tx_ring[i-1].buffer2 = cpu_to_le32(tp->tx_ring_dma); in tulip_init_ring()
1454 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
1227 vp->tx_ring_dma = vp->rx_ring_dma + sizeof(struct boom_rx_desc) * RX_RING_SIZE; in vortex_probe1()
1937 iowrite32(vp->tx_ring_dma + (vp->dirty_tx % TX_RING_SIZE) * sizeof(struct boom_tx_desc), in vortex_tx_timeout()
2232 prev_entry->next = cpu_to_le32(vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc)); in boomerang_start_xmit()
2234 iowrite32(vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc), ioaddr + DownListPtr); in boomerang_start_xmit()
2451 vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc)) in boomerang_interrupt()
/drivers/net/ethernet/cadence/
Dmacb.c89 return queue->tx_ring_dma + offset; in macb_tx_dma()
640 queue_writel(queue, TBQP, queue->tx_ring_dma); in macb_tx_error_task()
1425 queue->tx_ring, queue->tx_ring_dma); in macb_free_consistent()
1471 &queue->tx_ring_dma, in macb_alloc_consistent()
1477 q, size, (unsigned long)queue->tx_ring_dma, in macb_alloc_consistent()
1715 queue_writel(queue, TBQP, queue->tx_ring_dma); in macb_init_hw()
Dmacb.h781 dma_addr_t tx_ring_dma; member
/drivers/net/wireless/
Dadm8211.h543 dma_addr_t tx_ring_dma; member
/drivers/net/ethernet/alteon/
Dacenic.h675 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); in ace_allocate_descriptors()
1296 set_aceaddr(&info->tx_ctrl.rngptr, ap->tx_ring_dma); in ace_init()

12