Lines Matching defs:NUM_RX_DESC
52 #define NUM_RX_DESC 64 /* [8..8192] */
54 #define RX_RING_BYTES (NUM_RX_DESC * sizeof(struct RxDesc))
280 struct sk_buff *Rx_skbuff[NUM_RX_DESC];
519 unsigned int i = cur % NUM_RX_DESC;
582 rx_left = NUM_RX_DESC + tp->dirty_rx - cur_rx;
586 unsigned int entry = cur_rx % NUM_RX_DESC;
645 if ((tp->dirty_rx + NUM_RX_DESC) == tp->cur_rx)
800 for (i = 0; i < NUM_RX_DESC; i++) {
819 memset(tp->Rx_skbuff, 0x0, NUM_RX_DESC * sizeof(struct sk_buff *));
821 if (sis190_rx_fill(tp, dev, 0, NUM_RX_DESC) != NUM_RX_DESC)
824 sis190_mark_as_last_descriptor(tp->RxDescRing + NUM_RX_DESC - 1);