Lines Matching refs:next_entry
457 u32 next_entry; /* index of next entry to be written by uCode */ in iwl_continuous_event_trace() local
466 next_entry = read.write_counter; in iwl_continuous_event_trace()
475 if (unlikely(next_entry == capacity)) in iwl_continuous_event_trace()
476 next_entry = 0; in iwl_continuous_event_trace()
485 if (unlikely(next_entry < priv->event_log.next_entry && in iwl_continuous_event_trace()
491 priv, base, priv->event_log.next_entry, in iwl_continuous_event_trace()
492 next_entry - priv->event_log.next_entry, in iwl_continuous_event_trace()
504 next_entry, priv->event_log.next_entry); in iwl_continuous_event_trace()
506 if (next_entry < priv->event_log.next_entry) { in iwl_continuous_event_trace()
508 priv, base, priv->event_log.next_entry, in iwl_continuous_event_trace()
509 capacity - priv->event_log.next_entry, in iwl_continuous_event_trace()
513 priv, base, 0, next_entry, capacity, mode); in iwl_continuous_event_trace()
516 priv, base, next_entry, in iwl_continuous_event_trace()
517 capacity - next_entry, in iwl_continuous_event_trace()
521 priv, base, 0, next_entry, capacity, mode); in iwl_continuous_event_trace()
526 priv->event_log.next_entry = next_entry; in iwl_continuous_event_trace()
1759 u32 num_wraps, u32 next_entry, in iwl_print_last_event_logs() argument
1768 if (next_entry < size) { in iwl_print_last_event_logs()
1770 capacity - (size - next_entry), in iwl_print_last_event_logs()
1771 size - next_entry, mode, in iwl_print_last_event_logs()
1774 next_entry, mode, in iwl_print_last_event_logs()
1777 pos = iwl_print_event_log(priv, next_entry - size, in iwl_print_last_event_logs()
1780 if (next_entry < size) { in iwl_print_last_event_logs()
1781 pos = iwl_print_event_log(priv, 0, next_entry, in iwl_print_last_event_logs()
1784 pos = iwl_print_event_log(priv, next_entry - size, in iwl_print_last_event_logs()
1800 u32 next_entry; /* index of next entry to be written by uCode */ in iwl_dump_nic_event_log() local
1831 next_entry = iwl_trans_read_mem32(trans, base + (3 * sizeof(u32))); in iwl_dump_nic_event_log()
1839 if (next_entry > logsize) { in iwl_dump_nic_event_log()
1841 next_entry, logsize); in iwl_dump_nic_event_log()
1842 next_entry = logsize; in iwl_dump_nic_event_log()
1845 size = num_wraps ? capacity : next_entry; in iwl_dump_nic_event_log()
1876 pos = iwl_print_event_log(priv, next_entry, in iwl_dump_nic_event_log()
1877 capacity - next_entry, mode, in iwl_dump_nic_event_log()
1881 next_entry, mode, pos, buf, bufsz); in iwl_dump_nic_event_log()
1884 next_entry, size, mode, in iwl_dump_nic_event_log()
1888 next_entry, size, mode, in iwl_dump_nic_event_log()