Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/
Dyellowfin.c368 dma_addr_t tx_ring_dma; member
486 np->tx_ring_dma = ring_dma; in yellowfin_init_one()
565 pci_free_consistent(pdev, TX_TOTAL_SIZE, np->tx_ring, np->tx_ring_dma); in yellowfin_init_one()
639 outl(yp->tx_ring_dma, ioaddr + TxPtr); in yellowfin_open()
810 yp->tx_ring[i].branch_addr = cpu_to_le32(yp->tx_ring_dma + in yellowfin_init_ring()
825 yp->tx_ring[j].branch_addr = cpu_to_le32(yp->tx_ring_dma + in yellowfin_init_ring()
845 yp->tx_ring[j].branch_addr = cpu_to_le32(yp->tx_ring_dma + in yellowfin_init_ring()
1282 printk("\n"KERN_DEBUG" Tx ring at %8.8x:\n", yp->tx_ring_dma);
1474 pci_free_consistent(pdev, TX_TOTAL_SIZE, np->tx_ring, np->tx_ring_dma);
Dfealnx.c407 dma_addr_t tx_ring_dma; member
594 np->tx_ring_dma = ring_dma; in fealnx_init_one()
701 pci_free_consistent(pdev, TX_TOTAL_SIZE, np->tx_ring, np->tx_ring_dma); in fealnx_init_one()
724 np->tx_ring_dma); in fealnx_remove_one()
870 writel(np->tx_ring_dma, ioaddr + TXLBA); in netdev_open()
1201 writel(np->tx_ring_dma + ((char*)np->cur_tx - (char*)np->tx_ring), in enable_rxtx()
1330 np->tx_ring[i].next_desc = np->tx_ring_dma + in init_ring()
1337 np->tx_ring[i - 1].next_desc = np->tx_ring_dma; in init_ring()
1441 cur->next_desc = np->tx_ring_dma + in reset_tx_descriptors()
1446 np->tx_ring[TX_RING_SIZE - 1].next_desc = np->tx_ring_dma; in reset_tx_descriptors()
Dsundance.c462 dma_addr_t tx_ring_dma; member
590 np->tx_ring_dma = ring_dma; in sundance_probe1()
727 pci_free_consistent(pdev, TX_TOTAL_SIZE, np->tx_ring, np->tx_ring_dma); in sundance_probe1()
989 np->tx_ring_dma + i*sizeof(*np->tx_ring), in tx_timeout()
1079 np->last_tx->next_desc = cpu_to_le32(np->tx_ring_dma + in tx_poll()
1088 writel (np->tx_ring_dma + head * sizeof(struct netdev_desc), in tx_poll()
1672 np->tx_ring_dma + i*sizeof(*np->tx_ring), in netdev_ioctl()
1727 (int)(np->tx_ring_dma)); in netdev_close()
1785 np->tx_ring_dma); in sundance_remove1()
Depic100.c328 dma_addr_t tx_ring_dma; member
440 ep->tx_ring_dma = ring_dma; in epic_init_one()
559 pci_free_consistent(pdev, TX_TOTAL_SIZE, ep->tx_ring, ep->tx_ring_dma); in epic_init_one()
744 outl(ep->tx_ring_dma, ioaddr + PTxCDAR); in epic_open()
834 outl(ep->tx_ring_dma + (ep->dirty_tx%TX_RING_SIZE)* in epic_restart()
966 ep->tx_ring[i].next = ep->tx_ring_dma + in epic_init_ring()
969 ep->tx_ring[i-1].next = ep->tx_ring_dma; in epic_init_ring()
1464 pci_free_consistent(pdev, TX_TOTAL_SIZE, ep->tx_ring, ep->tx_ring_dma); in epic_remove_one()
Dhamachi.c499 dma_addr_t tx_ring_dma; member
650 hmp->tx_ring_dma = ring_dma; in hamachi_init_one()
787 hmp->tx_ring_dma); in hamachi_init_one()
877 writel(cpu_to_le64(hmp->tx_ring_dma), ioaddr + TxPtr); in hamachi_open()
878 writel(cpu_to_le64(hmp->tx_ring_dma) >> 32, ioaddr + TxPtr + 4); in hamachi_open()
881 writel(cpu_to_le32(hmp->tx_ring_dma), ioaddr + TxPtr); in hamachi_open()
1743 (int)hmp->tx_ring_dma); in hamachi_close()
1974 hmp->tx_ring_dma); in hamachi_remove_one()
Deepro100.c468 dma_addr_t tx_ring_dma; member
469 #define TX_RING_ELEM_DMA(sp, n) ((sp)->tx_ring_dma + (n)*sizeof(struct TxFD))
667 dma_addr_t tx_ring_dma; in speedo_found1() local
670 tx_ring_space = pci_alloc_consistent(pdev, size, &tx_ring_dma); in speedo_found1()
677 pci_free_consistent(pdev, size, tx_ring_space, tx_ring_dma); in speedo_found1()
801 outl(tx_ring_dma | PortSelfTest, ioaddr + SCBPort); in speedo_found1()
841 sp->tx_ring_dma = tx_ring_dma; in speedo_found1()
2367 sp->tx_ring, sp->tx_ring_dma);
Dgt64240eth.c815 gp->tx_ring_dma = in gt64240_probe1()
906 gp->tx_ring_dma + sizeof(gt64240_td_t) * (i + 1); in reset_tx()
911 gp->tx_ring[i - 1].next = gp->tx_ring_dma; in reset_tx()
917 gp->tx_ring_dma); in reset_tx()
1185 - gp->tx_ring_dma) / sizeof(gt64240_td_t); in gt64240_tx_fill()
1491 - gp->tx_ring_dma) / sizeof(gt64240_td_t); in gt64240_tx_complete()
Ddl2k.c264 np->tx_ring_dma = ring_dma; in rio_probe1()
320 pci_free_consistent (pdev, TX_TOTAL_SIZE, np->tx_ring, np->tx_ring_dma); in rio_probe1()
612 np->tx_ring[i].next_desc = cpu_to_le64 (np->tx_ring_dma + in alloc_list()
673 writel (np->tx_ring_dma + head * sizeof (struct netdev_desc), in tx_poll()
729 writel (np->tx_ring_dma + in start_xmit()
902 writel (np->tx_ring_dma + in tx_error()
1475 (u32) (np->tx_ring_dma + i * sizeof (*desc)), in rio_ioctl()
1961 np->tx_ring_dma); in rio_remove1()
Dgt96100eth.c793 gp->tx_ring_dma = in gt96100_probe1()
876 cpu_to_dma32(gp->tx_ring_dma + in reset_tx()
881 gp->tx_ring[i-1].next = cpu_to_dma32(gp->tx_ring_dma); in reset_tx()
884 GT96100ETH_WRITE(gp, GT96100_ETH_CURR_TX_DESC_PTR0, gp->tx_ring_dma); in reset_tx()
1321 - gp->tx_ring_dma) / sizeof(gt96100_td_t); in gt96100_tx_complete()
Dvia-rhine.c498 dma_addr_t tx_ring_dma; member
920 np->tx_ring_dma = ring_dma + RX_RING_SIZE * sizeof(struct rx_desc); in alloc_ring()
1010 next = np->tx_ring_dma; in alloc_tbufs()
1019 np->tx_ring[i-1].next_desc = cpu_to_le32(np->tx_ring_dma); in alloc_tbufs()
1067 writel(np->tx_ring_dma, ioaddr + TxRingPtr); in init_registers()
1620 writel(np->tx_ring_dma + entry * sizeof(struct tx_desc), in via_rhine_restart_tx()
Dsis900.c168 dma_addr_t tx_ring_dma; member
431 sis_priv->tx_ring_dma = ring_dma; in sis900_probe()
506 sis_priv->tx_ring_dma); in sis900_probe()
1027 sis_priv->tx_ring[i].link = sis_priv->tx_ring_dma + in sis900_init_tx_ring()
1034 outl(sis_priv->tx_ring_dma, ioaddr + txdp); in sis900_init_tx_ring()
1462 outl(sis_priv->tx_ring_dma, ioaddr + txdp); in sis900_tx_timeout()
2197 sis_priv->tx_ring_dma); in sis900_remove()
Dgt96100eth.h313 dma_addr_t tx_ring_dma; member
Dgt64240eth.h370 dma_addr_t tx_ring_dma; member
Dstarfire.c698 dma_addr_t tx_ring_dma; member
1092 np->tx_ring_dma = np->rx_done_q_dma + rx_done_q_size; in netdev_open()
1094 np->rx_ring_dma = np->tx_ring_dma + tx_ring_size; in netdev_open()
1128 writel(np->tx_ring_dma, ioaddr + TxRingPtr); in netdev_open()
2024 (long long) np->tx_ring_dma); in netdev_close()
Db44.h533 dma_addr_t rx_ring_dma, tx_ring_dma; member
D3c59x.c787 dma_addr_t tx_ring_dma; member
1160 vp->tx_ring_dma = vp->rx_ring_dma + sizeof(struct boom_rx_desc) * RX_RING_SIZE; in vortex_probe1()
1900 outl(vp->tx_ring_dma + (vp->dirty_tx % TX_RING_SIZE) * sizeof(struct boom_tx_desc), in vortex_tx_timeout()
2152 prev_entry->next = cpu_to_le32(vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc)); in boomerang_start_xmit()
2154 outl(vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc), ioaddr + DownListPtr); in boomerang_start_xmit()
2346 vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc)) in boomerang_interrupt()
Ddl2k.h657 dma_addr_t tx_ring_dma; member
Dacenic.h684 dma_addr_t tx_ring_dma; /* 32/64 bit */ member
Db44.c1039 bp->tx_ring, bp->tx_ring_dma); in b44_free_consistent()
1069 bp->tx_ring = pci_alloc_consistent(bp->pdev, size, &bp->tx_ring_dma); in b44_alloc_consistent()
1200 bw32(B44_DMATX_ADDR, bp->tx_ring_dma + bp->dma_offset); in b44_init_hw()
Dacenic.c1020 ap->tx_ring_dma); in ace_free_descriptors()
1078 &ap->tx_ring_dma); in ace_allocate_descriptors()
1590 set_aceaddr(&info->tx_ctrl.rngptr, ap->tx_ring_dma); in ace_init()
/linux-2.4.37.9/Documentation/arm/SA1100/
DDMA184 dma_addr_t tx_ring_dma[RING_SIZE];
191 tx_ring_dma[cur_tx] = pci_map_single(NULL, skb->data, skb->len,
194 tx_ring_dma[cur_tx], skb->len);
203 pci_unmap_single(NULL, tx_ring_dma[done_tx], skb->len,
/linux-2.4.37.9/drivers/net/tulip/
Dtulip.h377 dma_addr_t tx_ring_dma; member
Dtulip_core.c319 outl(tp->tx_ring_dma, ioaddr + CSR4); in tulip_up()
711 tp->tx_ring[i].buffer2 = cpu_to_le32(tp->tx_ring_dma + sizeof(struct tulip_tx_desc) * (i + 1)); in tulip_init_ring()
713 tp->tx_ring[i-1].buffer2 = cpu_to_le32(tp->tx_ring_dma); in tulip_init_ring()
1479 tp->tx_ring_dma = tp->rx_ring_dma + sizeof(struct tulip_rx_desc) * RX_RING_SIZE; in tulip_init_one()