Lines Matching refs:NUM_RX_DESC
752 #define NUM_RX_DESC 8 /* Number of RX descriptors */ macro
792 struct sk_buff *rx_skb[NUM_RX_DESC]; /* RX skb's */
1170 lp->dma_size = (NUM_RX_DESC + NUM_TX_DESC) * sizeof(struct de4x5_desc); in de4x5_hw_init()
1172 lp->dma_size += RX_BUFF_SZ * NUM_RX_DESC + DE4X5_ALIGN; in de4x5_hw_init()
1180 lp->tx_ring = lp->rx_ring + NUM_RX_DESC; in de4x5_hw_init()
1187 for (i=0; i<NUM_RX_DESC; i++) { in de4x5_hw_init()
1199 dma_rx_bufs = lp->dma_rings + (NUM_RX_DESC + NUM_TX_DESC) in de4x5_hw_init()
1202 lp->rx_bufs = (char *)(((long)(lp->rx_ring + NUM_RX_DESC in de4x5_hw_init()
1204 for (i=0; i<NUM_RX_DESC; i++) { in de4x5_hw_init()
1218 lp->rxRingSize = NUM_RX_DESC; in de4x5_hw_init()
1227 outl(lp->dma_rings + NUM_RX_DESC * sizeof(struct de4x5_desc), in de4x5_hw_init()
1413 outl(lp->dma_rings + NUM_RX_DESC * sizeof(struct de4x5_desc), in de4x5_sw_reset()
3729 outl(lp->dma_rings + NUM_RX_DESC * sizeof(struct de4x5_desc), in de4x5_rst_desc_ring()