Searched refs:next_to_use (Results 1 – 3 of 3) sorted by relevance
118 unsigned int next_to_use; member137 unsigned int next_to_use; member154 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \155 (R)->next_to_clean - (R)->next_to_use - 1)
356 tx_ring->next_to_use = 0; in atl1e_init_ring_ptrs()908 u16 next_to_use = 0; in atl1e_tpd_avail() local912 next_to_use = tx_ring->next_to_use; in atl1e_tpd_avail()914 return (u16)(next_to_clean > next_to_use) ? in atl1e_tpd_avail()915 (next_to_clean - next_to_use - 1) : in atl1e_tpd_avail()916 (tx_ring->count + next_to_clean - next_to_use - 1); in atl1e_tpd_avail()927 u16 next_to_use = 0; in atl1e_get_tpd() local929 next_to_use = tx_ring->next_to_use; in atl1e_get_tpd()930 if (++tx_ring->next_to_use == tx_ring->count) in atl1e_get_tpd()931 tx_ring->next_to_use = 0; in atl1e_get_tpd()[all …]
201 u16 next_to_use; member