Searched refs:oa_buffer (Results 1 – 2 of 2) sorted by relevance
464 u32 gtt_offset = i915_ggtt_offset(stream->oa_buffer.vma); in oa_buffer_check_unlocked()465 int report_size = stream->oa_buffer.format_size; in oa_buffer_check_unlocked()475 spin_lock_irqsave(&stream->oa_buffer.ptr_lock, flags); in oa_buffer_check_unlocked()486 if (hw_tail == stream->oa_buffer.aging_tail && in oa_buffer_check_unlocked()487 (now - stream->oa_buffer.aging_timestamp) > OA_TAIL_MARGIN_NSEC) { in oa_buffer_check_unlocked()492 stream->oa_buffer.tail = stream->oa_buffer.aging_tail; in oa_buffer_check_unlocked()500 head = stream->oa_buffer.head - gtt_offset; in oa_buffer_check_unlocked()501 aged_tail = stream->oa_buffer.tail - gtt_offset; in oa_buffer_check_unlocked()518 u32 *report32 = (void *)(stream->oa_buffer.vaddr + tail); in oa_buffer_check_unlocked()532 stream->oa_buffer.tail = gtt_offset + tail; in oa_buffer_check_unlocked()[all …]
302 } oa_buffer; member