/Linux-v5.10/arch/powerpc/platforms/pasemi/ |
D | dma_lib.c | 248 &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-v5.10/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 …]
|
/Linux-v5.10/drivers/net/ethernet/packetengines/ |
D | yellowfin.c | 381 dma_addr_t ring_dma; in yellowfin_init_one() local 437 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in yellowfin_init_one() 442 np->tx_ring_dma = ring_dma; in yellowfin_init_one() 444 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in yellowfin_init_one() 449 np->rx_ring_dma = ring_dma; in yellowfin_init_one() 452 &ring_dma, GFP_KERNEL); in yellowfin_init_one() 456 np->tx_status_dma = ring_dma; in yellowfin_init_one()
|
D | hamachi.c | 590 dma_addr_t ring_dma; in hamachi_init_one() local 647 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in hamachi_init_one() 652 hmp->tx_ring_dma = ring_dma; in hamachi_init_one() 654 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in hamachi_init_one() 659 hmp->rx_ring_dma = ring_dma; in hamachi_init_one()
|
/Linux-v5.10/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() 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()
|
D | atl1e.h | 440 dma_addr_t ring_dma; member
|
/Linux-v5.10/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 290 PAS_DMA_TXCHAN_BASEL_BRBL(ring->chan.ring_dma)); in pasemi_mac_setup_csring() 291 val = PAS_DMA_TXCHAN_BASEU_BRBH(ring->chan.ring_dma >> 32); in pasemi_mac_setup_csring() 400 PAS_DMA_RXCHAN_BASEL_BRBL(ring->chan.ring_dma)); in pasemi_mac_setup_rx_resources() 403 PAS_DMA_RXCHAN_BASEU_BRBH(ring->chan.ring_dma >> 32) | in pasemi_mac_setup_rx_resources() 477 PAS_DMA_TXCHAN_BASEL_BRBL(ring->chan.ring_dma)); in pasemi_mac_setup_tx_resources() 478 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-v5.10/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()
|
/Linux-v5.10/drivers/net/ethernet/smsc/ |
D | epic100.c | 329 dma_addr_t ring_dma; in epic_init_one() local 377 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in epic_init_one() 382 ep->tx_ring_dma = ring_dma; in epic_init_one() 384 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in epic_init_one() 389 ep->rx_ring_dma = ring_dma; in epic_init_one()
|
/Linux-v5.10/drivers/net/ethernet/natsemi/ |
D | natsemi.c | 540 dma_addr_t ring_dma; member 1721 writel(np->ring_dma, ioaddr + RxRingPtr); in init_registers() 1722 writel(np->ring_dma + RX_RING_SIZE * sizeof(struct netdev_desc), in init_registers() 1921 &np->ring_dma, GFP_KERNEL); in alloc_ring() 1980 np->tx_ring[i].next_desc = cpu_to_le32(np->ring_dma in init_ring() 1999 np->rx_ring[i].next_desc = cpu_to_le32(np->ring_dma in init_ring() 2056 np->rx_ring, np->ring_dma); in free_ring() 2326 writel(np->ring_dma, ioaddr + RxRingPtr); in netdev_rx() 2549 writel(np->ring_dma, ioaddr + RxRingPtr); in natsemi_change_mtu()
|
/Linux-v5.10/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 546 &ring_dma, GFP_KERNEL); in sundance_probe1() 550 np->tx_ring_dma = ring_dma; in sundance_probe1() 553 &ring_dma, GFP_KERNEL); in sundance_probe1() 557 np->rx_ring_dma = ring_dma; in sundance_probe1()
|
/Linux-v5.10/drivers/net/ethernet/ |
D | fealnx.c | 484 dma_addr_t ring_dma; in fealnx_init_one() local 546 ring_space = dma_alloc_coherent(&pdev->dev, RX_TOTAL_SIZE, &ring_dma, in fealnx_init_one() 553 np->rx_ring_dma = ring_dma; in fealnx_init_one() 555 ring_space = dma_alloc_coherent(&pdev->dev, TX_TOTAL_SIZE, &ring_dma, in fealnx_init_one() 562 np->tx_ring_dma = ring_dma; in fealnx_init_one()
|
/Linux-v5.10/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()
|
/Linux-v5.10/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()
|
/Linux-v5.10/drivers/net/ethernet/sis/ |
D | sis900.c | 431 dma_addr_t ring_dma; in sis900_probe() local 485 &ring_dma, GFP_KERNEL); in sis900_probe() 491 sis_priv->tx_ring_dma = ring_dma; in sis900_probe() 494 &ring_dma, GFP_KERNEL); in sis900_probe() 500 sis_priv->rx_ring_dma = ring_dma; in sis900_probe()
|
/Linux-v5.10/arch/powerpc/include/asm/ |
D | pasemi_dma.h | 476 dma_addr_t ring_dma; /* DMA address for ring */ member
|
/Linux-v5.10/drivers/net/ethernet/via/ |
D | via-rhine.c | 1146 dma_addr_t ring_dma; in alloc_ring() local 1151 &ring_dma, in alloc_ring() 1166 ring, ring_dma); in alloc_ring() 1173 rp->rx_ring_dma = ring_dma; in alloc_ring() 1174 rp->tx_ring_dma = ring_dma + RX_RING_SIZE * sizeof(struct rx_desc); in alloc_ring()
|
/Linux-v5.10/drivers/net/ethernet/3com/ |
D | typhoon.c | 691 u32 ring_dma) in typhoon_tso_fill() argument 694 u32 tcpd_offset = ring_dma; in typhoon_tso_fill()
|