Lines Matching refs:next_entry
391 u32 next_entry; /* index of next entry to be written by uCode */ in iwl_continuous_event_trace() local
400 next_entry = read.write_counter; in iwl_continuous_event_trace()
409 if (unlikely(next_entry == capacity)) in iwl_continuous_event_trace()
410 next_entry = 0; in iwl_continuous_event_trace()
419 if (unlikely(next_entry < priv->event_log.next_entry && in iwl_continuous_event_trace()
425 priv, base, priv->event_log.next_entry, in iwl_continuous_event_trace()
426 next_entry - priv->event_log.next_entry, in iwl_continuous_event_trace()
438 next_entry, priv->event_log.next_entry); in iwl_continuous_event_trace()
440 if (next_entry < priv->event_log.next_entry) { in iwl_continuous_event_trace()
442 priv, base, priv->event_log.next_entry, in iwl_continuous_event_trace()
443 capacity - priv->event_log.next_entry, in iwl_continuous_event_trace()
447 priv, base, 0, next_entry, capacity, mode); in iwl_continuous_event_trace()
450 priv, base, next_entry, in iwl_continuous_event_trace()
451 capacity - next_entry, in iwl_continuous_event_trace()
455 priv, base, 0, next_entry, capacity, mode); in iwl_continuous_event_trace()
460 priv->event_log.next_entry = next_entry; in iwl_continuous_event_trace()
1675 u32 num_wraps, u32 next_entry, in iwl_print_last_event_logs() argument
1684 if (next_entry < size) { in iwl_print_last_event_logs()
1686 capacity - (size - next_entry), in iwl_print_last_event_logs()
1687 size - next_entry, mode, in iwl_print_last_event_logs()
1690 next_entry, mode, in iwl_print_last_event_logs()
1693 pos = iwl_print_event_log(priv, next_entry - size, in iwl_print_last_event_logs()
1696 if (next_entry < size) { in iwl_print_last_event_logs()
1697 pos = iwl_print_event_log(priv, 0, next_entry, in iwl_print_last_event_logs()
1700 pos = iwl_print_event_log(priv, next_entry - size, in iwl_print_last_event_logs()
1716 u32 next_entry; /* index of next entry to be written by uCode */ in iwl_dump_nic_event_log() local
1747 next_entry = iwl_trans_read_mem32(trans, base + (3 * sizeof(u32))); in iwl_dump_nic_event_log()
1755 if (next_entry > logsize) { in iwl_dump_nic_event_log()
1757 next_entry, logsize); in iwl_dump_nic_event_log()
1758 next_entry = logsize; in iwl_dump_nic_event_log()
1761 size = num_wraps ? capacity : next_entry; in iwl_dump_nic_event_log()
1792 pos = iwl_print_event_log(priv, next_entry, in iwl_dump_nic_event_log()
1793 capacity - next_entry, mode, in iwl_dump_nic_event_log()
1797 next_entry, mode, pos, buf, bufsz); in iwl_dump_nic_event_log()
1800 next_entry, size, mode, in iwl_dump_nic_event_log()
1804 next_entry, size, mode, in iwl_dump_nic_event_log()