Home
last modified time | relevance | path

Searched refs:hw_tail (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_oa.c247 u32 tail, hw_tail, partial_report_size, available; in xe_oa_buffer_check_unlocked() local
253 hw_tail = xe_oa_hw_tail_read(stream); in xe_oa_buffer_check_unlocked()
254 hw_tail -= gtt_offset; in xe_oa_buffer_check_unlocked()
261 partial_report_size = xe_oa_circ_diff(stream, hw_tail, stream->oa_buffer.tail); in xe_oa_buffer_check_unlocked()
265 hw_tail = xe_oa_circ_diff(stream, hw_tail, partial_report_size); in xe_oa_buffer_check_unlocked()
267 tail = hw_tail; in xe_oa_buffer_check_unlocked()
286 if (xe_oa_circ_diff(stream, hw_tail, tail) > report_size) in xe_oa_buffer_check_unlocked()
289 stream->oa_buffer.head, tail, hw_tail); in xe_oa_buffer_check_unlocked()
/linux/drivers/gpu/drm/i915/
H A Di915_perf.c547 u32 tail, hw_tail; in oa_buffer_check_unlocked() local
559 hw_tail = stream->perf->ops.oa_hw_tail_read(stream); in oa_buffer_check_unlocked()
560 hw_tail -= gtt_offset; in oa_buffer_check_unlocked()
567 partial_report_size = OA_TAKEN(hw_tail, stream->oa_buffer.tail); in oa_buffer_check_unlocked()
571 hw_tail = OA_TAKEN(hw_tail, partial_report_size); in oa_buffer_check_unlocked()
573 tail = hw_tail; in oa_buffer_check_unlocked()
597 if (OA_TAKEN(hw_tail, tail) > report_size && in oa_buffer_check_unlocked()
601 stream->oa_buffer.head, tail, hw_tail); in oa_buffer_check_unlocked()
/linux/drivers/net/wireless/intel/ipw2x00/
H A Dipw2200.c4962 u32 hw_tail; in ipw_queue_tx_reclaim() local
4966 hw_tail = ipw_read32(priv, q->reg_r); in ipw_queue_tx_reclaim()
4967 if (hw_tail >= q->n_bd) { in ipw_queue_tx_reclaim()
4970 hw_tail, q->n_bd); in ipw_queue_tx_reclaim()
4973 for (; q->last_used != hw_tail; in ipw_queue_tx_reclaim()