/drivers/net/ethernet/realtek/ |
D | 8139cp.c | 350 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 …]
|
/drivers/net/ethernet/packetengines/ |
D | yellowfin.c | 381 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()
|
D | hamachi.c | 593 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()
|
/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 779 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()
|
D | atl1e.h | 440 dma_addr_t ring_dma; member
|
/drivers/net/hippi/ |
D | rrunner.c | 93 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()
|
/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 291 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()
|
/drivers/net/ethernet/smsc/ |
D | epic100.c | 330 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()
|
/drivers/net/ethernet/natsemi/ |
D | natsemi.c | 540 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()
|
/drivers/net/ethernet/dlink/ |
D | dl2k.c | 112 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()
|
D | sundance.c | 504 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()
|
/drivers/net/ethernet/ |
D | fealnx.c | 484 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()
|
/drivers/net/ethernet/dec/tulip/ |
D | de2104x.c | 305 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()
|
/drivers/net/ethernet/sis/ |
D | sis900.c | 438 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()
|
/drivers/net/ethernet/via/ |
D | via-rhine.c | 1143 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()
|
/drivers/net/ethernet/atheros/atlx/ |
D | atl2.h | 454 dma_addr_t ring_dma; member
|
D | atl2.c | 186 (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()
|
/drivers/net/ethernet/3com/ |
D | typhoon.c | 686 u32 ring_dma) in typhoon_tso_fill() argument 689 u32 tcpd_offset = ring_dma; in typhoon_tso_fill()
|