/linux/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp_intf.c | 533 (DESC_ADDR(desc->buf) - intf->rx_ring_dma); in bcmasp_rx_poll() 704 intf->rx_ring_dma = dma_map_page(kdev, buffer_pg, 0, RING_BUFFER_SIZE, in bcmasp_alloc_buffers() 706 if (dma_mapping_error(kdev, intf->rx_ring_dma)) in bcmasp_alloc_buffers() 734 dma_unmap_page(kdev, intf->rx_ring_dma, RING_BUFFER_SIZE, in bcmasp_alloc_buffers() 749 dma_unmap_page(kdev, intf->rx_ring_dma, RING_BUFFER_SIZE, in bcmasp_reclaim_free_buffers() 762 intf->rx_ring_dma_valid = intf->rx_ring_dma + RING_BUFFER_SIZE - 1; in bcmasp_init_rx() 771 rx_edpkt_cfg_wq(intf, intf->rx_ring_dma, RX_EDPKT_RING_BUFFER_READ); in bcmasp_init_rx() 772 rx_edpkt_cfg_wq(intf, intf->rx_ring_dma, RX_EDPKT_RING_BUFFER_WRITE); in bcmasp_init_rx() 773 rx_edpkt_cfg_wq(intf, intf->rx_ring_dma, RX_EDPKT_RING_BUFFER_BASE); in bcmasp_init_rx()
|
/linux/drivers/net/ethernet/packetengines/ |
H A D | yellowfin.c | 313 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()
|
H A D | hamachi.c | 489 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()
|
/linux/drivers/net/ethernet/rdc/ |
H A D | r6040.c | 183 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()
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | b44.c | 700 b44_sync_dma_desc_for_device(bp->sdev, bp->rx_ring_dma, in b44_alloc_rx_skb() 728 b44_sync_dma_desc_for_cpu(bp->sdev, bp->rx_ring_dma, in b44_recycle_rx() 744 b44_sync_dma_desc_for_device(bp->sdev, bp->rx_ring_dma, in b44_recycle_rx() 1138 dma_unmap_single(bp->sdev->dma_dev, bp->rx_ring_dma, in b44_free_consistent() 1143 bp->rx_ring, bp->rx_ring_dma); in b44_free_consistent() 1180 &bp->rx_ring_dma, gfp); in b44_alloc_consistent() 1186 dma_addr_t rx_ring_dma; in b44_alloc_consistent() local 1192 rx_ring_dma = dma_map_single(bp->sdev->dma_dev, rx_ring, in b44_alloc_consistent() 1196 if (dma_mapping_error(bp->sdev->dma_dev, rx_ring_dma) || in b44_alloc_consistent() 1197 rx_ring_dma + size > DMA_BIT_MASK(30)) { in b44_alloc_consistent() [all …]
|
H A D | b44.h | 402 dma_addr_t rx_ring_dma, tx_ring_dma; member
|
/linux/drivers/net/ethernet/smsc/ |
H A D | epic100.c | 261 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()
|
/linux/drivers/net/ethernet/ |
H A D | fealnx.c | 373 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()
|
/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/ |
H A D | rtl8180.h | 115 dma_addr_t rx_ring_dma; member
|
H A D | dev.c | 859 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()
|
/linux/drivers/net/ethernet/dlink/ |
H A D | sundance.c | 368 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() 1874 (int)(np->rx_ring_dma)); in netdev_close() 1923 np->rx_ring, np->rx_ring_dma); in sundance_remove1()
|
H A D | dl2k.h | 371 dma_addr_t rx_ring_dma; member
|
H A D | dl2k.c | 237 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() 1798 np->rx_ring_dma); in rio_remove1()
|
/linux/drivers/net/ethernet/sis/ |
H A D | sis900.c | 189 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()
|
/linux/drivers/net/wireless/admtek/ |
H A D | adm8211.c | 1476 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() 1938 priv->rx_ring, priv->rx_ring_dma); in adm8211_probe() 1971 priv->rx_ring, priv->rx_ring_dma); in adm8211_remove()
|
H A D | adm8211.h | 543 dma_addr_t rx_ring_dma; member
|
/linux/drivers/net/ethernet/dec/tulip/ |
H A D | tulip_core.c | 321 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()
|
H A D | tulip.h | 406 dma_addr_t rx_ring_dma; member
|
/linux/drivers/staging/rtl8192e/rtl8192e/ |
H A D | rtl_core.h | 230 dma_addr_t rx_ring_dma; member
|
/linux/drivers/net/ethernet/3com/ |
H A D | 3c59x.c | 599 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()
|
/linux/drivers/net/ethernet/realtek/ |
H A D | 8139too.c | 590 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()
|
/linux/drivers/net/ethernet/via/ |
H A D | via-rhine.c | 438 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()
|
/linux/drivers/net/hippi/ |
H A D | rrunner.c | 167 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()
|
/linux/drivers/net/ethernet/adaptec/ |
H A D | starfire.c | 519 dma_addr_t rx_ring_dma; member 898 np->rx_ring_dma = np->tx_ring_dma + tx_ring_size; in netdev_open() 931 writel(np->rx_ring_dma, ioaddr + RxDescQAddr); in netdev_open() 1951 (long long) np->rx_ring_dma, np->rx_done_q); in netdev_close()
|
/linux/drivers/net/ethernet/cadence/ |
H A D | macb_main.c | 502 queue_writel(queue, RBQP, lower_32_bits(queue->rx_ring_dma)); in macb_init_buffers() 506 upper_32_bits(queue->rx_ring_dma)); in macb_init_buffers() 1650 queue_writel(queue, RBQP, queue->rx_ring_dma); in macb_rx() 2508 queue->rx_ring, queue->rx_ring_dma); in macb_free_consistent() 2575 &queue->rx_ring_dma, GFP_KERNEL); in macb_alloc_consistent() 2580 size, (unsigned long)queue->rx_ring_dma, queue->rx_ring); in macb_alloc_consistent() 4284 &q->rx_ring_dma, GFP_KERNEL); in at91ether_alloc_coherent() 4296 q->rx_ring, q->rx_ring_dma); in at91ether_alloc_coherent() 4312 q->rx_ring, q->rx_ring_dma); in at91ether_free_coherent() 4353 macb_writel(lp, RBQP, q->rx_ring_dma); in at91ether_start()
|