Lines Matching refs:n_entry
369 int rx_entry, n_entry, len; in ioc3_rx() local
377 n_entry = ip->rx_pi; in ioc3_rx()
429 ip->rx_skbs[n_entry] = new_skb; in ioc3_rx()
430 rxr[n_entry] = cpu_to_be64(ioc3_map(d, PCI64_ATTR_BAR)); in ioc3_rx()
432 n_entry = (n_entry + 1) & RX_RING_MASK; /* Update erpir */ in ioc3_rx()
440 writel((n_entry << 3) | ERPIR_ARM, &ip->regs->erpir); in ioc3_rx()
441 ip->rx_pi = n_entry; in ioc3_rx()
650 int rx_entry, n_entry; in ioc3_free_rx_bufs() local
653 n_entry = ip->rx_ci; in ioc3_free_rx_bufs()
656 while (n_entry != rx_entry) { in ioc3_free_rx_bufs()
657 skb = ip->rx_skbs[n_entry]; in ioc3_free_rx_bufs()
660 be64_to_cpu(ip->rxr[n_entry]), in ioc3_free_rx_bufs()
664 n_entry = (n_entry + 1) & RX_RING_MASK; in ioc3_free_rx_bufs()