Home
last modified time | relevance | path

Searched refs:tx_ring_dma (Results 1 – 25 of 25) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/packetengines/
Dyellowfin.c314 dma_addr_t tx_ring_dma; member
444 np->tx_ring_dma = ring_dma; in yellowfin_init_one()
520 np->tx_ring_dma); in yellowfin_init_one()
590 iowrite32(yp->tx_ring_dma, ioaddr + TxPtr); in yellowfin_open()
769 yp->tx_ring[i].branch_addr = cpu_to_le32(yp->tx_ring_dma + in yellowfin_init_ring()
782 yp->tx_ring[j].branch_addr = cpu_to_le32(yp->tx_ring_dma + in yellowfin_init_ring()
802 yp->tx_ring[j].branch_addr = cpu_to_le32(yp->tx_ring_dma + in yellowfin_init_ring()
1230 (unsigned long long)yp->tx_ring_dma); in yellowfin_close()
1402 np->tx_ring_dma); in yellowfin_remove_one()
Dhamachi.c488 dma_addr_t tx_ring_dma; member
656 hmp->tx_ring_dma = ring_dma; in hamachi_init_one()
786 hmp->tx_ring_dma); in hamachi_init_one()
874 writel(hmp->tx_ring_dma, ioaddr + TxPtr); in hamachi_open()
875 writel(hmp->tx_ring_dma >> 32, ioaddr + TxPtr + 4); in hamachi_open()
878 writel(hmp->tx_ring_dma, ioaddr + TxPtr); in hamachi_open()
1687 (int)hmp->tx_ring_dma); in hamachi_close()
1930 hmp->tx_ring_dma); in hamachi_remove_one()
/linux-6.1.9/drivers/net/ethernet/rdc/
Dr6040.c184 dma_addr_t tx_ring_dma; member
318 r6040_init_ring_desc(lp->tx_ring, lp->tx_ring_dma, TX_DCNT); in r6040_init_txbufs()
398 iowrite16(lp->tx_ring_dma, ioaddr + MTD_SA0); in r6040_init_mac_regs()
399 iowrite16(lp->tx_ring_dma >> 16, ioaddr + MTD_SA1); in r6040_init_mac_regs()
502 lp->tx_ring_dma); in r6040_close()
771 &lp->tx_ring_dma, GFP_KERNEL); in r6040_open()
788 lp->tx_ring_dma); in r6040_open()
/linux-6.1.9/drivers/net/ethernet/
Dfealnx.c374 dma_addr_t tx_ring_dma; member
564 np->tx_ring_dma = ring_dma; in fealnx_init_one()
664 np->tx_ring_dma); in fealnx_init_one()
686 np->tx_ring_dma); in fealnx_remove_one()
838 iowrite32(np->tx_ring_dma, ioaddr + TXLBA); in netdev_open()
1146 iowrite32(np->tx_ring_dma + ((char*)np->cur_tx - (char*)np->tx_ring), in enable_rxtx()
1279 np->tx_ring[i].next_desc = np->tx_ring_dma + in init_ring()
1286 np->tx_ring[i - 1].next_desc = np->tx_ring_dma; in init_ring()
1395 cur->next_desc = np->tx_ring_dma + in reset_tx_descriptors()
1400 np->tx_ring[TX_RING_SIZE - 1].next_desc = np->tx_ring_dma; in reset_tx_descriptors()
/linux-6.1.9/drivers/net/ethernet/smsc/
Depic100.c260 dma_addr_t tx_ring_dma; member
383 ep->tx_ring_dma = ring_dma; in epic_init_one()
504 ep->tx_ring_dma); in epic_init_one()
726 ew32(PTxCDAR, ep->tx_ring_dma); in epic_open()
814 ew32(PTxCDAR, ep->tx_ring_dma + in epic_restart()
940 ep->tx_ring[i].next = ep->tx_ring_dma + in epic_init_ring()
943 ep->tx_ring[i-1].next = ep->tx_ring_dma; in epic_init_ring()
1520 ep->tx_ring_dma); in epic_remove_one()
/linux-6.1.9/drivers/net/ethernet/broadcom/
Db44.c1028 b44_sync_dma_desc_for_device(bp->sdev, bp->tx_ring_dma, in b44_start_xmit()
1139 dma_sync_single_for_device(bp->sdev->dma_dev, bp->tx_ring_dma, in b44_init_rings()
1171 dma_unmap_single(bp->sdev->dma_dev, bp->tx_ring_dma, in b44_free_consistent()
1176 bp->tx_ring, bp->tx_ring_dma); in b44_free_consistent()
1230 &bp->tx_ring_dma, gfp); in b44_alloc_consistent()
1236 dma_addr_t tx_ring_dma; in b44_alloc_consistent() local
1242 tx_ring_dma = dma_map_single(bp->sdev->dma_dev, tx_ring, in b44_alloc_consistent()
1246 if (dma_mapping_error(bp->sdev->dma_dev, tx_ring_dma) || in b44_alloc_consistent()
1247 tx_ring_dma + size > DMA_BIT_MASK(30)) { in b44_alloc_consistent()
1253 bp->tx_ring_dma = tx_ring_dma; in b44_alloc_consistent()
[all …]
Db44.h402 dma_addr_t rx_ring_dma, tx_ring_dma; member
/linux-6.1.9/drivers/net/ethernet/sgi/
Dmeth.c77 dma_addr_t tx_ring_dma; member
213 TX_RING_BUFFER_SIZE, &priv->tx_ring_dma, GFP_ATOMIC); in meth_init_tx_ring()
218 mace->eth.tx_ring_base = priv->tx_ring_dma; in meth_init_tx_ring()
254 priv->tx_ring_dma); in meth_free_tx_ring()
/linux-6.1.9/drivers/net/ethernet/dlink/
Dsundance.c367 dma_addr_t tx_ring_dma; member
552 np->tx_ring_dma = ring_dma; in sundance_probe1()
697 np->tx_ring, np->tx_ring_dma); in sundance_probe1()
979 (unsigned long long)(np->tx_ring_dma + i*sizeof(*np->tx_ring)), in tx_timeout()
1073 np->last_tx->next_desc = cpu_to_le32(np->tx_ring_dma + in tx_poll()
1082 iowrite32 (np->tx_ring_dma + head * sizeof(struct netdev_desc), in tx_poll()
1870 (int)(np->tx_ring_dma)); in netdev_close()
1927 np->tx_ring, np->tx_ring_dma); in sundance_remove1()
Ddl2k.c230 np->tx_ring_dma = ring_dma; in rio_probe1()
288 np->tx_ring_dma); in rio_probe1()
490 np->tx_ring[i].next_desc = cpu_to_le64(np->tx_ring_dma + in alloc_list()
764 dw32(TFDListPtr0, np->tx_ring_dma + in start_xmit()
888 dw32(TFDListPtr0, np->tx_ring_dma + in tx_error()
1803 np->tx_ring_dma); in rio_remove1()
Ddl2k.h370 dma_addr_t tx_ring_dma; member
/linux-6.1.9/drivers/net/ethernet/sis/
Dsis900.c188 dma_addr_t tx_ring_dma; member
498 sis_priv->tx_ring_dma = ring_dma; in sis900_probe()
588 sis_priv->tx_ring_dma); in sis900_probe()
1143 sis_priv->tx_ring[i].link = sis_priv->tx_ring_dma + in sis900_init_tx_ring()
1150 sw32(txdp, sis_priv->tx_ring_dma); in sis900_init_tx_ring()
1591 sw32(txdp, sis_priv->tx_ring_dma); in sis900_tx_timeout()
2504 sis_priv->tx_ring_dma); in sis900_remove()
/linux-6.1.9/drivers/net/ethernet/via/
Dvia-rhine.c439 dma_addr_t tx_ring_dma; member
1171 rp->tx_ring_dma = ring_dma + RX_RING_SIZE * sizeof(struct rx_desc); in alloc_ring()
1308 next = rp->tx_ring_dma; in alloc_tbufs()
1318 rp->tx_ring[i-1].next_desc = cpu_to_le32(rp->tx_ring_dma); in alloc_tbufs()
1564 iowrite32(rp->tx_ring_dma, ioaddr + TxRingPtr); in init_registers()
2158 iowrite32(rp->tx_ring_dma + entry * sizeof(struct tx_desc), in rhine_restart_tx()
/linux-6.1.9/drivers/net/ethernet/adaptec/
Dstarfire.c528 dma_addr_t tx_ring_dma; member
904 np->tx_ring_dma = np->rx_done_q_dma + rx_done_q_size; in netdev_open()
906 np->rx_ring_dma = np->tx_ring_dma + tx_ring_size; in netdev_open()
940 writel(np->tx_ring_dma, ioaddr + TxRingPtr); in netdev_open()
1952 (long long) np->tx_ring_dma); in netdev_close()
/linux-6.1.9/drivers/net/ethernet/dec/tulip/
Dtulip.h407 dma_addr_t tx_ring_dma; member
Dtulip_core.c322 iowrite32(tp->tx_ring_dma, ioaddr + CSR4); in tulip_up()
647 tp->tx_ring[i].buffer2 = cpu_to_le32(tp->tx_ring_dma + sizeof(struct tulip_tx_desc) * (i + 1)); in tulip_init_ring()
649 tp->tx_ring[i-1].buffer2 = cpu_to_le32(tp->tx_ring_dma); in tulip_init_ring()
1438 tp->tx_ring_dma = tp->rx_ring_dma + sizeof(struct tulip_rx_desc) * RX_RING_SIZE; in tulip_init_one()
/linux-6.1.9/drivers/net/hippi/
Drrunner.c157 rrpriv->tx_ring_dma = ring_dma; in rr_init_one()
211 rrpriv->tx_ring_dma); in rr_init_one()
240 rr->tx_ring_dma); in rr_remove_one()
611 set_rraddr(&rrpriv->info->tx_ctrl.rngptr, rrpriv->tx_ring_dma); in rr_init1()
Drrunner.h805 dma_addr_t tx_ring_dma; member
/linux-6.1.9/drivers/net/wireless/admtek/
Dadm8211.h544 dma_addr_t tx_ring_dma; member
Dadm8211.c1477 ADM8211_CSR_WRITE(TDBD, priv->tx_ring_dma); in adm8211_init_rings()
1755 priv->tx_ring_dma = priv->rx_ring_dma + in adm8211_alloc_rings()
/linux-6.1.9/drivers/net/ethernet/3com/
D3c59x.c600 dma_addr_t tx_ring_dma; member
1219 vp->tx_ring_dma = vp->rx_ring_dma + sizeof(struct boom_rx_desc) * RX_RING_SIZE; in vortex_probe1()
1915 iowrite32(vp->tx_ring_dma + (vp->dirty_tx % TX_RING_SIZE) * sizeof(struct boom_tx_desc), in vortex_tx_timeout()
2216 prev_entry->next = cpu_to_le32(vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc)); in boomerang_start_xmit()
2218 iowrite32(vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc), ioaddr + DownListPtr); in boomerang_start_xmit()
2425 vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc)) in _boomerang_interrupt()
/linux-6.1.9/drivers/net/ethernet/alteon/
Dacenic.h677 dma_addr_t tx_ring_dma; /* 32/64 bit */ member
Dacenic.c730 ap->tx_ring_dma); in ace_free_descriptors()
788 &ap->tx_ring_dma, GFP_KERNEL); in ace_allocate_descriptors()
1290 set_aceaddr(&info->tx_ctrl.rngptr, ap->tx_ring_dma); in ace_init()
/linux-6.1.9/drivers/net/ethernet/cadence/
Dmacb_main.c210 return queue->tx_ring_dma + offset; in macb_tx_dma()
452 queue_writel(queue, TBQP, lower_32_bits(queue->tx_ring_dma)); in macb_init_buffers()
456 upper_32_bits(queue->tx_ring_dma)); in macb_init_buffers()
1107 queue_writel(queue, TBQP, lower_32_bits(queue->tx_ring_dma)); in macb_tx_error_task()
1110 queue_writel(queue, TBQPH, upper_32_bits(queue->tx_ring_dma)); in macb_tx_error_task()
2412 queue->tx_ring, queue->tx_ring_dma); in macb_free_consistent()
2469 &queue->tx_ring_dma, in macb_alloc_consistent()
2475 q, size, (unsigned long)queue->tx_ring_dma, in macb_alloc_consistent()
Dmacb.h1213 dma_addr_t tx_ring_dma; member