Lines Matching refs:wrap_cnt
2856 u32 write_ptr_addr, wrap_cnt_addr, write_ptr, wrap_cnt; in iwl_dbgfs_monitor_data_read() local
2881 wrap_cnt = iwl_read_prph(trans, wrap_cnt_addr); in iwl_dbgfs_monitor_data_read()
2883 if (data->prev_wrap_cnt == wrap_cnt) { in iwl_dbgfs_monitor_data_read()
2891 } else if (data->prev_wrap_cnt == wrap_cnt - 1 && in iwl_dbgfs_monitor_data_read()
2909 if (data->prev_wrap_cnt == wrap_cnt - 1 && in iwl_dbgfs_monitor_data_read()
2923 data->prev_wrap_cnt = wrap_cnt; in iwl_dbgfs_monitor_data_read()
3110 u32 base, base_high, write_ptr, write_ptr_val, wrap_cnt; in iwl_trans_pcie_dump_pointers() local
3116 wrap_cnt = DBGC_DBGBUF_WRAP_AROUND; in iwl_trans_pcie_dump_pointers()
3119 wrap_cnt = le32_to_cpu(trans->dbg.dest_tlv->wrap_count); in iwl_trans_pcie_dump_pointers()
3124 wrap_cnt = MON_BUFF_CYCLE_CNT; in iwl_trans_pcie_dump_pointers()
3129 cpu_to_le32(iwl_read_prph(trans, wrap_cnt)); in iwl_trans_pcie_dump_pointers()