Lines Matching full:domains
34 struct xe_force_wake_domain *domain = &fw->domains[id]; in init_domain()
159 for_each_if((domain__ = ((fw__)->domains + \
166 * @domains: forcewake domains to get refcount on
168 * This function wakes up @domains if they are asleep and takes references.
170 * domains will be considered for refcount and it is a caller responsibility
175 * Return: opaque reference to woken domains or zero if none of requested
176 * domains were awake.
179 enum xe_force_wake_domains domains) in xe_force_wake_get() argument
187 xe_gt_assert(gt, is_power_of_2(domains)); in xe_force_wake_get()
188 xe_gt_assert(gt, domains <= XE_FORCEWAKE_ALL); in xe_force_wake_get()
189 xe_gt_assert(gt, domains == XE_FORCEWAKE_ALL || fw->initialized_domains & domains); in xe_force_wake_get()
191 ref_rqst = (domains == XE_FORCEWAKE_ALL) ? fw->initialized_domains : domains; in xe_force_wake_get()
214 if (domains == XE_FORCEWAKE_ALL && ref_incr == fw->initialized_domains) in xe_force_wake_get()
225 * This function reduces the reference counts for domains in fw_ref. If
240 * in error path of individual domains. in xe_force_wake_put()