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)
176 struct ixgbevf_ring *ring; /* pointer to linked list of rings */ member
185 for (pos = (head).ring; pos != NULL; pos = pos->next)
236 q_vector->tx.ring->stats.yields++; in ixgbevf_qv_lock_napi()
273 q_vector->rx.ring->stats.yields++; in ixgbevf_qv_lock_poll()
345 static inline u16 ixgbevf_desc_unused(struct ixgbevf_ring *ring) in ixgbevf_desc_unused() argument
347 u16 ntc = ring->next_to_clean; in ixgbevf_desc_unused()
348 u16 ntu = ring->next_to_use; in ixgbevf_desc_unused()
350 return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1; in ixgbevf_desc_unused()
353 static inline void ixgbevf_write_tail(struct ixgbevf_ring *ring, u32 value) in ixgbevf_write_tail() argument
355 writel(value, ring->tail); in ixgbevf_write_tail()