Lines Matching full:domains
34 struct xe_force_wake_domain *domain = &fw->domains[id]; in init_domain()
153 for_each_if((domain__ = ((fw__)->domains + \
160 * @domains: forcewake domains to get refcount on
162 * This function wakes up @domains if they are asleep and takes references.
164 * domains will be considered for refcount and it is a caller responsibility
169 * Return: opaque reference to woken domains or zero if none of requested
170 * domains were awake.
173 enum xe_force_wake_domains domains) in xe_force_wake_get() argument
181 xe_gt_assert(gt, is_power_of_2(domains)); in xe_force_wake_get()
182 xe_gt_assert(gt, domains <= XE_FORCEWAKE_ALL); in xe_force_wake_get()
183 xe_gt_assert(gt, domains == XE_FORCEWAKE_ALL || fw->initialized_domains & domains); in xe_force_wake_get()
185 ref_rqst = (domains == XE_FORCEWAKE_ALL) ? fw->initialized_domains : domains; in xe_force_wake_get()
208 if (domains == XE_FORCEWAKE_ALL && ref_incr == fw->initialized_domains) in xe_force_wake_get()
219 * This function reduces the reference counts for domains in fw_ref. If
234 * in error path of individual domains. in xe_force_wake_put()