Searched refs:NUM_RX_DESC (Results 1 – 5 of 5) sorted by relevance
51 #define NUM_RX_DESC 64 /* [8..8192] */ macro53 #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()644 if ((tp->dirty_rx + NUM_RX_DESC) == tp->cur_rx) in sis190_rx_interrupt()799 for (i = 0; i < NUM_RX_DESC; i++) { in sis190_rx_clear()818 memset(tp->Rx_skbuff, 0x0, NUM_RX_DESC * sizeof(struct sk_buff *)); in sis190_init_ring()820 if (sis190_rx_fill(tp, dev, 0, NUM_RX_DESC) != NUM_RX_DESC) in sis190_init_ring()[all …]
324 #define NUM_RX_DESC 16 /* Number of Rx descriptor registers. */ macro326 #define RX_TOTAL_SIZE NUM_RX_DESC*sizeof(BufferDesc)
184 struct sk_buff *rx_skbuff[NUM_RX_DESC];1165 for (i = 0; i < NUM_RX_DESC; i++) { in sis900_init_rx_ring()1169 ((i+1)%NUM_RX_DESC)*sizeof(BufferDesc); in sis900_init_rx_ring()1175 for (i = 0; i < NUM_RX_DESC; i++) { in sis900_init_rx_ring()1196 sis_priv->dirty_rx = (unsigned int) (i - NUM_RX_DESC); in sis900_init_rx_ring()1730 unsigned int entry = sis_priv->cur_rx % NUM_RX_DESC; in sis900_rx()1738 rx_work_limit = sis_priv->dirty_rx + NUM_RX_DESC - sis_priv->cur_rx; in sis900_rx()1835 entry = sis_priv->cur_rx % NUM_RX_DESC; in sis900_rx()1844 entry = sis_priv->dirty_rx % NUM_RX_DESC; in sis900_rx()1975 for (i = 0; i < NUM_RX_DESC; i++) { in sis900_close()
753 #define NUM_RX_DESC 8 /* Number of RX descriptors */ macro793 struct sk_buff *rx_skb[NUM_RX_DESC]; /* RX skb's */1168 lp->dma_size = (NUM_RX_DESC + NUM_TX_DESC) * sizeof(struct de4x5_desc); in de4x5_hw_init()1170 lp->dma_size += RX_BUFF_SZ * NUM_RX_DESC + DE4X5_ALIGN; in de4x5_hw_init()1178 lp->tx_ring = lp->rx_ring + NUM_RX_DESC; in de4x5_hw_init()1185 for (i=0; i<NUM_RX_DESC; i++) { in de4x5_hw_init()1197 dma_rx_bufs = lp->dma_rings + (NUM_RX_DESC + NUM_TX_DESC) in de4x5_hw_init()1200 lp->rx_bufs = (char *)(((long)(lp->rx_ring + NUM_RX_DESC in de4x5_hw_init()1202 for (i=0; i<NUM_RX_DESC; i++) { in de4x5_hw_init()1216 lp->rxRingSize = NUM_RX_DESC; in de4x5_hw_init()[all …]
76 #define NUM_RX_DESC 256U /* Number of Rx descriptor registers */ macro78 #define R8169_RX_RING_BYTES (NUM_RX_DESC * sizeof(struct RxDesc))663 void *Rx_databuff[NUM_RX_DESC]; /* Rx data buffers */5790 for (i = 0; i < NUM_RX_DESC; i++) { in rtl8169_rx_clear()5807 for (i = 0; i < NUM_RX_DESC; i++) { in rtl8169_rx_fill()5818 rtl8169_mark_as_last_descriptor(tp->RxDescArray + NUM_RX_DESC - 1); in rtl8169_rx_fill()5889 for (i = 0; i < NUM_RX_DESC; i++) in rtl_reset_work()6378 for (rx_left = min(budget, NUM_RX_DESC); rx_left > 0; rx_left--, cur_rx++) { in rtl_rx()6379 unsigned int entry = cur_rx % NUM_RX_DESC; in rtl_rx()