Lines Matching refs:NUM_RX_DESC
61 #define NUM_RX_DESC 64 /* [8..8192] */ macro
63 #define RX_RING_BYTES (NUM_RX_DESC * sizeof(struct RxDesc))
289 struct sk_buff *Rx_skbuff[NUM_RX_DESC];
515 unsigned int i = cur % NUM_RX_DESC; in sis190_rx_fill()
579 rx_left = NUM_RX_DESC + tp->dirty_rx - cur_rx; in sis190_rx_interrupt()
583 unsigned int entry = cur_rx % NUM_RX_DESC; in sis190_rx_interrupt()
644 if (((tp->dirty_rx + NUM_RX_DESC) == tp->cur_rx) && netif_msg_intr(tp)) in sis190_rx_interrupt()
798 for (i = 0; i < NUM_RX_DESC; i++) { in sis190_rx_clear()
817 memset(tp->Rx_skbuff, 0x0, NUM_RX_DESC * sizeof(struct sk_buff *)); in sis190_init_ring()
819 if (sis190_rx_fill(tp, dev, 0, NUM_RX_DESC) != NUM_RX_DESC) in sis190_init_ring()
822 sis190_mark_as_last_descriptor(tp->RxDescRing + NUM_RX_DESC - 1); in sis190_init_ring()