Home
last modified time | relevance | path

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

/external/u-boot/drivers/net/
Dftmac100.c25 int rx_index; member
100 priv->rx_index = 0; in _ftmac100_init()
146 curr_des = &priv->rxdes[priv->rx_index]; in _ftmac100_free_pkt()
149 priv->rx_index = (priv->rx_index + 1) % PKTBUFSRX; in _ftmac100_free_pkt()
161 curr_des = &priv->rxdes[priv->rx_index]; in __ftmac100_recv()
176 __func__, priv->rx_index, rxlen); in __ftmac100_recv()
250 curr_des = &priv->rxdes[priv->rx_index]; in _ftmac100_recv()
342 curr_des = &priv->rxdes[priv->rx_index]; in ftmac100_recv()
Dlpc32xx_eth.c397 int timeout, rx_index; in lpc32xx_eth_recv() local
407 rx_index = readl(&regs->rxconsumeindex); in lpc32xx_eth_recv()
410 if (!(bufs->rx_stat[rx_index].statusinfo & RX_STAT_ERRORS)) { in lpc32xx_eth_recv()
412 &(bufs->rx_buf[rx_index * PKTSIZE_ALIGN]), in lpc32xx_eth_recv()
413 (bufs->rx_stat[rx_index].statusinfo in lpc32xx_eth_recv()
418 rx_index = (rx_index + 1) % RX_BUF_COUNT; in lpc32xx_eth_recv()
419 writel(rx_index, &regs->rxconsumeindex); in lpc32xx_eth_recv()
Dftgmac100.c37 int rx_index; member
405 priv->rx_index = 0; in ftgmac100_init()
473 curr_des = &priv->rxdes[priv->rx_index]; in ftgmac100_recv()
489 __func__, priv->rx_index, rxlen); in ftgmac100_recv()
500 priv->rx_index = (priv->rx_index + 1) % PKTBUFSRX; in ftgmac100_recv()