Lines Matching refs:next_entry
380 u32 next_entry; /* index of next entry to be written by uCode */ in iwl_continuous_event_trace() local
389 next_entry = read.write_counter; in iwl_continuous_event_trace()
398 if (unlikely(next_entry == capacity)) in iwl_continuous_event_trace()
399 next_entry = 0; in iwl_continuous_event_trace()
408 if (unlikely(next_entry < priv->event_log.next_entry && in iwl_continuous_event_trace()
414 priv, base, priv->event_log.next_entry, in iwl_continuous_event_trace()
415 next_entry - priv->event_log.next_entry, in iwl_continuous_event_trace()
427 next_entry, priv->event_log.next_entry); in iwl_continuous_event_trace()
429 if (next_entry < priv->event_log.next_entry) { in iwl_continuous_event_trace()
431 priv, base, priv->event_log.next_entry, in iwl_continuous_event_trace()
432 capacity - priv->event_log.next_entry, in iwl_continuous_event_trace()
436 priv, base, 0, next_entry, capacity, mode); in iwl_continuous_event_trace()
439 priv, base, next_entry, in iwl_continuous_event_trace()
440 capacity - next_entry, in iwl_continuous_event_trace()
444 priv, base, 0, next_entry, capacity, mode); in iwl_continuous_event_trace()
449 priv->event_log.next_entry = next_entry; in iwl_continuous_event_trace()