Home
last modified time | relevance | path

Searched refs:tx_index (Results 1 – 3 of 3) sorted by relevance

/u-boot/drivers/net/
A Dlpc32xx_eth.c363 int timeout, tx_index; in lpc32xx_eth_send() local
375 tx_index = readl(&regs->txproduceindex); in lpc32xx_eth_send()
378 memcpy((void *)&bufs->tx_buf[tx_index * PKTSIZE_ALIGN], in lpc32xx_eth_send()
381 &bufs->tx_desc[tx_index].control); in lpc32xx_eth_send()
382 writel(0, &bufs->tx_stat[tx_index].statusinfo); in lpc32xx_eth_send()
385 tx_index = (tx_index + 1) % TX_BUF_COUNT; in lpc32xx_eth_send()
386 writel(tx_index, &regs->txproduceindex); in lpc32xx_eth_send()
A Dbcmgenet.c189 int tx_index; member
274 void *desc_base = priv->tx_desc_base + priv->tx_index * DMA_DESC_SIZE; in bcmgenet_gmac_eth_send()
299 if (++priv->tx_index >= TX_DESCS) in bcmgenet_gmac_eth_send()
300 priv->tx_index = 0; in bcmgenet_gmac_eth_send()
426 priv->tx_index = readl(priv->mac_reg + TDMA_CONS_INDEX); in tx_ring_init()
427 writel(priv->tx_index, priv->mac_reg + TDMA_PROD_INDEX); in tx_ring_init()
428 priv->tx_index &= 0xFF; in tx_ring_init()
A Dftgmac100.c83 int tx_index; member
332 priv->tx_index = 0; in ftgmac100_start()
475 struct ftgmac100_txdes *curr_des = &priv->txdes[priv->tx_index]; in BUILD_WAIT_FOR_BIT()
523 priv->tx_index = (priv->tx_index + 1) % PKTBUFSTX; in BUILD_WAIT_FOR_BIT()

Completed in 8 milliseconds