Searched refs:rx_index (Results 1 – 3 of 3) sorted by relevance
25 int rx_index; member100 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()
397 int timeout, rx_index; in lpc32xx_eth_recv() local407 rx_index = readl(®s->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, ®s->rxconsumeindex); in lpc32xx_eth_recv()
37 int rx_index; member405 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()