Searched refs:tx_index (Results 1 – 3 of 3) sorted by relevance
363 int timeout, tx_index; in lpc32xx_eth_send() local375 tx_index = readl(®s->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, ®s->txproduceindex); in lpc32xx_eth_send()
189 int tx_index; member274 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()
83 int tx_index; member332 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 7 milliseconds