• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/atlx/

Lines Matching refs:next_to_use

1132 	atomic_set(&tpd_ring->next_to_use, 0);
1136 atomic_set(&rfd_ring->next_to_use, 0);
1138 rrd_ring->next_to_use = 0;
1176 atomic_set(&rfd_ring->next_to_use, 0);
1178 rrd_ring->next_to_use = 0;
1218 atomic_set(&tpd_ring->next_to_use, 0);
1518 value = ((atomic_read(&adapter->tpd_ring.next_to_use)
1522 ((atomic_read(&adapter->rfd_ring.next_to_use)
1757 tpd_next_to_use = atomic_read(&adapter->tpd_ring.next_to_use);
1758 rfd_next_to_use = atomic_read(&adapter->rfd_ring.next_to_use);
1856 next_next = rfd_next_to_use = atomic_read(&rfd_ring->next_to_use);
1908 atomic_set(&rfd_ring->next_to_use, (int)rfd_next_to_use);
2046 tpd_next_to_use = atomic_read(&adapter->tpd_ring.next_to_use);
2048 atomic_read(&adapter->rfd_ring.next_to_use);
2101 u16 next_to_use = atomic_read(&tpd_ring->next_to_use);
2102 return ((next_to_clean > next_to_use) ?
2103 next_to_clean - next_to_use - 1 :
2104 tpd_ring->count + next_to_clean - next_to_use - 1);
2204 u16 next_to_use;
2210 next_to_use = atomic_read(&tpd_ring->next_to_use);
2211 buffer_info = &tpd_ring->buffer_info[next_to_use];
2227 if (++next_to_use == tpd_ring->count)
2228 next_to_use = 0;
2238 &tpd_ring->buffer_info[next_to_use];
2252 if (++next_to_use == tpd_ring->count)
2253 next_to_use = 0;
2263 if (++next_to_use == tpd_ring->count)
2264 next_to_use = 0;
2277 buffer_info = &tpd_ring->buffer_info[next_to_use];
2289 if (++next_to_use == tpd_ring->count)
2290 next_to_use = 0;
2306 u16 next_to_use = (u16) atomic_read(&tpd_ring->next_to_use);
2309 buffer_info = &tpd_ring->buffer_info[next_to_use];
2310 tpd = ATL1_TPD_DESC(&adapter->tpd_ring, next_to_use);
2334 if (++next_to_use == tpd_ring->count)
2335 next_to_use = 0;
2345 atomic_set(&tpd_ring->next_to_use, next_to_use);
2407 (u16) atomic_read(&tpd_ring->next_to_use));