Searched refs:gmch_ctrl (Results 1 – 2 of 2) sorted by relevance
181 u16 gmch_ctrl; in intel_gmch_vga_set_state() local183 if (pci_read_config_word(i915->gmch.pdev, reg, &gmch_ctrl)) { in intel_gmch_vga_set_state()188 if (!!(gmch_ctrl & INTEL_GMCH_VGA_DISABLE) == !enable_decode) in intel_gmch_vga_set_state()192 gmch_ctrl &= ~INTEL_GMCH_VGA_DISABLE; in intel_gmch_vga_set_state()194 gmch_ctrl |= INTEL_GMCH_VGA_DISABLE; in intel_gmch_vga_set_state()196 if (pci_write_config_word(i915->gmch.pdev, reg, gmch_ctrl)) { in intel_gmch_vga_set_state()
1144 static unsigned int chv_get_total_gtt_size(u16 gmch_ctrl) in chv_get_total_gtt_size() argument1146 gmch_ctrl >>= SNB_GMCH_GGMS_SHIFT; in chv_get_total_gtt_size()1147 gmch_ctrl &= SNB_GMCH_GGMS_MASK; in chv_get_total_gtt_size()1149 if (gmch_ctrl) in chv_get_total_gtt_size()1150 return 1 << (20 + gmch_ctrl); in chv_get_total_gtt_size()