Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/natsemi/
H A Dns83820.c128 #define NR_RX_DESC 64 macro
401 struct sk_buff *skbs[NR_RX_DESC];
499 #define nr_rx_empty(dev) ((NR_RX_DESC-2 + dev->rx_info.next_rx - dev->rx_info.next_empty) % NR_RX_D…
527 dev->rx_info.next_empty = (next_empty + 1) % NR_RX_DESC; in ns83820_add_rx_skb()
534 …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()
551 for (i=0; i<NR_RX_DESC; i++) { in rx_refill()
720 for (i=0; i<NR_RX_DESC; i++) in ns83820_setup_rx()
789 for (i=0; i<NR_RX_DESC; i++) { in ns83820_cleanup_rx()
807 if (dev->rx_info.up && nr_rx_empty(dev) > NR_RX_DESC*3/4) in ns83820_rx_kick()
858 info->next_rx = (next_rx + 1) % NR_RX_DESC;
[all …]