Searched refs:hw_tail (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/gpu/drm/xe/ |
H A D | xe_oa.c | 246 u32 tail, hw_tail, partial_report_size, available; in xe_oa_buffer_check_unlocked() local 252 hw_tail = xe_oa_hw_tail_read(stream); in xe_oa_buffer_check_unlocked() 253 hw_tail -= gtt_offset; in xe_oa_buffer_check_unlocked() 260 partial_report_size = xe_oa_circ_diff(stream, hw_tail, stream->oa_buffer.tail); in xe_oa_buffer_check_unlocked() 264 hw_tail = xe_oa_circ_diff(stream, hw_tail, partial_report_size); in xe_oa_buffer_check_unlocked() 266 tail = hw_tail; in xe_oa_buffer_check_unlocked() 285 if (xe_oa_circ_diff(stream, hw_tail, tail) > report_size) in xe_oa_buffer_check_unlocked() 287 "unlanded report(s) head=0x%x tail=0x%x hw_tail=0x%x\n", in xe_oa_buffer_check_unlocked() 288 stream->oa_buffer.head, tail, hw_tail); in xe_oa_buffer_check_unlocked() [all...] |
/linux/drivers/gpu/drm/i915/ |
H A D | i915_perf.c | 546 u32 tail, hw_tail; in oa_buffer_check_unlocked() local 558 hw_tail = stream->perf->ops.oa_hw_tail_read(stream); in oa_buffer_check_unlocked() 559 hw_tail -= gtt_offset; in oa_buffer_check_unlocked() 566 partial_report_size = OA_TAKEN(hw_tail, stream->oa_buffer.tail); in oa_buffer_check_unlocked() 570 hw_tail = OA_TAKEN(hw_tail, partial_report_size); in oa_buffer_check_unlocked() 572 tail = hw_tail; in oa_buffer_check_unlocked() 596 if (OA_TAKEN(hw_tail, tail) > report_size && in oa_buffer_check_unlocked() 599 "unlanded report(s) head=0x%x tail=0x%x hw_tail=0x%x\n", in oa_buffer_check_unlocked() 600 stream->oa_buffer.head, tail, hw_tail); in oa_buffer_check_unlocked() [all...] |
/linux/drivers/net/wireless/intel/ipw2x00/ |
H A D | ipw2200.c | 4963 u32 hw_tail; in ipw_queue_tx_reclaim() local 4967 hw_tail = ipw_read32(priv, q->reg_r); in ipw_queue_tx_reclaim() 4968 if (hw_tail >= q->n_bd) { in ipw_queue_tx_reclaim() 4971 hw_tail, q->n_bd); in ipw_queue_tx_reclaim() 4974 for (; q->last_used != hw_tail; in ipw_queue_tx_reclaim()
|