Searched refs:snpcr (Results 1 – 2 of 2) sorted by relevance
3685 u32 snpcr = 0; in i915_cache_sharing_get() local3691 snpcr = I915_READ(GEN6_MBCUNIT_SNPCR); in i915_cache_sharing_get()3693 *val = (snpcr & GEN6_MBC_SNPCR_MASK) >> GEN6_MBC_SNPCR_SHIFT; in i915_cache_sharing_get()3712 u32 snpcr; in i915_cache_sharing_set() local3715 snpcr = I915_READ(GEN6_MBCUNIT_SNPCR); in i915_cache_sharing_set()3716 snpcr &= ~GEN6_MBC_SNPCR_MASK; in i915_cache_sharing_set()3717 snpcr |= val << GEN6_MBC_SNPCR_SHIFT; in i915_cache_sharing_set()3718 I915_WRITE(GEN6_MBCUNIT_SNPCR, snpcr); in i915_cache_sharing_set()
9398 u32 snpcr; in ivb_init_clock_gating() local9480 snpcr = I915_READ(GEN6_MBCUNIT_SNPCR); in ivb_init_clock_gating()9481 snpcr &= ~GEN6_MBC_SNPCR_MASK; in ivb_init_clock_gating()9482 snpcr |= GEN6_MBC_SNPCR_MED; in ivb_init_clock_gating()9483 I915_WRITE(GEN6_MBCUNIT_SNPCR, snpcr); in ivb_init_clock_gating()