Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/packetengines/
Dyellowfin.c313 dma_addr_t rx_ring_dma; member
451 np->rx_ring_dma = ring_dma; in yellowfin_init_one()
517 np->rx_ring_dma); in yellowfin_init_one()
589 iowrite32(yp->rx_ring_dma, ioaddr + RxPtr); in yellowfin_open()
740 yp->rx_ring[i].branch_addr = cpu_to_le32(yp->rx_ring_dma + in yellowfin_init_ring()
1112 !ether_addr_equal(le32_to_cpu(yp->rx_ring_dma + in yellowfin_rx()
1115 !ether_addr_equal(le32_to_cpu(yp->rx_ring_dma + in yellowfin_rx()
1243 (unsigned long long)yp->rx_ring_dma); in yellowfin_close()
1400 np->rx_ring_dma); in yellowfin_remove_one()
Dhamachi.c489 dma_addr_t rx_ring_dma; member
663 hmp->rx_ring_dma = ring_dma; in hamachi_init_one()
783 hmp->rx_ring_dma); in hamachi_init_one()
872 writel(hmp->rx_ring_dma, ioaddr + RxPtr); in hamachi_open()
873 writel(hmp->rx_ring_dma >> 32, ioaddr + RxPtr + 4); in hamachi_open()
877 writel(hmp->rx_ring_dma, ioaddr + RxPtr); in hamachi_open()
1508 skb_put_data(skb, hmp->rx_ring_dma in hamachi_rx()
1693 (int)hmp->rx_ring_dma); in hamachi_close()
1928 hmp->rx_ring_dma); in hamachi_remove_one()
/drivers/net/ethernet/broadcom/
Db44.c722 b44_sync_dma_desc_for_device(bp->sdev, bp->rx_ring_dma, in b44_alloc_rx_skb()
750 b44_sync_dma_desc_for_cpu(bp->sdev, bp->rx_ring_dma, in b44_recycle_rx()
766 b44_sync_dma_desc_for_device(bp->sdev, bp->rx_ring_dma, in b44_recycle_rx()
1135 dma_sync_single_for_device(bp->sdev->dma_dev, bp->rx_ring_dma, in b44_init_rings()
1160 dma_unmap_single(bp->sdev->dma_dev, bp->rx_ring_dma, in b44_free_consistent()
1165 bp->rx_ring, bp->rx_ring_dma); in b44_free_consistent()
1202 &bp->rx_ring_dma, gfp); in b44_alloc_consistent()
1208 dma_addr_t rx_ring_dma; in b44_alloc_consistent() local
1214 rx_ring_dma = dma_map_single(bp->sdev->dma_dev, rx_ring, in b44_alloc_consistent()
1218 if (dma_mapping_error(bp->sdev->dma_dev, rx_ring_dma) || in b44_alloc_consistent()
[all …]
Db44.h402 dma_addr_t rx_ring_dma, tx_ring_dma; member
/drivers/net/ethernet/rdc/
Dr6040.c183 dma_addr_t rx_ring_dma; member
329 r6040_init_ring_desc(lp->rx_ring, lp->rx_ring_dma, RX_DCNT); in r6040_alloc_rxbufs()
402 iowrite16(lp->rx_ring_dma, ioaddr + MRD_SA0); in r6040_init_mac_regs()
403 iowrite16(lp->rx_ring_dma >> 16, ioaddr + MRD_SA1); in r6040_init_mac_regs()
496 lp->rx_ring_dma); in r6040_close()
763 &lp->rx_ring_dma, GFP_KERNEL); in r6040_open()
791 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()
501 ep->rx_ring_dma); in epic_init_one()
725 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()
1522 ep->rx_ring_dma); in epic_remove_one()
/drivers/net/ethernet/
Dfealnx.c373 dma_addr_t rx_ring_dma; member
555 np->rx_ring_dma = ring_dma; in fealnx_init_one()
667 np->rx_ring_dma); in fealnx_init_one()
688 np->rx_ring_dma); in fealnx_remove_one()
837 iowrite32(np->rx_ring_dma, ioaddr + RXLBA); in netdev_open()
1148 iowrite32(np->rx_ring_dma + ((char*)np->cur_rx - (char*)np->rx_ring), in enable_rxtx()
1241 np->rx_ring[i].next_desc = np->rx_ring_dma + in init_ring()
1248 np->rx_ring[i - 1].next_desc = np->rx_ring_dma; in init_ring()
1420 iowrite32(np->rx_ring_dma + ((char*)np->cur_rx - (char*)np->rx_ring), in reset_rx_descriptors()
/drivers/net/ethernet/dlink/
Dsundance.c368 dma_addr_t rx_ring_dma; member
559 np->rx_ring_dma = ring_dma; in sundance_probe1()
694 np->rx_ring, np->rx_ring_dma); in sundance_probe1()
856 iowrite32(np->rx_ring_dma, ioaddr + RxListPtr); in netdev_open()
1027 np->rx_ring[i].next_desc = cpu_to_le32(np->rx_ring_dma + in init_ring()
1876 (int)(np->rx_ring_dma)); in netdev_close()
1925 np->rx_ring, np->rx_ring_dma); in sundance_remove1()
Ddl2k.h371 dma_addr_t rx_ring_dma; member
Ddl2k.c237 np->rx_ring_dma = ring_dma; in rio_probe1()
285 np->rx_ring_dma); in rio_probe1()
507 np->rx_ring[i].next_desc = cpu_to_le64(np->rx_ring_dma + in alloc_list()
560 dw32(RFDListPtr0, np->rx_ring_dma); in rio_hw_init()
1801 np->rx_ring_dma); in rio_remove1()
/drivers/net/wireless/realtek/rtl818x/rtl8180/
Drtl8180.h115 dma_addr_t rx_ring_dma; member
Ddev.c859 rtl818x_iowrite32(priv, &priv->map->RDSAR, priv->rx_ring_dma); in rtl8180_init_hw()
1013 &priv->rx_ring_dma, GFP_KERNEL); in rtl8180_init_rx_ring()
1028 priv->rx_ring, priv->rx_ring_dma); in rtl8180_init_rx_ring()
1042 priv->rx_ring, priv->rx_ring_dma); in rtl8180_init_rx_ring()
1071 priv->rx_ring, priv->rx_ring_dma); in rtl8180_free_rx_ring()
/drivers/net/ethernet/sis/
Dsis900.c189 dma_addr_t rx_ring_dma; member
507 sis_priv->rx_ring_dma = ring_dma; in sis900_probe()
585 sis_priv->rx_ring_dma); in sis900_probe()
1178 sis_priv->rx_ring[i].link = sis_priv->rx_ring_dma + in sis900_init_rx_ring()
1211 sw32(rxdp, sis_priv->rx_ring_dma); in sis900_init_rx_ring()
2502 sis_priv->rx_ring_dma); in sis900_remove()
/drivers/net/wireless/admtek/
Dadm8211.c1476 ADM8211_CSR_WRITE(RDB, priv->rx_ring_dma); in adm8211_init_rings()
1745 &priv->rx_ring_dma, GFP_KERNEL); in adm8211_alloc_rings()
1755 priv->tx_ring_dma = priv->rx_ring_dma + in adm8211_alloc_rings()
1933 priv->rx_ring, priv->rx_ring_dma); in adm8211_probe()
1966 priv->rx_ring, priv->rx_ring_dma); in adm8211_remove()
Dadm8211.h543 dma_addr_t rx_ring_dma; member
/drivers/net/ethernet/dec/tulip/
Dtulip_core.c321 iowrite32(tp->rx_ring_dma, ioaddr + CSR3); in tulip_up()
615 tp->rx_ring[i].buffer2 = cpu_to_le32(tp->rx_ring_dma + sizeof(struct tulip_rx_desc) * (i + 1)); in tulip_init_ring()
621 tp->rx_ring[i-1].buffer2 = cpu_to_le32(tp->rx_ring_dma); in tulip_init_ring()
1434 &tp->rx_ring_dma, GFP_KERNEL); in tulip_init_one()
1438 tp->tx_ring_dma = tp->rx_ring_dma + sizeof(struct tulip_rx_desc) * RX_RING_SIZE; in tulip_init_one()
Dtulip.h406 dma_addr_t rx_ring_dma; member
/drivers/net/ethernet/3com/
D3c59x.c599 dma_addr_t rx_ring_dma; member
1213 &vp->rx_ring_dma, GFP_KERNEL); in vortex_probe1()
1219 vp->tx_ring_dma = vp->rx_ring_dma + sizeof(struct boom_rx_desc) * RX_RING_SIZE; in vortex_probe1()
1479 vp->rx_ring, vp->rx_ring_dma); in vortex_probe1()
1676 iowrite32(vp->rx_ring_dma, ioaddr + UpListPtr); in vortex_up()
1738 vp->rx_ring[i].next = cpu_to_le32(vp->rx_ring_dma + sizeof(struct boom_rx_desc) * (i+1)); in vortex_open()
1761 vp->rx_ring[i-1].next = cpu_to_le32(vp->rx_ring_dma); in vortex_open()
3287 vp->rx_ring, vp->rx_ring_dma); in vortex_remove_one()
/drivers/net/ethernet/realtek/
D8139too.c590 dma_addr_t rx_ring_dma; member
1334 &tp->rx_ring_dma, GFP_KERNEL); in rtl8139_open()
1343 tp->rx_ring, tp->rx_ring_dma); in rtl8139_open()
1403 RTL_W32_F (RxBuf, tp->rx_ring_dma); in rtl8139_hw_start()
1908 RTL_W32_F (RxBuf, tp->rx_ring_dma); in rtl8139_rx_err()
2287 tp->rx_ring, tp->rx_ring_dma); in rtl8139_close()
/drivers/net/ethernet/via/
Dvia-rhine.c438 dma_addr_t rx_ring_dma; member
1170 rp->rx_ring_dma = ring_dma; in alloc_ring()
1184 rp->rx_ring, rp->rx_ring_dma); in free_ring()
1250 next = rp->rx_ring_dma; in alloc_rbufs()
1261 rp->rx_ring[i-1].next_desc = cpu_to_le32(rp->rx_ring_dma); in alloc_rbufs()
1563 iowrite32(rp->rx_ring_dma, ioaddr + RxRingPtr); in init_registers()
/drivers/net/hippi/
Drrunner.c167 rrpriv->rx_ring_dma = ring_dma; in rr_init_one()
208 rrpriv->rx_ring_dma); in rr_init_one()
238 rr->rx_ring_dma); in rr_remove_one()
675 set_rraddr(&rrpriv->rx_ctrl[4].rngptr, rrpriv->rx_ring_dma); in rr_init1()
Drrunner.h806 dma_addr_t rx_ring_dma; member
/drivers/net/ethernet/adaptec/
Dstarfire.c527 dma_addr_t rx_ring_dma; member
906 np->rx_ring_dma = np->tx_ring_dma + tx_ring_size; in netdev_open()
939 writel(np->rx_ring_dma, ioaddr + RxDescQAddr); in netdev_open()
1959 (long long) np->rx_ring_dma, np->rx_done_q); in netdev_close()
/drivers/net/ethernet/cadence/
Dmacb_main.c451 queue_writel(queue, RBQP, lower_32_bits(queue->rx_ring_dma)); in macb_init_buffers()
455 upper_32_bits(queue->rx_ring_dma)); in macb_init_buffers()
1586 queue_writel(queue, RBQP, queue->rx_ring_dma); in macb_rx()
2432 queue->rx_ring, queue->rx_ring_dma); in macb_free_consistent()
2499 &queue->rx_ring_dma, GFP_KERNEL); in macb_alloc_consistent()
2504 size, (unsigned long)queue->rx_ring_dma, queue->rx_ring); in macb_alloc_consistent()
4145 &q->rx_ring_dma, GFP_KERNEL); in at91ether_alloc_coherent()
4157 q->rx_ring, q->rx_ring_dma); in at91ether_alloc_coherent()
4173 q->rx_ring, q->rx_ring_dma); in at91ether_free_coherent()
4214 macb_writel(lp, RBQP, q->rx_ring_dma); in at91ether_start()
/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.h376 dma_addr_t rx_ring_dma[MAX_RX_QUEUE]; member

12