Searched refs:__oa_regs (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_oa.c | 172 static const struct xe_oa_regs *__oa_regs(struct xe_oa_stream *stream) in __oa_regs() function 179 return xe_mmio_read32(stream->gt, __oa_regs(stream)->oa_tail_ptr) & in xe_oa_hw_tail_read() 366 struct xe_reg oaheadptr = __oa_regs(stream)->oa_head_ptr; in xe_oa_append_reports() 386 xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_status, 0); in xe_oa_init_oa_buffer() 387 xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_head_ptr, in xe_oa_init_oa_buffer() 394 xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_buffer, oa_buf); in xe_oa_init_oa_buffer() 395 xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_tail_ptr, in xe_oa_init_oa_buffer() 439 regs = __oa_regs(stream); in xe_oa_enable() 452 xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_ctrl, 0); in xe_oa_disable() 453 if (xe_mmio_wait32(stream->gt, __oa_regs(stream)->oa_ctrl, in xe_oa_disable() [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/ |
D | i915_perf.c | 431 struct i915_perf_regs *__oa_regs(struct i915_perf_stream *stream) in __oa_regs() function 440 return intel_uncore_read(uncore, __oa_regs(stream)->oa_tail_ptr) & in gen12_oa_hw_tail_read() 904 __oa_regs(stream)->oa_head_ptr : in gen8_append_oa_reports() 957 __oa_regs(stream)->oa_status : in gen8_oa_read() 1802 intel_uncore_write(uncore, __oa_regs(stream)->oa_status, 0); in gen12_init_oa_buffer() 1803 intel_uncore_write(uncore, __oa_regs(stream)->oa_head_ptr, in gen12_init_oa_buffer() 1815 intel_uncore_write(uncore, __oa_regs(stream)->oa_buffer, gtt_offset | in gen12_init_oa_buffer() 1817 intel_uncore_write(uncore, __oa_regs(stream)->oa_tail_ptr, in gen12_init_oa_buffer() 2874 intel_uncore_write(uncore, __oa_regs(stream)->oa_debug, in gen12_enable_metric_set() 2884 intel_uncore_write(uncore, __oa_regs(stream)->oa_ctx_ctrl, periodic ? in gen12_enable_metric_set() [all …]
|