Searched refs:gmch_ctrl (Results 1 – 6 of 6) sorted by relevance
348 u16 gmch_ctrl; in intel_gtt_stolen_size() local358 I830_GMCH_CTRL, &gmch_ctrl); in intel_gtt_stolen_size()362 switch (gmch_ctrl & I830_GMCH_GMS_MASK) { in intel_gtt_stolen_size()383 switch (gmch_ctrl & I855_GMCH_GMS_MASK) { in intel_gtt_stolen_size()541 u16 gmch_ctrl; in intel_gtt_mappable_entries() local544 I830_GMCH_CTRL, &gmch_ctrl); in intel_gtt_mappable_entries()546 if ((gmch_ctrl & I830_GMCH_MEM_MASK) == I830_GMCH_MEM_64M) in intel_gtt_mappable_entries()750 u16 gmch_ctrl; in intel_enable_gtt() local753 I830_GMCH_CTRL, &gmch_ctrl); in intel_enable_gtt()754 gmch_ctrl |= I830_GMCH_ENABLED; in intel_enable_gtt()[all …]
1820 static inline unsigned int chv_get_total_gtt_size(u16 gmch_ctrl) in chv_get_total_gtt_size() argument1822 gmch_ctrl >>= SNB_GMCH_GGMS_SHIFT; in chv_get_total_gtt_size()1823 gmch_ctrl &= SNB_GMCH_GGMS_MASK; in chv_get_total_gtt_size()1825 if (gmch_ctrl) in chv_get_total_gtt_size()1826 return 1 << (20 + gmch_ctrl); in chv_get_total_gtt_size()1845 static size_t chv_get_stolen_size(u16 gmch_ctrl) in chv_get_stolen_size() argument1847 gmch_ctrl >>= SNB_GMCH_GMS_SHIFT; in chv_get_stolen_size()1848 gmch_ctrl &= SNB_GMCH_GMS_MASK; in chv_get_stolen_size()1855 if (gmch_ctrl < 0x11) in chv_get_stolen_size()1856 return gmch_ctrl << 25; in chv_get_stolen_size()[all …]
13595 u16 gmch_ctrl; in intel_modeset_vga_set_state() local13597 if (pci_read_config_word(dev_priv->bridge_dev, reg, &gmch_ctrl)) { in intel_modeset_vga_set_state()13602 if (!!(gmch_ctrl & INTEL_GMCH_VGA_DISABLE) == !state) in intel_modeset_vga_set_state()13606 gmch_ctrl &= ~INTEL_GMCH_VGA_DISABLE; in intel_modeset_vga_set_state()13608 gmch_ctrl |= INTEL_GMCH_VGA_DISABLE; in intel_modeset_vga_set_state()13610 if (pci_write_config_word(dev_priv->bridge_dev, reg, gmch_ctrl)) { in intel_modeset_vga_set_state()
406 dev_priv->gmch_ctrl); in psb_gtt_takedown()434 pci_read_config_word(dev->pdev, PSB_GMCH_CTRL, &dev_priv->gmch_ctrl); in psb_gtt_init()436 dev_priv->gmch_ctrl | _PSB_GMCH_ENABLED); in psb_gtt_init()
112 dev_priv->gmch_ctrl | _PSB_GMCH_ENABLED); in gma_resume_display()
460 u16 gmch_ctrl; /* Saved GTT setup */ member