Lines Matching refs:next_entry

458 	u32 next_entry; /* index of next entry to be written by uCode */  in iwl_continuous_event_trace()  local
467 next_entry = read.write_counter; in iwl_continuous_event_trace()
476 if (unlikely(next_entry == capacity)) in iwl_continuous_event_trace()
477 next_entry = 0; in iwl_continuous_event_trace()
486 if (unlikely(next_entry < priv->event_log.next_entry && in iwl_continuous_event_trace()
492 priv, base, priv->event_log.next_entry, in iwl_continuous_event_trace()
493 next_entry - priv->event_log.next_entry, in iwl_continuous_event_trace()
505 next_entry, priv->event_log.next_entry); in iwl_continuous_event_trace()
507 if (next_entry < priv->event_log.next_entry) { in iwl_continuous_event_trace()
509 priv, base, priv->event_log.next_entry, in iwl_continuous_event_trace()
510 capacity - priv->event_log.next_entry, in iwl_continuous_event_trace()
514 priv, base, 0, next_entry, capacity, mode); in iwl_continuous_event_trace()
517 priv, base, next_entry, in iwl_continuous_event_trace()
518 capacity - next_entry, in iwl_continuous_event_trace()
522 priv, base, 0, next_entry, capacity, mode); in iwl_continuous_event_trace()
527 priv->event_log.next_entry = next_entry; in iwl_continuous_event_trace()
1760 u32 num_wraps, u32 next_entry, in iwl_print_last_event_logs() argument
1769 if (next_entry < size) { in iwl_print_last_event_logs()
1771 capacity - (size - next_entry), in iwl_print_last_event_logs()
1772 size - next_entry, mode, in iwl_print_last_event_logs()
1775 next_entry, mode, in iwl_print_last_event_logs()
1778 pos = iwl_print_event_log(priv, next_entry - size, in iwl_print_last_event_logs()
1781 if (next_entry < size) { in iwl_print_last_event_logs()
1782 pos = iwl_print_event_log(priv, 0, next_entry, in iwl_print_last_event_logs()
1785 pos = iwl_print_event_log(priv, next_entry - size, in iwl_print_last_event_logs()
1801 u32 next_entry; /* index of next entry to be written by uCode */ in iwl_dump_nic_event_log() local
1832 next_entry = iwl_trans_read_mem32(trans, base + (3 * sizeof(u32))); in iwl_dump_nic_event_log()
1840 if (next_entry > logsize) { in iwl_dump_nic_event_log()
1842 next_entry, logsize); in iwl_dump_nic_event_log()
1843 next_entry = logsize; in iwl_dump_nic_event_log()
1846 size = num_wraps ? capacity : next_entry; in iwl_dump_nic_event_log()
1877 pos = iwl_print_event_log(priv, next_entry, in iwl_dump_nic_event_log()
1878 capacity - next_entry, mode, in iwl_dump_nic_event_log()
1882 next_entry, mode, pos, buf, bufsz); in iwl_dump_nic_event_log()
1885 next_entry, size, mode, in iwl_dump_nic_event_log()
1889 next_entry, size, mode, in iwl_dump_nic_event_log()