Lines Matching defs:uncore

443 	struct intel_uncore *uncore = stream->uncore;
445 return intel_uncore_read(uncore, __oa_regs(stream)->oa_tail_ptr) &
451 struct intel_uncore *uncore = stream->uncore;
453 return intel_uncore_read(uncore, GEN8_OATAILPTR) & GEN8_OATAILPTR_MASK;
458 struct intel_uncore *uncore = stream->uncore;
459 u32 oastatus1 = intel_uncore_read(uncore, GEN7_OASTATUS1);
609 drm_notice(&stream->uncore->i915->drm,
745 struct intel_uncore *uncore = stream->uncore;
755 if (drm_WARN_ON(&uncore->i915->drm, !stream->enabled))
778 if (drm_WARN_ONCE(&uncore->i915->drm,
937 intel_uncore_write(uncore, oaheadptr,
972 struct intel_uncore *uncore = stream->uncore;
977 if (drm_WARN_ON(&uncore->i915->drm, !stream->oa_buffer.vaddr))
984 oastatus = intel_uncore_read(uncore, oastatus_reg);
1017 oastatus = intel_uncore_read(uncore, oastatus_reg);
1026 intel_uncore_rmw(uncore, oastatus_reg,
1029 IS_GRAPHICS_VER(uncore->i915, 8, 11) ?
1063 struct intel_uncore *uncore = stream->uncore;
1073 if (drm_WARN_ON(&uncore->i915->drm, !stream->enabled))
1095 if (drm_WARN_ONCE(&uncore->i915->drm,
1117 if (drm_WARN_ON(&uncore->i915->drm,
1119 drm_err(&uncore->i915->drm,
1132 drm_notice(&uncore->i915->drm,
1156 intel_uncore_write(uncore, GEN7_OASTATUS2,
1188 struct intel_uncore *uncore = stream->uncore;
1192 if (drm_WARN_ON(&uncore->i915->drm, !stream->oa_buffer.vaddr))
1195 oastatus1 = intel_uncore_read(uncore, GEN7_OASTATUS1);
1237 oastatus1 = intel_uncore_read(uncore, GEN7_OASTATUS1);
1729 intel_uncore_forcewake_put(stream->uncore, FORCEWAKE_ALL);
1749 struct intel_uncore *uncore = stream->uncore;
1758 intel_uncore_write(uncore, GEN7_OASTATUS2, /* head */
1762 intel_uncore_write(uncore, GEN7_OABUFFER, gtt_offset);
1764 intel_uncore_write(uncore, GEN7_OASTATUS1, /* tail */
1794 struct intel_uncore *uncore = stream->uncore;
1800 intel_uncore_write(uncore, GEN8_OASTATUS, 0);
1801 intel_uncore_write(uncore, GEN8_OAHEADPTR, gtt_offset);
1804 intel_uncore_write(uncore, GEN8_OABUFFER_UDW, 0);
1814 intel_uncore_write(uncore, GEN8_OABUFFER, gtt_offset |
1816 intel_uncore_write(uncore, GEN8_OATAILPTR, gtt_offset & GEN8_OATAILPTR_MASK);
1847 struct intel_uncore *uncore = stream->uncore;
1853 intel_uncore_write(uncore, __oa_regs(stream)->oa_status, 0);
1854 intel_uncore_write(uncore, __oa_regs(stream)->oa_head_ptr,
1866 intel_uncore_write(uncore, __oa_regs(stream)->oa_buffer, gtt_offset |
1868 intel_uncore_write(uncore, __oa_regs(stream)->oa_tail_ptr,
2436 struct intel_uncore *uncore = stream->uncore;
2448 intel_uncore_rmw(uncore, GEN7_MISCCPCTL,
2450 intel_uncore_rmw(uncore, GEN6_UCGCTL1,
2460 struct intel_uncore *uncore = stream->uncore;
2462 intel_uncore_rmw(uncore, GEN6_UCGCTL1,
2464 intel_uncore_rmw(uncore, GEN7_MISCCPCTL,
2467 intel_uncore_rmw(uncore, GDT_CHICKEN_BITS, GT_NOA_ENABLE, 0);
2852 struct intel_uncore *uncore = stream->uncore;
2880 intel_uncore_write(uncore, GEN8_OA_DEBUG,
2911 struct intel_uncore *uncore = stream->uncore;
2923 intel_gt_mcr_multicast_write(uncore->gt, GEN8_ROW_CHICKEN,
2925 intel_uncore_write(uncore, GEN7_ROW_CHICKEN2,
2929 intel_uncore_write(uncore, __oa_regs(stream)->oa_debug,
2939 intel_uncore_write(uncore, __oa_regs(stream)->oa_ctx_ctrl, periodic ?
2953 intel_uncore_rmw(uncore, GEN12_SQCNT1, 0, sqcnt1);
2973 struct intel_uncore *uncore = stream->uncore;
2978 intel_uncore_rmw(uncore, GDT_CHICKEN_BITS, GT_NOA_ENABLE, 0);
2983 struct intel_uncore *uncore = stream->uncore;
2989 intel_uncore_rmw(uncore, RPM_CONFIG1, GEN10_GT_NOA_ENABLE, 0);
2994 struct intel_uncore *uncore = stream->uncore;
3003 intel_gt_mcr_multicast_write(uncore->gt, GEN8_ROW_CHICKEN,
3005 intel_uncore_write(uncore, GEN7_ROW_CHICKEN2,
3014 intel_uncore_rmw(uncore, RPM_CONFIG1, GEN10_GT_NOA_ENABLE, 0);
3020 intel_uncore_rmw(uncore, GEN12_SQCNT1, sqcnt1, 0);
3025 struct intel_uncore *uncore = stream->uncore;
3043 intel_uncore_write(uncore, GEN7_OACONTROL,
3055 struct intel_uncore *uncore = stream->uncore;
3074 intel_uncore_write(uncore, GEN8_OACONTROL,
3097 intel_uncore_write(stream->uncore, regs->oa_ctrl, val);
3127 struct intel_uncore *uncore = stream->uncore;
3129 intel_uncore_write(uncore, GEN7_OACONTROL, 0);
3130 if (intel_wait_for_register(uncore,
3139 struct intel_uncore *uncore = stream->uncore;
3141 intel_uncore_write(uncore, GEN8_OACONTROL, 0);
3142 if (intel_wait_for_register(uncore,
3151 struct intel_uncore *uncore = stream->uncore;
3153 intel_uncore_write(uncore, __oa_regs(stream)->oa_ctrl, 0);
3154 if (intel_wait_for_register(uncore,
3161 intel_uncore_write(uncore, GEN12_OA_TLB_INV_CR, 1);
3162 if (intel_wait_for_register(uncore,
3262 with_intel_runtime_pm(to_gt(i915)->uncore->rpm, wakeref)
3263 reg = intel_uncore_read(to_gt(i915)->uncore, RPM_CONFIG0);
3354 stream->uncore = stream->engine->gt->uncore;
3408 intel_uncore_forcewake_get(stream->uncore, FORCEWAKE_ALL);
3469 intel_uncore_forcewake_put(stream->uncore, FORCEWAKE_ALL);