Searched refs:fw_domains (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_uncore.c127 fw_domains_get(struct drm_i915_private *dev_priv, enum forcewake_domains fw_domains) fw_domains_get() argument
132 for_each_fw_domain_mask(d, fw_domains, dev_priv, id) { for_each_fw_domain_mask()
140 fw_domains_put(struct drm_i915_private *dev_priv, enum forcewake_domains fw_domains) fw_domains_put() argument
145 for_each_fw_domain_mask(d, fw_domains, dev_priv, id) { for_each_fw_domain_mask()
165 fw_domains_reset(struct drm_i915_private *dev_priv, enum forcewake_domains fw_domains) fw_domains_reset() argument
170 if (dev_priv->uncore.fw_domains == 0) fw_domains_reset()
173 for_each_fw_domain_mask(d, fw_domains, dev_priv, id) fw_domains_reset()
190 enum forcewake_domains fw_domains) fw_domains_get_with_thread_status()
192 fw_domains_get(dev_priv, fw_domains); fw_domains_get_with_thread_status()
208 enum forcewake_domains fw_domains) fw_domains_put_with_fifo()
210 fw_domains_put(dev_priv, fw_domains); fw_domains_put_with_fifo()
389 * @fw_domains: forcewake domains to get reference on
397 * to be kept awake so the @fw_domains would be then FORCEWAKE_ALL.
400 enum forcewake_domains fw_domains) intel_uncore_forcewake_get()
411 fw_domains &= dev_priv->uncore.fw_domains; intel_uncore_forcewake_get()
415 for_each_fw_domain_mask(domain, fw_domains, dev_priv, id) { for_each_fw_domain_mask()
417 fw_domains &= ~(1 << id); for_each_fw_domain_mask()
420 if (fw_domains)
421 dev_priv->uncore.funcs.force_wake_get(dev_priv, fw_domains);
429 * @fw_domains: forcewake domains to put references
435 enum forcewake_domains fw_domains) intel_uncore_forcewake_put()
444 fw_domains &= dev_priv->uncore.fw_domains; intel_uncore_forcewake_put()
448 for_each_fw_domain_mask(domain, fw_domains, dev_priv, id) { for_each_fw_domain_mask()
641 enum forcewake_domains fw_domains) __force_wake_get()
646 if (WARN_ON(!fw_domains)) __force_wake_get()
650 for_each_fw_domain_mask(domain, fw_domains, dev_priv, id) { for_each_fw_domain_mask()
652 fw_domains &= ~(1 << id); for_each_fw_domain_mask()
660 if (fw_domains)
661 dev_priv->uncore.funcs.force_wake_get(dev_priv, fw_domains);
1040 dev_priv->uncore.fw_domains |= (1 << domain_id); fw_domain_init()
1136 WARN_ON(dev_priv->uncore.fw_domains == 0); intel_uncore_fw_domains_init()
189 fw_domains_get_with_thread_status(struct drm_i915_private *dev_priv, enum forcewake_domains fw_domains) fw_domains_get_with_thread_status() argument
207 fw_domains_put_with_fifo(struct drm_i915_private *dev_priv, enum forcewake_domains fw_domains) fw_domains_put_with_fifo() argument
399 intel_uncore_forcewake_get(struct drm_i915_private *dev_priv, enum forcewake_domains fw_domains) intel_uncore_forcewake_get() argument
434 intel_uncore_forcewake_put(struct drm_i915_private *dev_priv, enum forcewake_domains fw_domains) intel_uncore_forcewake_put() argument
640 __force_wake_get(struct drm_i915_private *dev_priv, enum forcewake_domains fw_domains) __force_wake_get() argument
H A Di915_drv.h643 enum forcewake_domains fw_domains; member in struct:intel_uncore
664 if (((mask__) & (dev_priv__)->uncore.fw_domains) & (1 << (i__)))

Completed in 115 milliseconds