/drivers/net/ethernet/realtek/ |
D | 8139cp.c | 350 dma_addr_t ring_dma; member 996 dma_addr_t ring_dma; in cp_start_hw() local 1011 ring_dma = cp->ring_dma; in cp_start_hw() 1012 cpw32_f(RxRingAddr, ring_dma & 0xffffffff); in cp_start_hw() 1013 cpw32_f(RxRingAddr + 4, (ring_dma >> 16) >> 16); in cp_start_hw() 1015 ring_dma += sizeof(struct cp_desc) * CP_RX_RING_SIZE; in cp_start_hw() 1016 cpw32_f(TxRingAddr, ring_dma & 0xffffffff); in cp_start_hw() 1017 cpw32_f(TxRingAddr + 4, (ring_dma >> 16) >> 16); in cp_start_hw() 1126 mem = dma_alloc_coherent(d, CP_RING_BYTES, &cp->ring_dma, GFP_KERNEL); in cp_alloc_rings() 1135 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 | 382 dma_addr_t ring_dma; in yellowfin_init_one() local 438 ring_space = pci_alloc_consistent(pdev, TX_TOTAL_SIZE, &ring_dma); in yellowfin_init_one() 442 np->tx_ring_dma = ring_dma; in yellowfin_init_one() 444 ring_space = pci_alloc_consistent(pdev, RX_TOTAL_SIZE, &ring_dma); in yellowfin_init_one() 448 np->rx_ring_dma = ring_dma; in yellowfin_init_one() 450 ring_space = pci_alloc_consistent(pdev, STATUS_TOTAL_SIZE, &ring_dma); in yellowfin_init_one() 454 np->tx_status_dma = ring_dma; in yellowfin_init_one()
|
D | hamachi.c | 591 dma_addr_t ring_dma; in hamachi_init_one() local 648 ring_space = pci_alloc_consistent(pdev, TX_TOTAL_SIZE, &ring_dma); in hamachi_init_one() 652 hmp->tx_ring_dma = ring_dma; in hamachi_init_one() 654 ring_space = pci_alloc_consistent(pdev, RX_TOTAL_SIZE, &ring_dma); in hamachi_init_one() 658 hmp->rx_ring_dma = ring_dma; in hamachi_init_one()
|
/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 801 adapter->ring_vir_addr, adapter->ring_dma); in atl1e_free_ring_resources() 837 &adapter->ring_dma); in atl1e_setup_ring_resources() 847 tx_ring->dma = roundup(adapter->ring_dma, 8); in atl1e_setup_ring_resources() 848 offset = tx_ring->dma - adapter->ring_dma; in atl1e_setup_ring_resources() 864 adapter->ring_dma + offset; in atl1e_setup_ring_resources() 872 tx_ring->cmb_dma = adapter->ring_dma + offset; in atl1e_setup_ring_resources() 879 adapter->ring_dma + offset; in atl1e_setup_ring_resources() 897 adapter->ring_vir_addr, adapter->ring_dma); in atl1e_setup_ring_resources() 913 (u32)((adapter->ring_dma & AT_DMA_HI_ADDR_MASK) >> 32)); in atl1e_configure_des_ring() 924 (u32)((adapter->ring_dma & in atl1e_configure_des_ring()
|
D | atl1e.h | 454 dma_addr_t ring_dma; member
|
/drivers/net/hippi/ |
D | rrunner.c | 97 dma_addr_t ring_dma; in rr_init_one() local 158 tmpptr = pci_alloc_consistent(pdev, TX_TOTAL_SIZE, &ring_dma); in rr_init_one() 160 rrpriv->tx_ring_dma = ring_dma; in rr_init_one() 167 tmpptr = pci_alloc_consistent(pdev, RX_TOTAL_SIZE, &ring_dma); in rr_init_one() 169 rrpriv->rx_ring_dma = ring_dma; in rr_init_one() 176 tmpptr = pci_alloc_consistent(pdev, EVT_RING_SIZE, &ring_dma); in rr_init_one() 178 rrpriv->evt_ring_dma = ring_dma; in rr_init_one()
|
/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 339 PAS_DMA_TXCHAN_BASEL_BRBL(ring->chan.ring_dma)); in pasemi_mac_setup_csring() 340 val = PAS_DMA_TXCHAN_BASEU_BRBH(ring->chan.ring_dma >> 32); in pasemi_mac_setup_csring() 448 PAS_DMA_RXCHAN_BASEL_BRBL(ring->chan.ring_dma)); in pasemi_mac_setup_rx_resources() 451 PAS_DMA_RXCHAN_BASEU_BRBH(ring->chan.ring_dma >> 32) | in pasemi_mac_setup_rx_resources() 524 PAS_DMA_TXCHAN_BASEL_BRBL(ring->chan.ring_dma)); in pasemi_mac_setup_tx_resources() 525 val = PAS_DMA_TXCHAN_BASEU_BRBH(ring->chan.ring_dma >> 32); in pasemi_mac_setup_tx_resources() 1432 csdma = csring->chan.ring_dma + (fill & (CS_RING_SIZE-1)) * 8 + 2; in pasemi_mac_queue_csdesc()
|
/drivers/net/ethernet/smsc/ |
D | epic100.c | 331 dma_addr_t ring_dma; in epic_init_one() local 380 ring_space = pci_alloc_consistent(pdev, TX_TOTAL_SIZE, &ring_dma); in epic_init_one() 384 ep->tx_ring_dma = ring_dma; in epic_init_one() 386 ring_space = pci_alloc_consistent(pdev, 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 1714 writel(np->ring_dma, ioaddr + RxRingPtr); in init_registers() 1715 writel(np->ring_dma + RX_RING_SIZE * sizeof(struct netdev_desc), in init_registers() 1914 &np->ring_dma); in alloc_ring() 1973 np->tx_ring[i].next_desc = cpu_to_le32(np->ring_dma in init_ring() 1992 np->rx_ring[i].next_desc = cpu_to_le32(np->ring_dma in init_ring() 2050 np->rx_ring, np->ring_dma); in free_ring() 2321 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 | 124 dma_addr_t ring_dma; in rio_probe1() local 236 ring_space = pci_alloc_consistent (pdev, TX_TOTAL_SIZE, &ring_dma); in rio_probe1() 240 np->tx_ring_dma = ring_dma; in rio_probe1() 242 ring_space = pci_alloc_consistent (pdev, RX_TOTAL_SIZE, &ring_dma); in rio_probe1() 246 np->rx_ring_dma = ring_dma; in rio_probe1()
|
D | sundance.c | 511 dma_addr_t ring_dma; in sundance_probe1() local 559 &ring_dma, GFP_KERNEL); in sundance_probe1() 563 np->tx_ring_dma = ring_dma; in sundance_probe1() 566 &ring_dma, GFP_KERNEL); in sundance_probe1() 570 np->rx_ring_dma = ring_dma; in sundance_probe1()
|
/drivers/net/ethernet/ |
D | fealnx.c | 492 dma_addr_t ring_dma; in fealnx_init_one() local 561 ring_space = pci_alloc_consistent(pdev, RX_TOTAL_SIZE, &ring_dma); in fealnx_init_one() 567 np->rx_ring_dma = ring_dma; in fealnx_init_one() 569 ring_space = pci_alloc_consistent(pdev, TX_TOTAL_SIZE, &ring_dma); in fealnx_init_one() 575 np->tx_ring_dma = ring_dma; in fealnx_init_one()
|
/drivers/net/ethernet/dec/tulip/ |
D | de2104x.c | 311 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() 1321 de->rx_ring = pci_alloc_consistent(de->pdev, DE_RING_BYTES, &de->ring_dma); in de_alloc_rings() 1372 pci_free_consistent(de->pdev, DE_RING_BYTES, de->rx_ring, de->ring_dma); in de_free_rings()
|
/drivers/net/ethernet/sis/ |
D | sis900.c | 430 dma_addr_t ring_dma; in sis900_probe() local 481 ring_space = pci_alloc_consistent(pci_dev, TX_TOTAL_SIZE, &ring_dma); in sis900_probe() 487 sis_priv->tx_ring_dma = ring_dma; in sis900_probe() 489 ring_space = pci_alloc_consistent(pci_dev, RX_TOTAL_SIZE, &ring_dma); in sis900_probe() 495 sis_priv->rx_ring_dma = ring_dma; in sis900_probe()
|
/drivers/net/ethernet/atheros/atlx/ |
D | atl2.h | 470 dma_addr_t ring_dma; member
|
D | atl2.c | 205 (u32)((adapter->ring_dma & 0xffffffff00000000ULL) >> 32)); in atl2_configure() 304 &adapter->ring_dma); in atl2_setup_ring_resources() 310 adapter->txd_dma = adapter->ring_dma ; in atl2_setup_ring_resources() 687 adapter->ring_dma); in atl2_free_ring_resources()
|
/drivers/net/ethernet/via/ |
D | via-rhine.c | 1162 dma_addr_t ring_dma; in alloc_ring() local 1167 &ring_dma, in alloc_ring() 1182 ring, ring_dma); in alloc_ring() 1189 rp->rx_ring_dma = ring_dma; in alloc_ring() 1190 rp->tx_ring_dma = ring_dma + RX_RING_SIZE * sizeof(struct rx_desc); in alloc_ring()
|
/drivers/net/ethernet/3com/ |
D | typhoon.c | 693 u32 ring_dma) in typhoon_tso_fill() argument 696 u32 tcpd_offset = ring_dma; in typhoon_tso_fill()
|