Searched refs:tx_index (Results 1 – 2 of 2) sorted by relevance
361 int timeout, tx_index; in lpc32xx_eth_send() local373 tx_index = readl(®s->txproduceindex); in lpc32xx_eth_send()376 writel((u32)dataptr, &bufs->tx_desc[tx_index].packet); in lpc32xx_eth_send()378 &bufs->tx_desc[tx_index].control); in lpc32xx_eth_send()379 writel(0, &bufs->tx_stat[tx_index].statusinfo); in lpc32xx_eth_send()382 tx_index = (tx_index + 1) % TX_BUF_COUNT; in lpc32xx_eth_send()383 writel(tx_index, ®s->txproduceindex); in lpc32xx_eth_send()
36 int tx_index; member404 priv->tx_index = 0; in ftgmac100_init()512 struct ftgmac100_txdes *curr_des = &priv->txdes[priv->tx_index]; in ftgmac100_send()538 priv->tx_index = (priv->tx_index + 1) % PKTBUFSTX; in ftgmac100_send()