Lines Matching defs:wm_lp
2192 uint32_t wm_lp[3];
2441 int level, max_level, wm_lp;
2460 for (wm_lp = 1; wm_lp <= 3; wm_lp++) {
2463 level = (max_level == 4 && wm_lp > 1) ? wm_lp + 1 : wm_lp;
2468 results->wm_lp[wm_lp - 1] = HSW_WM_LP_VAL(level * 2,
2472 results->wm_lp_spr[wm_lp - 1] = r->spr_val;
2494 if (r1->wm_lp[i] & WM3_LP_EN)
2495 val_r1 = r1->wm_lp[i] & WM1_LP_LATENCY_MASK;
2496 if (r2->wm_lp[i] & WM3_LP_EN)
2497 val_r2 = r2->wm_lp[i] & WM1_LP_LATENCY_MASK;
2528 previous.wm_lp[0] = I915_READ(WM1_LP_ILK);
2529 previous.wm_lp[1] = I915_READ(WM2_LP_ILK);
2530 previous.wm_lp[2] = I915_READ(WM3_LP_ILK);
2545 memcmp(results->wm_lp, previous.wm_lp,
2546 sizeof(results->wm_lp)) == 0 &&
2555 if (previous.wm_lp[2] != 0)
2557 if (previous.wm_lp[1] != 0)
2559 if (previous.wm_lp[0] != 0)
2601 if (results->wm_lp[0] != 0)
2602 I915_WRITE(WM1_LP_ILK, results->wm_lp[0]);
2603 if (results->wm_lp[1] != 0)
2604 I915_WRITE(WM2_LP_ILK, results->wm_lp[1]);
2605 if (results->wm_lp[2] != 0)
2606 I915_WRITE(WM3_LP_ILK, results->wm_lp[2]);