Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/pasemi/
H A Ddma_lib.c250 &chan->ring_dma, GFP_KERNEL); in pasemi_dma_alloc_ring()
269 chan->ring_virt, chan->ring_dma); in pasemi_dma_free_ring()
272 chan->ring_dma = 0; in pasemi_dma_free_ring()
/linux/drivers/net/ethernet/realtek/
H 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/renesas/
H A Drswitch.c273 (gq->ring_size + 1), gq->rx_ring, gq->ring_dma); in rswitch_gwca_queue_free()
283 (gq->ring_size + 1), gq->tx_ring, gq->ring_dma); in rswitch_gwca_queue_free()
298 gq->ts_ring, gq->ring_dma); in rswitch_gwca_ts_queue_free()
322 (gq->ring_size + 1), &gq->ring_dma, GFP_KERNEL); in rswitch_gwca_queue_alloc()
332 (gq->ring_size + 1), &gq->ring_dma, GFP_KERNEL); in rswitch_gwca_queue_alloc()
391 rswitch_desc_set_dptr(&desc->desc, gq->ring_dma); in rswitch_gwca_queue_format()
396 rswitch_desc_set_dptr(linkfix, gq->ring_dma); in rswitch_gwca_queue_format()
492 rswitch_desc_set_dptr(&desc->desc, gq->ring_dma); in rswitch_gwca_queue_ext_ts_format()
497 rswitch_desc_set_dptr(linkfix, gq->ring_dma); in rswitch_gwca_queue_ext_ts_format()
541 (gq->ring_size + 1), &gq->ring_dma, GFP_KERNEL); in rswitch_gwca_ts_queue_alloc()
[all …]
H A Drswitch.h950 dma_addr_t ring_dma; member
/linux/drivers/net/ethernet/packetengines/
H 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()
H 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/
H 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()
879 adapter->ring_vir_addr, adapter->ring_dma); in atl1e_setup_ring_resources()
895 (u32)((adapter->ring_dma & AT_DMA_HI_ADDR_MASK) >> 32)); in atl1e_configure_des_ring()
906 (u32)((adapter->ring_dma & in atl1e_configure_des_ring()
H A Datl1e.h440 dma_addr_t ring_dma; member
/linux/drivers/net/hippi/
H 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/
H 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/bluetooth/
H A Dhci_bcm4377.c441 dma_addr_t ring_dma; member
475 dma_addr_t ring_dma; member
999 msg.ring_iova = cpu_to_le64(ring->ring_dma); in bcm4377_create_completion_ring()
1053 msg.ring_iova = cpu_to_le64(ring->ring_dma); in bcm4377_create_transfer_ring()
1556 &ring->ring_dma, GFP_KERNEL); in bcm4377_alloc_transfer_ring()
1596 &ring->ring_dma, GFP_KERNEL); in bcm4377_alloc_completion_ring()
1652 cpu_to_le64(bcm4377->control_ack_ring.ring_dma); in bcm4377_init_context()
1661 cpu_to_le64(bcm4377->control_h2d_ring.ring_dma); in bcm4377_init_context()
/linux/drivers/net/ethernet/smsc/
H 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/
H A Dnatsemi.c540 dma_addr_t ring_dma; member
1718 writel(np->ring_dma, ioaddr + RxRingPtr); in init_registers()
1719 writel(np->ring_dma + RX_RING_SIZE * sizeof(struct netdev_desc), in init_registers()
1918 &np->ring_dma, GFP_KERNEL); in alloc_ring()
1977 np->tx_ring[i].next_desc = cpu_to_le32(np->ring_dma in init_ring()
1996 np->rx_ring[i].next_desc = cpu_to_le32(np->ring_dma in init_ring()
2053 np->rx_ring, np->ring_dma); in free_ring()
2323 writel(np->ring_dma, ioaddr + RxRingPtr); in netdev_rx()
2546 writel(np->ring_dma, ioaddr + RxRingPtr); in natsemi_change_mtu()
/linux/drivers/net/ethernet/
H 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/dlink/
H 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()
H 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/sis/
H 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/dec/tulip/
H 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/atheros/atlx/
H A Datl2.h454 dma_addr_t ring_dma; member
H 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/
H 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/
H A Dpasemi_dma.h476 dma_addr_t ring_dma; /* DMA address for ring */ member
/linux/drivers/net/ethernet/3com/
H A Dtyphoon.c686 u32 ring_dma) in typhoon_tso_fill() argument
689 u32 tcpd_offset = ring_dma; in typhoon_tso_fill()