Searched refs:next_empty (Results 1 – 1 of 1) sorted by relevance
417 u16 next_rx, next_empty; member484 if (dev->rx_info.next_rx == dev->rx_info.next_empty) in kick_rx()533 #define nr_rx_empty(dev) ((NR_RX_DESC-2 + dev->rx_info.next_rx - dev->rx_info.next_empty) % NR_RX_D…536 unsigned next_empty; in ns83820_add_rx_skb() local541 next_empty = dev->rx_info.next_empty; in ns83820_add_rx_skb()551 dev->rx_info.next_empty, in ns83820_add_rx_skb()557 sg = dev->rx_info.descs + (next_empty * DESC_SIZE); in ns83820_add_rx_skb()558 BUG_ON(NULL != dev->rx_info.skbs[next_empty]); in ns83820_add_rx_skb()559 dev->rx_info.skbs[next_empty] = skb; in ns83820_add_rx_skb()561 dev->rx_info.next_empty = (next_empty + 1) % NR_RX_DESC; in ns83820_add_rx_skb()[all …]