Home
last modified time | relevance | path

Searched refs:ring_dma (Results 1 – 20 of 20) sorted by relevance

/linux/arch/powerpc/platforms/pasemi/
A Ddma_lib.c248 &chan->ring_dma, GFP_KERNEL); in pasemi_dma_alloc_ring()
267 chan->ring_virt, chan->ring_dma); in pasemi_dma_free_ring()
270 chan->ring_dma = 0; in pasemi_dma_free_ring()
/linux/drivers/net/ethernet/realtek/
A D8139cp.c350 dma_addr_t ring_dma; member
989 dma_addr_t ring_dma; in cp_start_hw() local
1004 ring_dma = cp->ring_dma; in cp_start_hw()
1005 cpw32_f(RxRingAddr, ring_dma & 0xffffffff); in cp_start_hw()
1006 cpw32_f(RxRingAddr + 4, (ring_dma >> 16) >> 16); in cp_start_hw()
1008 ring_dma += sizeof(struct cp_desc) * CP_RX_RING_SIZE; in cp_start_hw()
1009 cpw32_f(TxRingAddr, ring_dma & 0xffffffff); in cp_start_hw()
1010 cpw32_f(TxRingAddr + 4, (ring_dma >> 16) >> 16); in cp_start_hw()
1119 mem = dma_alloc_coherent(d, CP_RING_BYTES, &cp->ring_dma, GFP_KERNEL); in cp_alloc_rings()
1128 dma_free_coherent(d, CP_RING_BYTES, cp->rx_ring, cp->ring_dma); in cp_alloc_rings()
[all …]
/linux/drivers/net/ethernet/packetengines/
A Dyellowfin.c381 dma_addr_t ring_dma; in yellowfin_init_one() local
439 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in yellowfin_init_one()
444 np->tx_ring_dma = ring_dma; in yellowfin_init_one()
446 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in yellowfin_init_one()
451 np->rx_ring_dma = ring_dma; in yellowfin_init_one()
454 &ring_dma, GFP_KERNEL); in yellowfin_init_one()
458 np->tx_status_dma = ring_dma; in yellowfin_init_one()
A Dhamachi.c593 dma_addr_t ring_dma; in hamachi_init_one() local
651 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in hamachi_init_one()
656 hmp->tx_ring_dma = ring_dma; in hamachi_init_one()
658 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in hamachi_init_one()
663 hmp->rx_ring_dma = ring_dma; in hamachi_init_one()
/linux/drivers/net/ethernet/atheros/atl1e/
A Datl1e_main.c779 adapter->ring_vir_addr, adapter->ring_dma); in atl1e_free_ring_resources()
816 &adapter->ring_dma, GFP_KERNEL); in atl1e_setup_ring_resources()
826 tx_ring->dma = roundup(adapter->ring_dma, 8); in atl1e_setup_ring_resources()
827 offset = tx_ring->dma - adapter->ring_dma; in atl1e_setup_ring_resources()
843 adapter->ring_dma + offset; in atl1e_setup_ring_resources()
851 tx_ring->cmb_dma = adapter->ring_dma + offset; in atl1e_setup_ring_resources()
858 adapter->ring_dma + offset; in atl1e_setup_ring_resources()
876 adapter->ring_vir_addr, adapter->ring_dma); in atl1e_setup_ring_resources()
892 (u32)((adapter->ring_dma & AT_DMA_HI_ADDR_MASK) >> 32)); in atl1e_configure_des_ring()
903 (u32)((adapter->ring_dma & in atl1e_configure_des_ring()
A Datl1e.h440 dma_addr_t ring_dma; member
/linux/drivers/net/hippi/
A Drrunner.c93 dma_addr_t ring_dma; in rr_init_one() local
154 tmpptr = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in rr_init_one()
157 rrpriv->tx_ring_dma = ring_dma; in rr_init_one()
164 tmpptr = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in rr_init_one()
167 rrpriv->rx_ring_dma = ring_dma; in rr_init_one()
174 tmpptr = dma_alloc_coherent(&pdev->dev, EVT_RING_SIZE, &ring_dma, in rr_init_one()
177 rrpriv->evt_ring_dma = ring_dma; in rr_init_one()
/linux/drivers/net/ethernet/pasemi/
A Dpasemi_mac.c291 PAS_DMA_TXCHAN_BASEL_BRBL(ring->chan.ring_dma)); in pasemi_mac_setup_csring()
292 val = PAS_DMA_TXCHAN_BASEU_BRBH(ring->chan.ring_dma >> 32); in pasemi_mac_setup_csring()
401 PAS_DMA_RXCHAN_BASEL_BRBL(ring->chan.ring_dma)); in pasemi_mac_setup_rx_resources()
404 PAS_DMA_RXCHAN_BASEU_BRBH(ring->chan.ring_dma >> 32) | in pasemi_mac_setup_rx_resources()
478 PAS_DMA_TXCHAN_BASEL_BRBL(ring->chan.ring_dma)); in pasemi_mac_setup_tx_resources()
479 val = PAS_DMA_TXCHAN_BASEU_BRBH(ring->chan.ring_dma >> 32); in pasemi_mac_setup_tx_resources()
1380 csdma = csring->chan.ring_dma + (fill & (CS_RING_SIZE-1)) * 8 + 2; in pasemi_mac_queue_csdesc()
/linux/drivers/net/ethernet/smsc/
A Depic100.c330 dma_addr_t ring_dma; in epic_init_one() local
378 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in epic_init_one()
383 ep->tx_ring_dma = ring_dma; in epic_init_one()
385 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in epic_init_one()
390 ep->rx_ring_dma = ring_dma; in epic_init_one()
/linux/drivers/net/ethernet/natsemi/
A Dnatsemi.c540 dma_addr_t ring_dma; member
1720 writel(np->ring_dma, ioaddr + RxRingPtr); in init_registers()
1721 writel(np->ring_dma + RX_RING_SIZE * sizeof(struct netdev_desc), in init_registers()
1920 &np->ring_dma, GFP_KERNEL); in alloc_ring()
1979 np->tx_ring[i].next_desc = cpu_to_le32(np->ring_dma in init_ring()
1998 np->rx_ring[i].next_desc = cpu_to_le32(np->ring_dma in init_ring()
2055 np->rx_ring, np->ring_dma); in free_ring()
2325 writel(np->ring_dma, ioaddr + RxRingPtr); in netdev_rx()
2548 writel(np->ring_dma, ioaddr + RxRingPtr); in natsemi_change_mtu()
/linux/drivers/net/ethernet/dlink/
A Ddl2k.c112 dma_addr_t ring_dma; in rio_probe1() local
225 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in rio_probe1()
230 np->tx_ring_dma = ring_dma; in rio_probe1()
232 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in rio_probe1()
237 np->rx_ring_dma = ring_dma; in rio_probe1()
A Dsundance.c504 dma_addr_t ring_dma; in sundance_probe1() local
548 &ring_dma, GFP_KERNEL); in sundance_probe1()
552 np->tx_ring_dma = ring_dma; in sundance_probe1()
555 &ring_dma, GFP_KERNEL); in sundance_probe1()
559 np->rx_ring_dma = ring_dma; in sundance_probe1()
/linux/drivers/net/ethernet/
A Dfealnx.c484 dma_addr_t ring_dma; in fealnx_init_one() local
548 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in fealnx_init_one()
555 np->rx_ring_dma = ring_dma; in fealnx_init_one()
557 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in fealnx_init_one()
564 np->tx_ring_dma = ring_dma; in fealnx_init_one()
/linux/drivers/net/ethernet/dec/tulip/
A Dde2104x.c305 dma_addr_t ring_dma; member
1262 dw32(RxRingAddr, de->ring_dma); in de_init_hw()
1263 dw32(TxRingAddr, de->ring_dma + (sizeof(struct de_desc) * DE_RX_RING_SIZE)); in de_init_hw()
1324 &de->ring_dma, GFP_KERNEL); in de_alloc_rings()
1377 de->ring_dma); in de_free_rings()
/linux/drivers/net/ethernet/sis/
A Dsis900.c438 dma_addr_t ring_dma; in sis900_probe() local
492 &ring_dma, GFP_KERNEL); in sis900_probe()
498 sis_priv->tx_ring_dma = ring_dma; in sis900_probe()
501 &ring_dma, GFP_KERNEL); in sis900_probe()
507 sis_priv->rx_ring_dma = ring_dma; in sis900_probe()
/linux/drivers/net/ethernet/atheros/atlx/
A Datl2.h454 dma_addr_t ring_dma; member
A Datl2.c186 (u32)((adapter->ring_dma & 0xffffffff00000000ULL) >> 32)); in atl2_configure()
285 &adapter->ring_dma, GFP_KERNEL); in atl2_setup_ring_resources()
290 adapter->txd_dma = adapter->ring_dma ; in atl2_setup_ring_resources()
667 adapter->ring_vir_addr, adapter->ring_dma); in atl2_free_ring_resources()
/linux/drivers/net/ethernet/via/
A Dvia-rhine.c1143 dma_addr_t ring_dma; in alloc_ring() local
1148 &ring_dma, in alloc_ring()
1163 ring, ring_dma); in alloc_ring()
1170 rp->rx_ring_dma = ring_dma; in alloc_ring()
1171 rp->tx_ring_dma = ring_dma + RX_RING_SIZE * sizeof(struct rx_desc); in alloc_ring()
/linux/arch/powerpc/include/asm/
A Dpasemi_dma.h476 dma_addr_t ring_dma; /* DMA address for ring */ member
/linux/drivers/net/ethernet/3com/
A Dtyphoon.c691 u32 ring_dma) in typhoon_tso_fill() argument
694 u32 tcpd_offset = ring_dma; in typhoon_tso_fill()

Completed in 84 milliseconds