Lines Matching refs:rx_sq
50 printf(" rx_sq.base %p\n", priv->rx_sq.base); in dump_dev()
51 printf(" rx_sq.current %p\n", priv->rx_sq.current); in dump_dev()
52 printf(" rx_sq.end %p\n", priv->rx_sq.end); in dump_dev()
77 priv->rx_sq.base + i, in dump_rx_status_queue()
78 (priv->rx_sq.base + i)->word1, in dump_rx_status_queue()
79 (priv->rx_sq.base + i)->word2); in dump_rx_status_queue()
131 priv->rx_sq.base + i, in dump_tx_status_queue()
132 (priv->rx_sq.base + i)->word1); in dump_tx_status_queue()
187 priv->rx_sq.current = priv->rx_sq.base; in ep93xx_eth_open()
188 priv->rx_sq.end = (priv->rx_sq.base + NUMRXDESC); in ep93xx_eth_open()
218 writel((uint32_t)priv->rx_sq.base, &mac->rxstsq.badd); in ep93xx_eth_open()
219 writel((uint32_t)priv->rx_sq.base, &mac->rxstsq.curadd); in ep93xx_eth_open()
247 memset(priv->rx_sq.base, 0, in ep93xx_eth_open()
307 if (RX_STATUS_RFP(priv->rx_sq.current)) { in ep93xx_eth_rcv_packet()
308 if (RX_STATUS_RWE(priv->rx_sq.current)) { in ep93xx_eth_rcv_packet()
318 len = RX_STATUS_FRAME_LEN(priv->rx_sq.current); in ep93xx_eth_rcv_packet()
327 priv->rx_sq.current->word1, in ep93xx_eth_rcv_packet()
328 priv->rx_sq.current->word2); in ep93xx_eth_rcv_packet()
339 memset((void *)priv->rx_sq.current, 0, in ep93xx_eth_rcv_packet()
342 priv->rx_sq.current++; in ep93xx_eth_rcv_packet()
343 if (priv->rx_sq.current >= priv->rx_sq.end) in ep93xx_eth_rcv_packet()
344 priv->rx_sq.current = priv->rx_sq.base; in ep93xx_eth_rcv_packet()
482 priv->rx_sq.base = calloc(NUMRXDESC, in ep93xx_eth_initialize()
484 if (priv->rx_sq.base == NULL) { in ep93xx_eth_initialize()
512 free(priv->rx_sq.base); in ep93xx_eth_initialize()