Lines Matching refs:NUM_RX_DESC
51 #define NUM_RX_DESC 64 /* [8..8192] */ macro
53 #define RX_RING_BYTES (NUM_RX_DESC * sizeof(struct RxDesc))
279 struct sk_buff *Rx_skbuff[NUM_RX_DESC];
518 unsigned int i = cur % NUM_RX_DESC; in sis190_rx_fill()
581 rx_left = NUM_RX_DESC + tp->dirty_rx - cur_rx; in sis190_rx_interrupt()
585 unsigned int entry = cur_rx % NUM_RX_DESC; in sis190_rx_interrupt()
646 if ((tp->dirty_rx + NUM_RX_DESC) == tp->cur_rx) in sis190_rx_interrupt()
802 for (i = 0; i < NUM_RX_DESC; i++) { in sis190_rx_clear()
821 memset(tp->Rx_skbuff, 0x0, NUM_RX_DESC * sizeof(struct sk_buff *)); in sis190_init_ring()
823 if (sis190_rx_fill(tp, dev, 0, NUM_RX_DESC) != NUM_RX_DESC) in sis190_init_ring()
826 sis190_mark_as_last_descriptor(tp->RxDescRing + NUM_RX_DESC - 1); in sis190_init_ring()