Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/cadence/
Dat91_ether.c51 &lp->rx_ring_dma, GFP_KERNEL); in at91ether_start()
61 lp->rx_ring, lp->rx_ring_dma); in at91ether_start()
80 macb_writel(lp, RBQP, lp->rx_ring_dma); in at91ether_start()
146 lp->rx_ring, lp->rx_ring_dma); in at91ether_close()
Dmacb.h628 dma_addr_t rx_ring_dma; member
Dmacb.c1314 bp->rx_ring, bp->rx_ring_dma); in macb_free_consistent()
1366 &bp->rx_ring_dma, GFP_KERNEL); in macb_alloc_consistent()
1371 size, (unsigned long)bp->rx_ring_dma, bp->rx_ring); in macb_alloc_consistent()
1567 macb_writel(bp, RBQP, bp->rx_ring_dma); in macb_init_hw()
/drivers/net/ethernet/packetengines/
Dyellowfin.c313 dma_addr_t rx_ring_dma; member
448 np->rx_ring_dma = ring_dma; in yellowfin_init_one()
512 pci_free_consistent(pdev, RX_TOTAL_SIZE, np->rx_ring, np->rx_ring_dma); in yellowfin_init_one()
583 iowrite32(yp->rx_ring_dma, ioaddr + RxPtr); in yellowfin_open()
736 yp->rx_ring[i].branch_addr = cpu_to_le32(yp->rx_ring_dma + in yellowfin_init_ring()
1102 !ether_addr_equal(le32_to_cpu(yp->rx_ring_dma + in yellowfin_rx()
1105 !ether_addr_equal(le32_to_cpu(yp->rx_ring_dma + in yellowfin_rx()
1231 (unsigned long long)yp->rx_ring_dma); in yellowfin_close()
1388 pci_free_consistent(pdev, RX_TOTAL_SIZE, np->rx_ring, np->rx_ring_dma); in yellowfin_remove_one()
Dhamachi.c489 dma_addr_t rx_ring_dma; member
658 hmp->rx_ring_dma = ring_dma; in hamachi_init_one()
778 hmp->rx_ring_dma); in hamachi_init_one()
867 writel(hmp->rx_ring_dma, ioaddr + RxPtr); in hamachi_open()
868 writel(hmp->rx_ring_dma >> 32, ioaddr + RxPtr + 4); in hamachi_open()
872 writel(hmp->rx_ring_dma, ioaddr + RxPtr); in hamachi_open()
1499 memcpy(skb_put(skb, pkt_len), hmp->rx_ring_dma in hamachi_rx()
1681 (int)hmp->rx_ring_dma); in hamachi_close()
1904 hmp->rx_ring_dma); in hamachi_remove_one()
/drivers/net/ethernet/broadcom/
Db44.c726 b44_sync_dma_desc_for_device(bp->sdev, bp->rx_ring_dma, in b44_alloc_rx_skb()
754 b44_sync_dma_desc_for_cpu(bp->sdev, bp->rx_ring_dma, in b44_recycle_rx()
770 b44_sync_dma_desc_for_device(bp->sdev, bp->rx_ring_dma, in b44_recycle_rx()
1142 dma_sync_single_for_device(bp->sdev->dma_dev, bp->rx_ring_dma, in b44_init_rings()
1167 dma_unmap_single(bp->sdev->dma_dev, bp->rx_ring_dma, in b44_free_consistent()
1172 bp->rx_ring, bp->rx_ring_dma); in b44_free_consistent()
1209 &bp->rx_ring_dma, gfp); in b44_alloc_consistent()
1215 dma_addr_t rx_ring_dma; in b44_alloc_consistent() local
1221 rx_ring_dma = dma_map_single(bp->sdev->dma_dev, rx_ring, in b44_alloc_consistent()
1225 if (dma_mapping_error(bp->sdev->dma_dev, rx_ring_dma) || in b44_alloc_consistent()
[all …]
Db44.h397 dma_addr_t rx_ring_dma, tx_ring_dma; member
/drivers/net/ethernet/rdc/
Dr6040.c195 dma_addr_t rx_ring_dma; member
342 r6040_init_ring_desc(lp->rx_ring, lp->rx_ring_dma, RX_DCNT); in r6040_alloc_rxbufs()
409 iowrite16(lp->rx_ring_dma, ioaddr + MRD_SA0); in r6040_init_mac_regs()
410 iowrite16(lp->rx_ring_dma >> 16, ioaddr + MRD_SA1); in r6040_init_mac_regs()
503 RX_DESC_SIZE, lp->rx_ring, lp->rx_ring_dma); in r6040_close()
774 pci_alloc_consistent(lp->pdev, RX_DESC_SIZE, &lp->rx_ring_dma); in r6040_open()
801 lp->rx_ring_dma); in r6040_open()
/drivers/net/ethernet/smsc/
Depic100.c261 dma_addr_t rx_ring_dma; member
390 ep->rx_ring_dma = ring_dma; in epic_init_one()
500 pci_free_consistent(pdev, RX_TOTAL_SIZE, ep->rx_ring, ep->rx_ring_dma); in epic_init_one()
723 ew32(PRxCDAR, ep->rx_ring_dma); in epic_open()
812 ew32(PRxCDAR, ep->rx_ring_dma + in epic_restart()
913 ep->rx_ring[i].next = ep->rx_ring_dma + in epic_init_ring()
918 ep->rx_ring[i-1].next = ep->rx_ring_dma; in epic_init_ring()
1524 pci_free_consistent(pdev, RX_TOTAL_SIZE, ep->rx_ring, ep->rx_ring_dma); in epic_remove_one()
/drivers/net/ethernet/
Dfealnx.c380 dma_addr_t rx_ring_dma; member
567 np->rx_ring_dma = ring_dma; in fealnx_init_one()
676 pci_free_consistent(pdev, RX_TOTAL_SIZE, np->rx_ring, np->rx_ring_dma); in fealnx_init_one()
697 np->rx_ring_dma); in fealnx_remove_one()
846 iowrite32(np->rx_ring_dma, ioaddr + RXLBA); in netdev_open()
1159 iowrite32(np->rx_ring_dma + ((char*)np->cur_rx - (char*)np->rx_ring), in enable_rxtx()
1252 np->rx_ring[i].next_desc = np->rx_ring_dma + in init_ring()
1259 np->rx_ring[i - 1].next_desc = np->rx_ring_dma; in init_ring()
1426 iowrite32(np->rx_ring_dma + ((char*)np->cur_rx - (char*)np->rx_ring), in reset_rx_descriptors()
/drivers/net/ethernet/dlink/
Dsundance.c376 dma_addr_t rx_ring_dma; member
570 np->rx_ring_dma = ring_dma; in sundance_probe1()
701 np->rx_ring, np->rx_ring_dma); in sundance_probe1()
865 iowrite32(np->rx_ring_dma, ioaddr + RxListPtr); in netdev_open()
1038 np->rx_ring[i].next_desc = cpu_to_le32(np->rx_ring_dma + in init_ring()
1888 (int)(np->rx_ring_dma)); in netdev_close()
1937 np->rx_ring, np->rx_ring_dma); in sundance_remove1()
Ddl2k.c246 np->rx_ring_dma = ring_dma; in rio_probe1()
295 pci_free_consistent (pdev, RX_TOTAL_SIZE, np->rx_ring, np->rx_ring_dma); in rio_probe1()
568 np->rx_ring[i].next_desc = cpu_to_le64 (np->rx_ring_dma + in alloc_list()
595 dw32(RFDListPtr0, np->rx_ring_dma); in alloc_list()
1738 np->rx_ring_dma); in rio_remove1()
Ddl2k.h367 dma_addr_t rx_ring_dma; member
/drivers/net/ethernet/dec/tulip/
Dtulip_core.c332 iowrite32(tp->rx_ring_dma, ioaddr + CSR3); in tulip_up()
628 tp->rx_ring[i].buffer2 = cpu_to_le32(tp->rx_ring_dma + sizeof(struct tulip_rx_desc) * (i + 1)); in tulip_init_ring()
634 tp->rx_ring[i-1].buffer2 = cpu_to_le32(tp->rx_ring_dma); in tulip_init_ring()
1450 &tp->rx_ring_dma); in tulip_init_one()
1454 tp->tx_ring_dma = tp->rx_ring_dma + sizeof(struct tulip_rx_desc) * RX_RING_SIZE; in tulip_init_one()
1788 tp->rx_ring, tp->rx_ring_dma); in tulip_init_one()
1936 tp->rx_ring, tp->rx_ring_dma); in tulip_remove_one()
Dtulip.h406 dma_addr_t rx_ring_dma; member
/drivers/net/wireless/rtl818x/rtl8180/
Drtl8180.h114 dma_addr_t rx_ring_dma; member
/drivers/net/ethernet/micrel/
Dks8695net.c183 dma_addr_t rx_ring_dma; member
762 ks8695_writereg(ksp, KS8695_RDLB, (u32) ksp->rx_ring_dma); in ks8695_init_net()
1482 ksp->rx_ring_dma = ksp->ring_base_dma + TX_RING_DMA_SIZE; in ks8695_probe()
1498 cpu_to_le32(ksp->rx_ring_dma + in ks8695_probe()
/drivers/net/ethernet/sis/
Dsis900.c189 dma_addr_t rx_ring_dma; member
495 sis_priv->rx_ring_dma = ring_dma; in sis900_probe()
573 sis_priv->rx_ring_dma); in sis900_probe()
1171 sis_priv->rx_ring[i].link = sis_priv->rx_ring_dma + in sis900_init_rx_ring()
1202 sw32(rxdp, sis_priv->rx_ring_dma); in sis900_init_rx_ring()
2423 sis_priv->rx_ring_dma); in sis900_remove()
/drivers/net/wireless/
Dadm8211.c1470 ADM8211_CSR_WRITE(RDB, priv->rx_ring_dma); in adm8211_init_rings()
1734 &priv->rx_ring_dma); in adm8211_alloc_rings()
1744 priv->tx_ring_dma = priv->rx_ring_dma + in adm8211_alloc_rings()
1918 priv->rx_ring, priv->rx_ring_dma); in adm8211_probe()
1951 priv->rx_ring, priv->rx_ring_dma); in adm8211_remove()
Dadm8211.h542 dma_addr_t rx_ring_dma; member
/drivers/net/ethernet/3com/
D3c59x.c599 dma_addr_t rx_ring_dma; member
1221 &vp->rx_ring_dma); in vortex_probe1()
1227 vp->tx_ring_dma = vp->rx_ring_dma + sizeof(struct boom_rx_desc) * RX_RING_SIZE; in vortex_probe1()
1487 vp->rx_ring_dma); in vortex_probe1()
1691 iowrite32(vp->rx_ring_dma, ioaddr + UpListPtr); in vortex_up()
1752 vp->rx_ring[i].next = cpu_to_le32(vp->rx_ring_dma + sizeof(struct boom_rx_desc) * (i+1)); in vortex_open()
1778 vp->rx_ring[i-1].next = cpu_to_le32(vp->rx_ring_dma); in vortex_open()
3291 vp->rx_ring_dma); in vortex_remove_one()
/drivers/net/ethernet/realtek/
D8139too.c585 dma_addr_t rx_ring_dma; member
1326 &tp->rx_ring_dma, GFP_KERNEL); in rtl8139_open()
1335 tp->rx_ring, tp->rx_ring_dma); in rtl8139_open()
1395 RTL_W32_F (RxBuf, tp->rx_ring_dma); in rtl8139_hw_start()
1896 RTL_W32_F (RxBuf, tp->rx_ring_dma); in rtl8139_rx_err()
2278 tp->rx_ring, tp->rx_ring_dma); in rtl8139_close()
/drivers/net/ethernet/via/
Dvia-rhine.c443 dma_addr_t rx_ring_dma; member
1189 rp->rx_ring_dma = ring_dma; in alloc_ring()
1203 rp->rx_ring, rp->rx_ring_dma); in free_ring()
1225 next = rp->rx_ring_dma; in alloc_rbufs()
1236 rp->rx_ring[i-1].next_desc = cpu_to_le32(rp->rx_ring_dma); in alloc_rbufs()
1539 iowrite32(rp->rx_ring_dma, ioaddr + RxRingPtr); in init_registers()
/drivers/net/hippi/
Drrunner.c169 rrpriv->rx_ring_dma = ring_dma; in rr_init_one()
209 rrpriv->rx_ring_dma); in rr_init_one()
238 rr->rx_ring_dma); in rr_remove_one()
673 set_rraddr(&rrpriv->rx_ctrl[4].rngptr, rrpriv->rx_ring_dma); in rr_init1()
/drivers/net/ethernet/adaptec/
Dstarfire.c535 dma_addr_t rx_ring_dma; member
918 np->rx_ring_dma = np->tx_ring_dma + tx_ring_size; in netdev_open()
951 writel(np->rx_ring_dma, ioaddr + RxDescQAddr); in netdev_open()
1926 (long long) np->rx_ring_dma, np->rx_done_q); in netdev_close()

12