Lines Matching refs:ring
100 #define check_for_tx_hang(ring) \ argument
101 test_bit(__IXGBEVF_TX_DETECT_HANG, &(ring)->state)
102 #define set_check_for_tx_hang(ring) \ argument
103 set_bit(__IXGBEVF_TX_DETECT_HANG, &(ring)->state)
104 #define clear_check_for_tx_hang(ring) \ argument
105 clear_bit(__IXGBEVF_TX_DETECT_HANG, &(ring)->state)
178 struct ixgbevf_ring *ring; /* pointer to linked list of rings */ member
187 for (pos = (head).ring; pos != NULL; pos = pos->next)
238 q_vector->tx.ring->stats.yields++; in ixgbevf_qv_lock_napi()
275 q_vector->rx.ring->stats.yields++; in ixgbevf_qv_lock_poll()
347 static inline u16 ixgbevf_desc_unused(struct ixgbevf_ring *ring) in ixgbevf_desc_unused() argument
349 u16 ntc = ring->next_to_clean; in ixgbevf_desc_unused()
350 u16 ntu = ring->next_to_use; in ixgbevf_desc_unused()
352 return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1; in ixgbevf_desc_unused()
355 static inline void ixgbevf_write_tail(struct ixgbevf_ring *ring, u32 value) in ixgbevf_write_tail() argument
357 writel(value, ring->tail); in ixgbevf_write_tail()