Home
last modified time | relevance | path

Searched refs:NR_RX_DESC (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/drivers/net/
Dns83820.c140 #define NR_RX_DESC 64 macro
429 struct sk_buff *skbs[NR_RX_DESC];
507 #define nr_rx_empty(dev) ((NR_RX_DESC-2 + dev->rx_info.next_rx - dev->rx_info.next_empty) % NR_RX_D…
536 dev->rx_info.next_empty = (next_empty + 1) % NR_RX_DESC; in ns83820_add_rx_skb()
543 …dev->rx_info.descs[((NR_RX_DESC + next_empty - 1) % NR_RX_DESC) * DESC_SIZE] = cpu_to_le32(dev->rx… in ns83820_add_rx_skb()
559 for (i=0; i<NR_RX_DESC; i++) { in rx_refill()
717 for (i=0; i<NR_RX_DESC; i++) in ns83820_setup_rx()
786 for (i=0; i<NR_RX_DESC; i++) { in ns83820_cleanup_rx()
805 if (dev->rx_info.up && nr_rx_empty(dev) > NR_RX_DESC*3/4) in ns83820_rx_kick()
854 info->next_rx = (next_rx + 1) % NR_RX_DESC; in rx_irq()
[all …]