Searched refs:NUM_RX_DESC (Results 1 – 4 of 4) sorted by relevance
324 #define NUM_RX_DESC 16 /* Number of Rx descriptor registers. */ macro326 #define RX_TOTAL_SIZE NUM_RX_DESC*sizeof(BufferDesc)
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()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()[all …]
184 struct sk_buff *rx_skbuff[NUM_RX_DESC];1175 for (i = 0; i < NUM_RX_DESC; i++) { in sis900_init_rx_ring()1179 ((i+1)%NUM_RX_DESC)*sizeof(BufferDesc); in sis900_init_rx_ring()1185 for (i = 0; i < NUM_RX_DESC; i++) { in sis900_init_rx_ring()1208 sis_priv->dirty_rx = (unsigned int) (i - NUM_RX_DESC); in sis900_init_rx_ring()1744 unsigned int entry = sis_priv->cur_rx % NUM_RX_DESC; in sis900_rx()1752 rx_work_limit = sis_priv->dirty_rx + NUM_RX_DESC - sis_priv->cur_rx; in sis900_rx()1850 entry = sis_priv->cur_rx % NUM_RX_DESC; in sis900_rx()1859 entry = sis_priv->dirty_rx % NUM_RX_DESC; in sis900_rx()1991 for (i = 0; i < NUM_RX_DESC; i++) { in sis900_close()
68 #define NUM_RX_DESC 256 /* Number of Rx descriptor registers */ macro70 #define R8169_RX_RING_BYTES (NUM_RX_DESC * sizeof(struct RxDesc))603 struct page *Rx_databuff[NUM_RX_DESC]; /* Rx data buffers */1869 data->rx_max_pending = NUM_RX_DESC; in rtl8169_get_ringparam()1870 data->rx_pending = NUM_RX_DESC; in rtl8169_get_ringparam()3796 for (i = 0; i < NUM_RX_DESC && tp->Rx_databuff[i]; i++) { in rtl8169_rx_clear()3811 for (i = 0; i < NUM_RX_DESC; i++) { in rtl8169_rx_fill()3823 tp->RxDescArray[NUM_RX_DESC - 1].opts1 |= cpu_to_le32(RingEnd); in rtl8169_rx_fill()3920 for (i = 0; i < NUM_RX_DESC; i++) in rtl_reset_work()4409 unsigned int pkt_size, entry = tp->cur_rx % NUM_RX_DESC; in rtl_rx()