Lines Matching refs:rx_dq
47 printf(" rx_dq.base %p\n", priv->rx_dq.base); in dump_dev()
48 printf(" rx_dq.current %p\n", priv->rx_dq.current); in dump_dev()
49 printf(" rx_dq.end %p\n", priv->rx_dq.end); in dump_dev()
95 priv->rx_dq.base + i, in dump_rx_descriptor_queue()
96 (priv->rx_dq.base + i)->word1, in dump_rx_descriptor_queue()
97 (priv->rx_dq.base + i)->word2); in dump_rx_descriptor_queue()
184 priv->rx_dq.current = priv->rx_dq.base; in ep93xx_eth_open()
185 priv->rx_dq.end = (priv->rx_dq.base + NUMRXDESC); in ep93xx_eth_open()
214 writel((uint32_t)priv->rx_dq.base, &mac->rxdq.badd); in ep93xx_eth_open()
215 writel((uint32_t)priv->rx_dq.base, &mac->rxdq.curadd); in ep93xx_eth_open()
239 (priv->rx_dq.base + i)->word1 = (uint32_t)net_rx_packets[i]; in ep93xx_eth_open()
242 (priv->rx_dq.base + i)->word2 = PKTSIZE_ALIGN; in ep93xx_eth_open()
321 (uchar *)priv->rx_dq.current->word1, len); in ep93xx_eth_rcv_packet()
346 priv->rx_dq.current++; in ep93xx_eth_rcv_packet()
347 if (priv->rx_dq.current >= priv->rx_dq.end) in ep93xx_eth_rcv_packet()
348 priv->rx_dq.current = priv->rx_dq.base; in ep93xx_eth_rcv_packet()
475 priv->rx_dq.base = calloc(NUMRXDESC, in ep93xx_eth_initialize()
477 if (priv->rx_dq.base == NULL) { in ep93xx_eth_initialize()
516 free(priv->rx_dq.base); in ep93xx_eth_initialize()