Searched refs:snpcr (Results 1 – 2 of 2) sorted by relevance
4032 u32 snpcr; in i915_cache_sharing_get() local4043 snpcr = I915_READ(GEN6_MBCUNIT_SNPCR); in i915_cache_sharing_get()4048 *val = (snpcr & GEN6_MBC_SNPCR_MASK) >> GEN6_MBC_SNPCR_SHIFT; in i915_cache_sharing_get()4058 u32 snpcr; in i915_cache_sharing_set() local4070 snpcr = I915_READ(GEN6_MBCUNIT_SNPCR); in i915_cache_sharing_set()4071 snpcr &= ~GEN6_MBC_SNPCR_MASK; in i915_cache_sharing_set()4072 snpcr |= (val << GEN6_MBC_SNPCR_SHIFT); in i915_cache_sharing_set()4073 I915_WRITE(GEN6_MBCUNIT_SNPCR, snpcr); in i915_cache_sharing_set()
5713 uint32_t snpcr; in ivybridge_init_clock_gating() local5797 snpcr = I915_READ(GEN6_MBCUNIT_SNPCR); in ivybridge_init_clock_gating()5798 snpcr &= ~GEN6_MBC_SNPCR_MASK; in ivybridge_init_clock_gating()5799 snpcr |= GEN6_MBC_SNPCR_MED; in ivybridge_init_clock_gating()5800 I915_WRITE(GEN6_MBCUNIT_SNPCR, snpcr); in ivybridge_init_clock_gating()