• Home
  • Raw
  • Download

Lines Matching refs:next_to_use

1133 	atomic_set(&tpd_ring->next_to_use, 0);  in atl1_init_ring_ptrs()
1137 atomic_set(&rfd_ring->next_to_use, 0); in atl1_init_ring_ptrs()
1139 rrd_ring->next_to_use = 0; in atl1_init_ring_ptrs()
1177 atomic_set(&rfd_ring->next_to_use, 0); in atl1_clean_rx_ring()
1179 rrd_ring->next_to_use = 0; in atl1_clean_rx_ring()
1219 atomic_set(&tpd_ring->next_to_use, 0); in atl1_clean_tx_ring()
1518 value = ((atomic_read(&adapter->tpd_ring.next_to_use) in atl1_configure()
1522 ((atomic_read(&adapter->rfd_ring.next_to_use) in atl1_configure()
1764 tpd_next_to_use = atomic_read(&adapter->tpd_ring.next_to_use); in atl1_update_mailbox()
1765 rfd_next_to_use = atomic_read(&adapter->rfd_ring.next_to_use); in atl1_update_mailbox()
1863 next_next = rfd_next_to_use = atomic_read(&rfd_ring->next_to_use); in atl1_alloc_rx_buffers()
1915 atomic_set(&rfd_ring->next_to_use, (int)rfd_next_to_use); in atl1_alloc_rx_buffers()
2054 tpd_next_to_use = atomic_read(&adapter->tpd_ring.next_to_use); in atl1_intr_rx()
2056 atomic_read(&adapter->rfd_ring.next_to_use); in atl1_intr_rx()
2113 u16 next_to_use = atomic_read(&tpd_ring->next_to_use); in atl1_tpd_avail() local
2114 return (next_to_clean > next_to_use) ? in atl1_tpd_avail()
2115 next_to_clean - next_to_use - 1 : in atl1_tpd_avail()
2116 tpd_ring->count + next_to_clean - next_to_use - 1; in atl1_tpd_avail()
2215 u16 next_to_use; in atl1_tx_map() local
2221 next_to_use = atomic_read(&tpd_ring->next_to_use); in atl1_tx_map()
2222 buffer_info = &tpd_ring->buffer_info[next_to_use]; in atl1_tx_map()
2238 if (++next_to_use == tpd_ring->count) in atl1_tx_map()
2239 next_to_use = 0; in atl1_tx_map()
2249 &tpd_ring->buffer_info[next_to_use]; in atl1_tx_map()
2263 if (++next_to_use == tpd_ring->count) in atl1_tx_map()
2264 next_to_use = 0; in atl1_tx_map()
2274 if (++next_to_use == tpd_ring->count) in atl1_tx_map()
2275 next_to_use = 0; in atl1_tx_map()
2288 buffer_info = &tpd_ring->buffer_info[next_to_use]; in atl1_tx_map()
2299 if (++next_to_use == tpd_ring->count) in atl1_tx_map()
2300 next_to_use = 0; in atl1_tx_map()
2316 u16 next_to_use = (u16) atomic_read(&tpd_ring->next_to_use); in atl1_tx_queue() local
2319 buffer_info = &tpd_ring->buffer_info[next_to_use]; in atl1_tx_queue()
2320 tpd = ATL1_TPD_DESC(&adapter->tpd_ring, next_to_use); in atl1_tx_queue()
2344 if (++next_to_use == tpd_ring->count) in atl1_tx_queue()
2345 next_to_use = 0; in atl1_tx_queue()
2355 atomic_set(&tpd_ring->next_to_use, next_to_use); in atl1_tx_queue()
2415 (u16) atomic_read(&tpd_ring->next_to_use)); in atl1_xmit_frame()