Lines Matching refs:rxs
544 struct rx *rxs ____cacheline_aligned;
1904 if (!nic->rxs) return; in e100_start_receiver()
1908 if (!rx) rx = nic->rxs; in e100_start_receiver()
2136 if (nic->rxs) { in e100_rx_clean_list()
2137 for (rx = nic->rxs, i = 0; i < count; rx++, i++) { in e100_rx_clean_list()
2145 kfree(nic->rxs); in e100_rx_clean_list()
2146 nic->rxs = NULL; in e100_rx_clean_list()
2161 if (!(nic->rxs = kcalloc(count, sizeof(struct rx), GFP_KERNEL))) in e100_rx_alloc_list()
2164 for (rx = nic->rxs, i = 0; i < count; rx++, i++) { in e100_rx_alloc_list()
2165 rx->next = (i + 1 < count) ? rx + 1 : nic->rxs; in e100_rx_alloc_list()
2166 rx->prev = (i == 0) ? nic->rxs + count - 1 : rx - 1; in e100_rx_alloc_list()
2179 rx = nic->rxs->prev->prev; in e100_rx_alloc_list()
2186 nic->rx_to_use = nic->rx_to_clean = nic->rxs; in e100_rx_alloc_list()